ZENworks agent on Linux fails to log, zac throws error, zicon throws error

  • 7008371
  • 14-Apr-2011
  • 30-Apr-2012

Environment

Novell ZENworks 11 Configuration Management

Situation

zac won't run. 
No zicon. 
No logging to zmd-messages.log. 
The xplat agent (novell-zenworks-xplatzmd) does not function although using ps to display processes shows it  running and using status shows it has a status of running.
 
ERROR:
 
ZICON ERROR!
 
ERROR running zac command:
 
Unknown error
 
running novell-zenworks-xplatzmd debug hangs and on stop throws 145 error.
 
Sometimes this Error running novell-zenworks-xplatzmd in debug mode:
 
GetGuidfromserverGuid file returned null
 
 

Resolution

This can be a symptom that the agent crashed reading ZISD data.  ps shows that the agent is running but it is non functional.  This is related to TID 7007630 but can happen on 32-bit as well as 64-bit.
 
To workaround: 
 
Stop the ZENworks services.
 
To bypass reading the Image Safe Data, the UseImageSafeData entry in the /etc/opt/novell/zenworks/zenworks.properties file can be modified from true to false.
 
"UseImageSafeData=false "
 
Then restart the ZENworks services.

Additional Information

Error from zenicon.log:
 
null
java.lang.ExceptionInInitializerError
 at com.novell.zenworks.agent.zicon.ZTrayIcon.getServer(ZTrayIcon.java:392)
 at com.novell.zenworks.agent.zicon.ZIconServerPing.run(ZIconServerPing.java:58)
 at org.eclipse.swt.widgets.Display.timerProc(Unknown Source)
 at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
 at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
 at com.novell.zenworks.agent.zicon.ZLauncher.displayTrayIcon(ZLauncher.java:47)
 at com.novell.zenworks.agent.zicon.ZLauncher.main(ZLauncher.java:63)
Caused by: java.lang.NumberFormatException: null
 at java.lang.Integer.parseInt(Unknown Source)
 at java.lang.Integer.parseInt(Unknown Source)
 at com.novell.zenworks.ipc.remoting.RemotingUtility.<clinit>(RemotingUtility.java:39)
 ... 8 more