Post 11SP4 Update Prereq fails in Rebuilding Deployment Packages

  • 7017441
  • 31-Mar-2016
  • 04-Apr-2016

Environment

Novell ZENworks Configuration Management 11.4 System Update

Situation

Rebuilding Deployment Packages process fails for Post 11SP4 Update Prereq

The following or similar could be seen in the loader-messages.log on the primary server:

ERROR:
[DeploymentModule] [] [Error rebuilding deployment package/opt/novell/zenworks/install/downloads/setup/x86_64/PreAgentPkg_AgentMac.bin. Exception: java.lang.NullPointerException]
...
[DeploymentModule] [] [Error rebuilding deployment package/opt/novell/zenworks/install/downloads/setup/x86_64/PreAgentPkg_AgentMacComplete.bin. Exception: java.lang.NullPointerException]
[Loader.Deployment Module] [Novell.Zenworks.Deployment.ErrorRebuildingPackage/opt/novell/zenworks/install/downloads/setup/x86_64/PreAgentPkg_AgentMacComplete.bin] [Novell.Zenworks.Deployment.ErrorRebuildingPackage/opt/novell/zenworks/install/downloads/setup/x86_64/PreAgentPkg_AgentMacComplete.bin]
[DeploymentModule] [] [Rebuilding system package.../opt/novell/zenworks/install/downloads/setup/x86_64/PreAgentPkg_AgentMacComplete.bin]
[DeploymentModule] [] [Error rebuilding deployment package/opt/novell/zenworks/install/downloads/setup/x86_64/PreAgentPkg_AgentMacComplete.bin. Exception: java.lang.NullPointerException]
[DeploymentModule] [] [Deleting all MAC package file /opt/novell/zenworks/install/downloads/setup/_all/PreAgentPkg_AgentMacComplete.bin as it is not supported in 11.4.]
[Server.SystemUpdateModule] [] [FINEST: Got the action. status is: F]
[Server.SystemUpdateModule] [] [FINEST: Action has finished. status is: F]
[Server.SystemUpdateModule] [] [FINE: Unable to extract update content.] [com.novell.zenworks.systemupdate.exceptions.SystemUpdateException: An error occurred during the deployment package rebuild.
        at com.novell.zenworks.loader.modules.queue.handlers.ExtractContentHandler.waitForRebuild(ExtractContentHandler.java:369)


The following or similar may be seen in the novell-zenworks-configure.log on the primary server when running novell-zenworks-configure -c CreateExtractorPacks:

ERROR:
[CreateExtractorPacksUtil] [1] [root] [ConfigureUtility] [] [No such bundle-- novell-zenworks-xplat-policy.pkg] [] [] [] [ConfigureUtility]
[CreateExtractorPacksUtil] [1] [root] [ConfigureUtility] [] [No such bundle-- novell-zenworks-jre.pkg] [] [] [] [ConfigureUtility]
[ZENworksConfigure] [1] [root] [ConfigureUtility] [] [Failed to create package.
com.novell.zenworks.configure.ConfigureException: Failed to create package.
    at com.novell.zenworks.configure.actions.CreateExtractorPacksConfigureAction.create(CreateExtractorPacksConfigureAction.java:607)
...
Caused by: java.lang.NullPointerException
...
[ZENworksConfigure] [1] [root] [ConfigureUtility] [] [Unexpected exception] [com.novell.zenworks.configure.ConfigureException: Failed to create package.
    at com.novell.zenworks.configure.actions.CreateExtractorPacksConfigureAction.create(CreateExtractorPacksConfigureAction.java:607)
...
Caused by: java.lang.NullPointerException

Resolution

Workaround
  1. Copy the novell-zenworks-jre-1.7.0_80.pkg from the ZENworks 11 SP4 media to /opt/novell/zenworks/install/downloads/pkg/
    NOTE: This is located on the media at: Common/pkg/novell-zenworks-jre-1.7.0_80.pkg
  2. Run the command: /opt/novell/zenworks/bin/permissions.sh
  3. Run the command: zman surp 5011040a00fc50000000002015112016

Cause

Somehow the novell-zenworks-jre-1.7.0_80.pkg file came missing from the downloads pkg folder.

Status

Reported to Engineering