SCOM 2007 R2,DC server Services crashing if SCOM service enabled
Problem
========
The DC server runs out of memory after install SCOM Agent
Analyze
=========
事件類型: 警告
事件來源: Health Service Script
事件類別目錄: 無
事件識別碼: 19
描述:
AD Op Master Response : The script 'AD Op Master Response' could not determine the schema Op Master.The error returned was: 'LDAP://CN=Schema,CN=Configuration,DC=corp,DC=cht,DC=com,DC=tw' (0x8007046A)
事件類型: 警告
事件來源: Health Service Script
事件類別目錄: 無
事件識別碼: 1000
描述:
AD Replication Monitoring : encountered a runtime error.
Failed to convert to UTC time.
The error returned was: 'RPC 伺服器忙線中,無法完成此操作。' (0x800706BB)
事件類型: 錯誤
事件來源: Health Service Script
事件類別目錄: 無
事件識別碼: 4001
電腦: XXXDC
描述:
Microsoft.Windows.Server.LogicalDiskHealthCheck.vbs : Unable to open WMI Namespace 'winmgmts:\\XXXDC.msft.com\root\cimv2'. Check to see if the WMI service is enabled and running, and ensure this WMI namespace exists..
Solution
==========
1. Install CScript 5.7 on DC
https://support.microsoft.com/kb/955360
2. Recompiled the WMI files using the bellow batch file and that stopped the errors:
C:
cd\windows\system32\wbem
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
PAUSE
winmgmt /regserver
wmiprvse /regserver
3. Clear cache on RMS and DC
1. Stop the MOM Health Service on the RMS server and DC.
2. Delete all files in C:\Program Files\System Center Operations Manager 2007\Health Service State\
3. Start the MOM Health Service on RMS.
4. Check C:\Program Files\System Center Operations Manager 2007\Health Service State\ to verify the files were recreated.
5. Start the MOM Health Service on DC.
6. Check C:\Program Files\System Center Operations Manager 2007\Health Service State\ to verify the files were recreated.