System Update fails to deploy updates

  • 3985692
  • 13-Feb-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

System Update remains in pending state for the server.
ERROR (from loader-messages.log):
[DEBUG] [10/16/07 3:24:08 AM] [] [Loader.AssignmentTargetCalculator] [Failed to update targeted counts for all objects] [Failed to update targeted counts for all objects] [] []
[DEBUG] [10/16/07 3:24:08 AM] [] [Loader.AssignmentTargetCalculator] [java.lang.OutOfMemoryError: Java heap space
] [java.lang.OutOfMemoryError: Java heap space
] [] []
[DEBUG] [10/16/07 3:24:24 AM] [] [Loader.AssignmentTargetCalculator] [Failed to update targeted counts for all objects] [Failed to update targeted counts for all objects] [] []

Resolution

This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support
In some cases the OutOfMemoryError can be alleviated by unloading the Patch Management services until the update is complete. After the update the problem is resolved.
  1. Shut down zenloader
  2. Move the Patch XML files:
    1. On a Windows Server: Move AddPatchlink*.xml and Zpm*.xml from the %ZENWORKS_HOME%/conf/loader directory. (NOTE: these files must not be renamed in this directory or placed in a subdirectory of the loader directory.)
    2. On a Linux Server: Move AddPatchlink*.xml and Zpm*.xml from the /etc/opt/novell/zenworks/loader directory. (NOTE: these files must not be renamed in this directory or placed in a subdirectory of the loader directory.)
  3. Restart zenloader service.
  4. Do the update.
  5. System Update will replace the xml files and restart the service.
    (If these steps were used to troubleshoot an out of memory condition in the Patch service outside of the system update process, the files will need to be manually moved back after the memory condition is fixed by adding memory or the condition is otherwise resolved.)

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