Agent update fails on Mac device

  • 7012988
  • 05-Aug-2013
  • 28-Oct-2013

Environment

Novell ZENworks Configuration Management 11.2 System Update

Situation

Attempting to upgrade ZCM agent on Mac. Connection to Primary server is lost during the upgrade (for example if the Primary server was shut down). If the upgrade is tried again, it does not start.

Extract from system-update.log

INSTALLING;INSTALLING_PERCENTAGE;22;null
DEBUG;;;Launching rpm command with parameter: [/bin/rpm  -U  --verbose --nodeps /var/opt/Novell/zenworks/zmd/cache/ZenCache/92b9a9887036443ebda757013024045c/jdk-6u24-linux-amd64.rpm]
DEBUG;;;return code : 1
DEBUG;;;Checking package
/var/opt/novell/zenworks/zmd/cache/ZenCache/92b9a9887036443ebda757013024045c/jdk-6u24-linux-amd64.rpm
DEBUG;;;java.lang.NoClassDefFoundError:
com/novell/zenworks/agentconfig/util/LauncherException
 at
com.novell.zenworks.systemupdate.commandrunners.RpmCommandRunner.checkFileForNewerInstalledVersion(RpmCommandRunner.java:342)


Resolution

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

Note: the fix only stops this from happening in the future, it does not remove the possibility of it happening during the upgrade to 11.2.4

Workaround: ensure that communications to the Primary server are not interrupted during the upgrade of the Mac agent

Cause

When the system update does not happen first time but happens on the subsequent refresh, the update is only started after checking if zenupdater is not already running. However the command to check whether the process was running did not work on Mac devices.