檢查 XML 設定檔載入程序的狀態
System Center 管理設定服務無法載入設定檔。
當設定服務無法載入 ConfigService.xml 檔案時,就會產生此警示。這種載入失敗的影響是此管理伺服器在這段期間內,不會執行任何設定服務工作項目。因此,管理群組的監視、使用新設定更新代理程式以及管理資源集區的功能將會出現不穩定的行為。
綠色:已順利找到並載入設定檔。
黃色:已載入檔案,但其中一項設定遺失或設成不正確的值。請查看事件記錄檔中的事件 29117 或 29118,以取得詳細資訊。設定服務將會還原成預設值。
紅色:無法載入檔案,因為架構不正確或檔案遺失
這會在以下情況發生:
System Center 管理設定服務找不到、無法讀取或存取 ConfigService.xml 檔案 (位於 “%Program Files%\Microsoft System Center 2012 R2\Operations Manager\Server”)。因為 cshost.exe.config 遺失或指向不正確的位置。
檔案的內容不正確。
若要進一步調查此問題,請考慮採用下列方法:
檢閱系統上的系統事件記錄檔,尋找指出 System Center 管理設定服務發生問題的錯誤。
驗證 ConfigService.xml 檔案是否可供存取。如果檔案遺失或損毀,您必須還原此檔案。您可以將此檔案取代成安裝程式所安裝的預設檔案,方法是瀏覽至 Windows 中的 [程式和功能],選取 [System Center Operations Manager],然後按一下 [解除安裝/變更].在安裝精靈的 [開始使用] 頁面開啟之後,請選取 [修復 Operations Manager 安裝]。接著選取 [管理伺服器] 旁邊的方塊,並按一下 [修復]。
Target | Microsoft.SystemCenter.ManagementConfigurationService | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.3SingleEventLog3StateUnitMonitorType | ||
Remotable | True | ||
Accessibility | Internal | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationService.XmlConfigLoadMonitor" Accessibility="Internal" Enabled="true" Target="Microsoft.SystemCenter.ManagementConfigurationService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.3SingleEventLog3StateUnitMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ManagementConfigurationService.XmlConfigLoadMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
<OperationalState ID="ThirdEventRaised" MonitorTypeStateID="ThirdEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Operations Manager</FirstLogName>
<FirstExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29115</Value>
</ValueExpression>
</SimpleExpression>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Operations Manager</SecondLogName>
<SecondExpression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29117</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29118</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</SecondExpression>
<ThirdComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ThirdComputerName>
<ThirdLogName>Operations Manager</ThirdLogName>
<ThirdExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29116</Value>
</ValueExpression>
</SimpleExpression>
</ThirdExpression>
</Configuration>
</UnitMonitor>