Mirroring stops working after updating to ZLM 7.2 IR1 HP5 - store-file-deps error

  • 7000545
  • 03-Jun-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

After upgrading to ZLM 7.2 IR1 HP5, mirroring stops working. You get the following
error..

--------
Error: An error occurred while trying to add a package to the bundle
"/zlmmirror/ZLM72IR1-Hot-Patch-bundle". (couldn't create package in data store:
Unknown preference name. No preference exist with the name store-file-deps)
com.novell.zenworks.zlmmirror.server.MirrorServerException: An error occurred
while trying to add a package to the bundle
"/zlmmirror/ZLM72IR1-Hot-Patch-bundle".
...
at
com.novell.zenworks.zlmmirror.server.ZLMLocalServer.addPackages(ZLMLocalServer.java:2261)
at
com.novell.zenworks.zlmmirror.server.ZLMLocalServer.addPackagesToBundle(ZLMLocalServer.java:2066)
at
com.novell.zenworks.zlmmirror.ZLMMirror.executeMirrorSession(ZLMMirror.java:266)
at com.novell.zenworks.zlmmirror.ZLMMirror.main(ZLMMirror.java:146)
Caused by:
com.novell.zenworks.zlman.services.pkgmgt.admin.PackageManagementFault={_Message=couldn't
create package in data store: Unknown preference name. No preference exist with
the name store-file-deps,_Type=-1}
--------

Resolution

This issue was identified right after the release of HP5 and a fix has already been provided in the ZLM72IR1-Hot-Patch channel, which you can safely apply on ZLM servers that have NOT received HP5 yet. For ZLM servers with the above problem, the following must be done to fix the problem:
1] Edit file /var/opt/novell/log/zenworks/zlm-hp

2] If the file contains value 5 then change the value to your Hot patch level that was previously running on the server.

NOTE: Change the value only if it contains value "5"

For example:
If your server was running on ZLM7.2 IR1 HP1 before installing ZLM7.2 IR1 HP5 then the value should be changed to 1
If your server was running on ZLM7.2 IR1 HP2 before installing ZLM7.2 IR1 HP5 then the value should be changed to 2
If your server was running on ZLM7.2 IR1 HP3 before installing ZLM7.2 IR1 HP5 then the value should be changed to 3
If your server was running on ZLM7.2 IR1 HP4 before installing ZLM7.2 IR1 HP5 then the value should be changed to 4

3] Save and close the file

4] Execute the command
        sh /opt/novell/zenworks/lib/install/zenworks-update.sh

5]
Execute the command
       
zlm-config --restart


Note, this is applicable only for customers installing ZLM7.2 IR1 HP5

Additional Information

This is happening because the db schema has not been upgraded as part of HP5 and no server preferences are added in the database. Also this can be confirmed by looking at Configurations -> ZENworks Server Settings in ZCC, there won't be any preferences seen (like store-file-deps, etc).

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