ZENworks Agent Service stops unexpectedly

  • 7010765
  • 11-Sep-2012
  • 12-Sep-2012

Environment

Novell ZENworks Configuration Management 11.1 Policies
Novell ZENworks Configuration Management 11.2 Policies

Situation

Workstation assigned with Windows Group Policy which modifies default Internet Explorer settings.

Novell ZENworks Agent Service stops unexpectedly.

Issue indicates following entries with exception in zmd-messages.log:
[DEBUG] [08/30/2012 17:12:49.602] [1524] [ZenworksWindowsService] [40] [] [ZMD] [] [******************** Unhandled exception in service ********************
Type: System.ComponentModel.Win32Exception
Message: Only part of a ReadProcessMemory or WriteProcessMemory request was completed
Stack Trace:
       at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
       at System.Diagnostics.Process.get_MainModule()
       at Novell.Zenworks.ExecLibrary.DelayController.checkProcessStatus()
       at Novell.Zenworks.ExecLibrary.AbstractDelayController.DelayProcess(Int32 maxTimeToWait, String() programList)
       at Novell.Zenworks.ActionHandlers.DelayTaskAction.DelayThreadParameters.ProcessStartMethod()
       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.ThreadHelper.ThreadStart()] [] []
 [DEBUG] [08/30/2012 17:12:49.618] [1524] [ZenworksWindowsService] [40] [] [ZMD] [] [Unregistered Channel] [] []
 [DEBUG] [08/30/2012 17:12:49.618] [1524] [ZenworksWindowsService] [40] [] [Shutdown] [] [Shutting down daemon...] [] []

Resolution

Partial Workaround:
To minimize the issue, re-create the Group Policy so it does not change Internet Explorer settings

Cause

A few threads are trying to apply Group Policy to Internet Explorer simultaneously. One is a standard thread from OS and another one is from the agent.

Status

Reported to Engineering