Services not restarting with error code 1060
| Article:TECH145726 | | | Created: 2010-12-07 | | | Updated: 2011-01-13 | | | Article URL http://www.symantec.com/docs/TECH145726 |
Problem
Monitor policies with an associated task fail to run the task with error 1060
Error
Task history shows error 1060
Windows Application logs may (or may not) show messages about the Metric Provider changing from uninitialized to retry states
Cause
The service you are monitoring has a special character in it.
Solution
- Use a WMI metric instead of the Windows Service metric. As an example:
- Namespace = "root\cimv2"
- Class name = "Win32_Service"
- Counter = "State"
- Instance = "Name="<service>""
- In the evaluation window make sure you set the 'Value': 0=stopped, 1=running
- Also use a Run Script task instead of a Control Service State task
- If you are using the task to restart the service, you can use the script
"net start "<serviceName>""
Note: Make sure you add the quotes to the service name
- If you are using the task to restart the service, you can use the script
|
|
Article URL http://www.symantec.com/docs/TECH145726
Terms of use for this information are found in Legal Notices









Thank you.