zenworks-xplatzmd agent won't start on Linux

  • 7009153
  • 10-Aug-2011
  • 27-Apr-2012

Environment

Novell ZENworks 11 Configuration Management Linux Xplat agent

Situation

ZENworks Adaptive Agent doesn't start properly on Linux OS. Starting the agent in debug mode, the following error may be seen:
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:291)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
    at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
    at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
    at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
    at com.novell.zenworks.agent.daemon.XplatDaemon.start(XplatDaemon.java:123)
    ... 5 more


The error above means the agent failed to start while loading Eclipse Runtime libraries.

Resolution

  1. Remove Eclipse Runtime cache directories:
    rm -rf /opt/novell/zenworks/zmd/java/lib/configuration/org.eclipse*
  2. Restart ZENworks Xplat (Cross-platform) agent:
    /etc/init.d/novell-zenworks-xplatzmd restart

Additional Information

ZENworks Xplat agent log location:
/var/opt/novell/zenworks/novell-zenworks-xplatzmd.out