Some ZLM policies are not enforced on some servers

  • 7002579
  • 06-Feb-2009
  • 27-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

Zenworks Linux Management policies established in the Zenworks Control Center are not being enforced on the target server.  No entries are being made in the ZCC logs at the policy's scheduled time. 

Resolution

To diagnose the issue run "rug pl' on the target server to list the server's effective policies.  If this hangs or does not return assigned policies, then it is likely that the zmd database is corrupted.

To resolve the issue go to the target server in a terminal window:

Stop zmd with the command "rczmd stop".  If zmd will not stop, use "ps-eaf |grep zmd" to obtain the pid number of zmd. Then use the command "kill -9 <pid>" to kill zmd

Delete /var/lib/zmd/zmd.db*
Delete all content under /var/cache/zmd/

Restart zmd with the "rczmd start" command.

Wait a few minutes for the database to rebuild.  Run the "rug sl" command to be sure the services are active.  If they show as pending, wait a little longer and try the "rug sl" again.  Once the services have been activated run "rug pl" to list the policies.  Effective policies should now display.