ZCM fails to import System Update

  • 7011810
  • 21-Feb-2013
  • 21-Feb-2013

Environment

Novell ZENworks Configuration Management 11.2 System Update

Situation

Importing System Update to a Linux host where the content-repo has previously been moved to another location (see Mounting the Content Repository on a Linux Server to an NSS Volume). Import fails (note the GUID in the following messages is version-specific, so will vary depending on the version being imported)

[Loader.SystemUpdateModule] [165] [] [FINE: Importing update: Update for ZENworks 11 SP2 (11.2.2)] [] []
[Loader.SystemUpdateModule] [165] [] [FINEST: Attempting to set update status to DOWNLOADING with message: null] [] []
[Loader.SystemUpdateModule] [165] [] [FINEST: Unable to update update status...creating new update object (5011020200fc50000000002012110609)] [] []
[Loader.SystemUpdateModule] [165] [] [FINEST: Attempting to set update status to ERROR with message: SystemUpdate.error.getcontent] [] []
[Loader.SystemUpdateModule] [165] [] [FINEST: Status for update (5011020200fc50000000002012110609): DOWNLOADING] [] []
[Loader.SystemUpdateModule] [165] [] [FINEST: Updated update (5011020200fc50000000002012110609) status to ERROR] [] []
[Loader.SystemUpdateModule] [165] [] [FINE: Error downloading update] [com.novell.zenworks.systemupdate.exceptions.SystemUpdateException: Unable to create content directory: /var/opt/novell/zenworks/content-repo/system-update/5011020200fc50000000002012110609
at com.novell.zenworks.systemupdate.UpdateDownloader.getContentFromServer(UpdateDownloader.java:453)
at com.novell.zenworks.systemupdate.SystemUpdateDownloader.downloadUpdate(SystemUpdateDownloader.java:143)
at com.novell.zenworks.loader.modules.queue.handlers.ImportUpdateHandler.processAction(ImportUpdateHandler.java:87)
at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction(QueueThreadWorker.java:212)
at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run(QueueThreadWorker.java:143)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
] []

Resolution

Change the ownership of the content-repo
chown zenworks:zenworks -R /var/opt/novell/zenworks/content-repo/

as shown in the documentation

Cause

The step to change the ownership had been omitted when the content-repo was moved: it is essential that all steps are followed.

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