更新、承認、配信登録、およびイベントのために情報を格納して取得するためには、WSUS データベースを正しく構成する必要があります。
WSUS データベースが正常に動作していません。
操作を続行する前に、まず SQL Server の問題のトラブルシューティングを行います。
WSUS データベースが、使用中の SQL インスタンスに存在することを確認します。
コマンド ウィンドウを開きます。
「reg query "HKLM\SOFTWARE\Microsoft\Update Services\Server\Setup" /v SqlServerName」と入力します。
次の手順で使用する SQL Server 名が出力されます。
「osql -S "SqlServerName" -E -d SUSDB -Q」と入力します。
エラー メッセージを確認し、問題を解決します。
対応するエラー イベントを探します。
コマンド ウィンドウを開きます。
「cd <WSUSInstallDir>\Tools 」と入力します
「wsusutil checkhealth」と入力します。
「eventvwr」と入力します。
アプリケーション ログを参照して、ソース Windows Server Update Services からの最新イベントとイベント ID 11000 を確認します。
Target | Microsoft.Windows.Server.UpdateServices.2012.R2.Server | ||
Parent Monitor | Microsoft.Windows.Server.UpdateServices.2012.R2.Server.DatabaseRollup | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.UpdateServices.2012.R2.Server.DatabaseState" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.UpdateServices.2012.R2.Server" ParentMonitorID="Microsoft.Windows.Server.UpdateServices.2012.R2.Server.DatabaseRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.UpdateServices.2012.R2.Server.DatabaseState.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="DBNotOk" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="DBOK" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Server Update Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>11002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Server Update Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(11000|501|10000)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>