Error, "Process performance counter is disabled, so the requested operation cannot be performed"
|Article:TECH40069|||||Created: 2008-05-30|||||Updated: 2008-11-26|||||Article URL http://www.symantec.com/docs/TECH40069|
I received the following error:
Date: 2/27/2008 5:10:29 AM
Tick Count: 992120765
Host Name: NS
Process: w3wp.exe (2420)
Thread ID: 7508
Description: An exception occurred while attempting load task data ( Unhandled exception. Type=System.Exception Msg=An exception occurred while executing the request Src=Altiris.Core.Smg
at Altiris.Core.Sockets.SecureRemoting.SecureRemotingClient.SendRequestI(String service, Hashtable input)
at Altiris.Core.Sockets.SecureRemoting.SecureRemotingClient.SendRequest(String service, Hashtable input)
at Altiris.ClientTask.Web.ReportTaskData.Page_Load(Object sender, EventArgs e)
Inner exception. Type=System.Exception Msg=System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed.
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.EnsureState(State state)
at CTDataLoad.DataLoaderThread.OnReportStatusXml(Hashtable input, Hashtable& output)
at Altiris.Core.Sockets.SecureRemoting.SecureRemotingServer.ProcessRequestObject(Object work) Src= StackTrace= )
Task Server 6.0
- The most common cause of this problem is that the Microsoft Windows Performance Counters for the Performance Object named "Process" is missing. The screenshot below illustrates a properly working Windows Server.
- It has also been observed that 3rd party or internally developed applications running on the NS server could be disabling the Process performance objects from running.
- Open Performance Monitor by clicking Start > Run > Type in Perfmon and choose Ok.
- Verify that the Process Monitor object exists, as illustrated in the screenshot posted above.
- If the Process object exists, choose all of the Process objects counters and all instances, click Add, and then watch the graph.
- Do they all run successfully?
- If the counters are missing, then you will need to enable them.
- Microsoft provides several KB articles to handle this situation. Begin by reading http://support.microsoft.com/default.aspx?kbid=300956 If the steps in this KB not work properly, and if your server is Microsoft Windows Server 2003, try the next step
- Download and install the Windows Server 2003 Resource Kit on the Notification Server or Task Server
- Open the Windows Server 2003 Resource Kit command prompt
- Type in "exctrlst.exe" to bring up the Extensible Counter List as shown in the screenshot below:
- Scroll down to select the PerfProc Performance Counter as highlighted in the screenshot above.
- Toggle the "Performance Counters Enabled" checkbox on and off several times, then make sure it remains Enabled.
(indicated by the Red Arrow in the screenshot above)
- If it was still open, close Perfmon, reopen Perfmon and the Process Performance object will now be available.
- Restart the Altiris Object Host Service
- Restart the Altiris Client Task Dataloader Service
- The problem should be resolved.
Article URL http://www.symantec.com/docs/TECH40069