Not able to launch zac

  • 7015691
  • 25-Sep-2014
  • 26-May-2015

Environment

Novell ZENworks Configuration Management 11.3

Situation

ZCM agent is installed on Linux device.

Trying to launch any zac command gives an error message:
"...
Error occurred during initialization of VM
Could not reserve enough space for object heap

..."

Resolution

This is fixed in version 11.3.2 - see KB 7015776 "ZENworks Configuration Management 11.3.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7015776

Workaround:

It appears this issue can be workaround by adding JAVA heap memory configuration settings to the /opt/novell/zenworks/bin/zac script by editing line 49 from:
"...
$JAVA -Dzenuser.home="$HOME" -Djava.rmi.server.hostname=127.0.0.1 -cp $CLASSPATH $ZAC "$@" --TerminalDevice=$TTY
..."
to
"...
$JAVA -Xms16m -Xmx256m -Dzenuser.home="$HOME" -Djava.rmi.server.hostname=127.0.0.1 -cp $CLASSPATH $ZAC "$@" --TerminalDevice=$TTY
..."

Cause

This issue has primarily seen on devices with huge main memory configuration like 256 GB.

Additional Information

This issue has not been reported with the Linux agent contained JRE version of ZCM 11.3.2 or newer.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.