ZENworks 11.1 update hangs

  • 7009162
  • 12-Aug-2011
  • 27-Apr-2012

Environment

Novell ZENworks 11 Configuration Management

Situation

In environment with Linux subscriptions enabled in 11, the update to 11.1 may hang at this line in system-update.log:
 
DEBUG;;;Starting process: /opt/novell/zenworks/bin/novell-zenworks-configure Options: -c@YUMRepo@-c@YUMServiceSchedule@-c@LinuxPatchCreate@-c@LPMSystemUpdateAction@WAIT_FOR_EXIT:CHECK_EXIT_CODE
 
The novell-zenworks-configure.log shows these errors:
 
[2011.08.10-14:39:58] INFO: Started LPM-System-Update-Action at :2011-08-10 14:39:58.976
[2011.08.10-14:40:50] INFO: Failed to get the system requirement from given actionnull
[2011.08.10-14:40:50] INFO: Failed to get the system requirement from given actionnull
[2011.08.10-14:42:23] INFO: Failed to update the RPM Contentnull
[2011.08.10-14:42:23] INFO: Failed to get the system requirement from given actionnull

Resolution

When there are many Linux subscription bundles with many "noarch" actions, the novell-zenworks-configure may run out of memory.  Try the following:
 
  1. Make a backup of /opt/novell/zenworks/bin/novell-zenworks-configure
  2. Modify /opt/novell/zenworks/bin/novell-zenworks-configure as follows:
    Change the last line:
    ${JAVA} -Djava.library.path="${LD_LIB_PATH}" -cp "${CP}" ${DEBUG_OPTS} ${JAVA_OPTS} -Xms64m -Xmx256m com.novell.zenworks.configure.ConfigureLoader ${CONFIG_OPTS[@]:+"${CONFIG_OPTS[@]}"}
    Modify:
    -Xmx256m
    to -
    Xmx512m
  3. Rename the system-update.log  file at /var/opt/novell/log/zenworks/system-update/50110100001e69ca2ccb2865b42bf7b3
  4. Rerun the update.