Wednesday, February 4, 2009

EventID 7024

Symptom
The SCOM Agent won't run on a monitored system. When one tries to start the OpsMgr HealthService this event is logged:

Log Name: System
Source: Service Control Manager
Date: xx/xx/xxxx xx:xx:xx
Event ID: 7024
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxxx.xxx
Description: The OpsMgr Health Service service terminated with service-specific error 2147500037 (0x80004005).

Cause
Most of the times, one or more registrykeys are missing:
  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\State Directory
    This entry points to where the Agent is installed and where the State Directory is to be found. This directory is the repository for the SCOM Agent. When this entry is missing, import it from a system where a working Agent is installed.

  2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Group\<Management Group >\Windows AccountLockDownSD
    This entry is needed by the Agent service to run. When it is not there import it from a a system where a working Agent is installed.

The Agent should work now.

26-08-2009 Update: PFE Jimmy Harper also ran into this issue and solved it in a different manner. He also blogged about it, found here.

1 comment:

IcI said...

Saw additional Event IDs 7005, 7009 and 7022 in the Operations Manager event log.

Searched the net for this error:
======================
Event Type: Error
Event Source: HealthService
Event Category: Health Service
Event ID: 7022
Date: 29/01/2010
Time: 1:17:25 p.m.
User: N/A
Computer: xxxxxx
Description:
The Health Service has downloaded secure configuration for management group , and processing the
configuration failed with error code 0x80FF0066(0x80FF0066).
=======================

Found
http://www.ntx.at/blog/Lists/Beitraege/Post.aspx?ID=76 and
http://www.systemcentercentral.com/tabid/60/indexId/34058/tag/Forums+Operations_Manager/Default.aspx#vindex56241

Both articles mention registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\\SSDB\References.

Imported this key from a working server. Server is still reporting as healthy.