Po restarcie jednego z komputerów monitorowanych przez SCOM okazało się, że System Center Management service nie uruchamia się poprawnie, zwracając komunikat:
The System Center Management service could not be started.
A service specific error occurred: 2164195395.
Przejrzenie logów skutkuje znajezieniem poniższych błędów:
- Error 2001 HealthService: No Management Group could be started. See previous errors for more specific details. If no errors are present, verify the machine has sufficient memory and has at least one Management Group configured. Because Active Directory Integration is disabled, the Health Service will not remain running.
- Error 2000 HealthService: The Management Group XXX failed to start. The error message is 0xC00CEE04(0xC00CEE04). A previous message with more detail may have been logged.
- Error 21041 OpsMgr Connector: Operations Manager has received a bad configuration file for management group XXX which could not be parsed. Configuration has been re-requested. A copy of the bad configuration file will be placed in C:\Program Files\System Center 2012\Operations Manager\Server\Health Service State\\Connector Configuration Cache\XXX\OpsMgrConnector.Config.Error.xml
Rozwiązanie:
- Sprawdzamy rejestr na obecność wpisu: WindowsAccountLockdownSD w kluczu HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\Nazwa-Twojej-MG\WindowsAccountLockDownSD. Jeśli wpis nie istnieje, należy przekopiować go z działającej maszyny.
- Sprawdzamy rejestr ponownie, tym razem na obecność wpisu State Directory w kluczu: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\. Sprawdzamy, czy podana w nim ścieżka to katalogu State Directory jest poprawna.
- Przechodzimy do katalogu: C:\Program Files\System Center Operations Manager\Agent\Health Service State\ I kasujemy jego zawartość (oczywiście wg sztuki akcja powinna być wykonana za pomocą tasków SCOM “Flush HealthService”, dostęnych z konsoli SCOM, jednak nie zawsze to pomaga).
- Podnosimy usługę – tym razem bez żadnych problemów.