zenloader fails to load with a 1067 error (Windows) or silently (linux)

  • 7001277
  • 03-Sep-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management
Microsoft Windows Server 2003
Novell SUSE Linux Enterprise Server 10 Support Pack 1

Situation

zenloader service fails to load on Windows with a 1067 error

ERROR: Error 1067: The process terminated unexpectedly

zenloader service fails to load on Linux showing a status of "dead"
 
ERROR (from running /opt/novell/zenworks/bin/zenloader --debug on linux or zenloader.bat on Windows):
 
9/9/08 1:49 PM DEBUG [Loader] The ZENworks service loader is loading the modules specified in: /etc/opt/novell/zenworks/loader
Failed to start up because of the following error: java.lang.NullPointerException
at
com.novell.zenworks.loader.ZENLoader.setDependencies(ZENLoader.java:563)
at com.novell.zenworks.loader.ZENLoader.run(ZENLoader.java:512)
at com.novell.zenworks.loader.ZENLoader.main(ZENLoader.java:127)
 
 
ZENworks policies do not apply, content not available etc.


Resolution

The C:\Program Files\Novell\ZENworks\conf\loader file should only contain the default 47 ".xml" files that zenloader needs to load at startup time.  (Note: this count is for the 10.1 version.)
 
Everything in the C:\Program Files\Novell\ZENworks\conf\loader (Windows) or /etc/opt/novell/zenworks/loader (linux) folder loads at startup time.  If invalid xml files are in this folder, it is possible that the zenloader service will fail with the 1067 error on Windows or show a dead status on Linux.  If classes referenced in the xml files don't exist this can also cause a failure.
 

Additional Information

In this instance, a file called "Copy of DownloadApplyUpdate.xml" containing System Update information for ZCM 10.0.2 was contained in the C:\Program Files\Novell\ZENworks\conf\loader folder.  Because this xml file referenced a java class that was no longer present, zenloader tried to load all of the files in the C:\Program Files\Novell\ZENworks\conf\loader folder, but failed to completely load when trying to load the file "Copy of DownloadApplyUpdate.xml".

In another instance, there were multiple copies of AddPatchlinkAnalyzeReporting.xml (e.g. AddPatchlinkAnalyzeReporting1.xml, AddPatchlinkAnalyzeReporting2.xml, etc.) in the /etc/opt/novell/zenworks/loader folder on Linux.  Removing the multiple copies of this file (while retaining the original AddPatchlinkAnalyzeReporting.xml) allowed the zenloader service to load properly.