zac commands fail after installing ZENworks Linux Management agent

  • 7003534
  • 15-Jun-2009
  • 05-Jan-2015

Environment


Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2 Installation - Server
Novell ZENworks 7.3 Linux Management - ZLM7.3
SUSE Linux Enterprise Server 10 Service Pack 2
ZLM 7.3 Agent installed on ZCM 10.2 Primary Server

Situation

Symptom

Issuing a zac command fails with error:
"... Corlib not in sync with runtime: expected corlib version 68, found 60 ..."

Resolution

This is fixed in version 10.3 - see KB 7005455 "ZENworks Configuration Management SP3 (10.3) - update information and list of fixes" which can be found at https://www.novell.com/support

Workaround: Change the contents of the zac launch script as of the following

1. Open the file /opt/novell/zenworks/bin/zac in an editor, e.g. vi
2. change the line:
    export MONO_PATH=$BINDIR:$LIBDIR
    to
    export MONO_PATH=/usr/lib/mono/2.0:/usr/lib/mono/1.0:$BINDIR:$LIBDIR
3. Save the changes and next time the zac command gets called, the error should not appear any more.

Additional Information

The ZENworks Linux Management agent installs its own Mono version into a path being referenced by the zac command launch script which leads to the above error message.