1

I've the following two errors on my puppetmaster when i try to run the manifests on the masternode:

change from absent to latest failed: Execution of '/usr/bin/keytool -importcert 
-noprompt -alias puppetca -file /etc/puppetlabs/puppet/ssl/certs/ca.pem 
-keystore /etc/puppetlabs/activemq/broker.ts -trustcacerts' returned 1: 
Error occurred during initialization of VM Could not reserve enough space for 
object heap Could not create the Java virtual machine.

and...

change from absent to latest failed: Execution of '/usr/bin/keytool 
-importkeystore -srcstoretype PKCS12 -destkeystore 
 /etc/puppetlabs/activemq/broker.ks -srckeystore 
 /tmp/domain.com.20130221-957-17scina-0 -alias domain.com' returned 1: 
 Error occurred during initialization of VM Could not reserve enough space 
 for object heap Could not create the Java virtual machine.

(i've changed my domain to domain.com)

I tried to set the activemq_heap_mb parameter, but it doesn't help.

I appreciate any suggestions :)

Thanks

4

1 回答 1

0

您可以尝试将 -Xmx128m 添加到您的 keytool 命令中。

如果您仍然收到错误,请尝试 -Xmx256m 或 -Xmx512m

于 2013-02-21T23:12:22.500 回答