One of our agents have gone offline due to some unknown reason. When we try restarting the health service we get the below error.
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
Computer: Server name
The OpsMgr Health Service service terminated with service-specific error 3.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
I have tried following the below link to resolve the issue.
The ETL Logs return the below error
0 00000000 0.6560::07/30/2013-13:10:51.526 [HealthServiceExecutive] Error CHealthServiceExecutive::CheckAndCreateTempDirectory(HealthServiceExecutive_cpp1142)CreateDirectory on path "D:\temp\\Health Service" failed with code 3(ERROR_PATH_NOT_FOUND).
I do not have D drive on my server. Please advise how do i change the config.
- Edited by Jesty_s Thursday, August 01, 2013 10:06 AM comfidential
Firstly, please try to clear the cache of the agent:
How and When to Clear the Cache
If this does not work, please try reinstalling the agent.
TechNet Community Support
I get the below error.
Health Service 'Servername' in which the location monitoring object is contained is not available. Make sure that the computer hosting the Health Service is available and verify that the Health Service is running.
- Edited by Jesty_s Thursday, August 01, 2013 10:06 AM confidential
I have run sysdm.cpl and have checked the System variables. The Tmp and temp was pointing to D and C drive respectively.
TMP D:\............ which i dont remember now.
i have edited this to C:\temp and applied. But still unable to start the OpsMgr health service.
The server is a 2000 Sp4 server. Please advise.
As you stated at the beginning of this post, that you followed this Technet Blog Article
Did you get a chance to revisit the Registry locations mentioned?
The above is looking for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\State Directory.
If you're using SP1 or later then the path it's looking for will be HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\State Directory.
5. Verify the value that it contains. It should point to the location in which the agent is installed and the Health Service State subdirectory (\Program Files\System Center Operations Manager\Health Service State), change the value to correct location if
incorrect or create a new String Value (Reg_SZ) if missing and set it to the correct path.
Hope that helps :)
Vikky | "If my reply rendered as answer to you question,kindly click on "Mark as Answer"
I have again checked the location now.
This contains the value where the SCOM healthservice agent is located. But the Health service agent seems to be empty might be because i have reinstalled the agent again on the server.