We're running ZCM 10.1.1 on w2k3 SP2 with a mixture of 10.1 and 10.1.1
agents.

It seems that on some machines the ZENWorks Agent Service stops
randomly and when this happens remote control stops and the Application
Window shows no or only some icons. Today it appears that the ZENworks
Agent service on the majority of our machines stopped during a period
of approximately 1 hour. There were no network issues during this time
and no problems with the ZCM server itself. Logging out and back in
again, or rebooting fixed the problem. I have included the output from
the zmd-messages.log file below showing what happened at the time the
service stopped. This is the same on all machines and happens on both
10.1 and 10.1.1 agents.

Any ideas as this is driving the users and Help Desk crazy.

TIA



[ERROR] [10/31/2008 08:22:33.656] [5576] [ZenworksWindowsService] [54]
[] [ZMD] [ZMD: Unhandled Exception: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.] [
Object name: 'System.Net.Sockets.Socket'.] [] []
[ERROR] [10/31/2008 08:22:33.703] [5576] [ZenworksWindowsService] [65]
[] [ZMD] [ZMD: Unhandled Exception: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.] [
Object name: 'System.Net.Sockets.Socket'.] [] []
[ERROR] [10/31/2008 08:22:33.703] [5576] [ZenworksWindowsService] [54]
[] [ZMD] [Stack Trace: at
System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Novell.Zenworks.Zmd.Refresh.WebServer.DataReader(I AsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.runTryCode(Objec t userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteed
Cleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback (Object result,
IntPtr userToken)
at
System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(UInt
32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at
System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UInt3
2 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)]
[Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Novell.Zenworks.Zmd.Refresh.WebServer.DataReader(I AsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.runTryCode(Objec t userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteed
Cleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback (Object result,
IntPtr userToken)
at
System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(UInt
32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at
System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UInt3
2 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)] [] []
[ERROR] [10/31/2008 08:22:33.718] [5576] [ZenworksWindowsService] [65]
[] [ZMD] [Stack Trace: at
System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Novell.Zenworks.Zmd.Refresh.WebServer.DataReader(I AsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.runTryCode(Objec t userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteed
Cleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback (Object result,
IntPtr userToken)
at
System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(UInt
32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at
System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UInt3
2 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)]
[Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Novell.Zenworks.Zmd.Refresh.WebServer.DataReader(I AsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.runTryCode(Objec t userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteed
Cleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback (Object result,
IntPtr userToken)
at
System.Net.Sockets.BaseOverlappedAsyncResult.Compl etionPortCallback(UInt
32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at
System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UInt3
2 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)] [] []
[DEBUG] [10/31/2008 08:22:33.921] [5576] [ZenworksWindowsService] [65]
[] [ZMD] [] [Exception shutting down quicktask server socket: A request
to send or receive data was disallowed because the socket is not
connected and (when sending on a datagram socket using a sendto call)
no address was supplied
at System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Novell.Zenworks.Zmd.Refresh.WebServer.Shutdown()] [] []
[DEBUG] [10/31/2008 08:22:33.937] [5576] [ZenworksWindowsService] [54]
[] [ZMD] [] [WebServerMonitor.Stop call failed: Object reference not
set to an instance of an object.
at Novell.Zenworks.Zmd.Refresh.WebServer.Shutdown()] [] []
[DEBUG] [10/31/2008 08:22:33.953] [5576] [ZenworksWindowsService] [54]
[] [ZMD] [] [Exception shutting down quicktask server socket: Cannot
access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Novell.Zenworks.Zmd.Refresh.WebServer.Shutdown()] [] []
[DEBUG] [10/31/2008 08:23:42.578] [4368] [ZenworksWindowsService] [6]
[] [SessionManager] [] [EnsureSession: Session: 999] [] []
[DEBUG] [10/31/2008 08:23:47.984] [4368] [ZenworksWindowsService] [6]
[] [ZenCache] [] [(Thread 6) GetObject(zmd:moduleCache,
UserContext{_LocalId=SYSTEM;
_RemoteId=fd06a198acf51a4ba08c1bc1beedf89f}) called] [] []
[DEBUG] [10/31/2008 08:23:48.593] [4368] [ZenworksWindowsService] [6]
[] [ZenCache] [] [(Thread 6) GetObject returning C:\Program
Files\Novell\ZENworks\cache\zmd\ZenCache\93de72cb-a1a6-4a77-86e0-bdb8e48
0cb72 in 606 ms] [] []