Random agent shutdown on Windows 7 after reboot

  • 7011794
  • 16-Feb-2013
  • 11-Apr-2013

Environment

Novell ZENworks Configuration Management 11.2

Situation

Randomly, ZenworksWindowsService not running after reboot.
 
ERROR (from zmd-messages.log):
 
 [DEBUG] [02/14/2013 08:19:49.846] [1672] [ZenworksWindowsService] [4] [] [ZMD] [] [******************** Unhandled exception in service ********************
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Stack Trace:
       at in.a(Object A_0)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading._TimerCallback.PerformTimerCallback(Object state)
] [] []

Resolution

This is fixed in version 11.2.3a - see KB 7011295 "ZENworks Configuration Management 11.2.3a - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7011295
 
Workaround:
 
Set the ZENworks Agent Service first recovery action to restart service on failure.