- PR -

WSUSの不明なエラー

1
投稿者投稿内容
へんば餅
会議室デビュー日: 2005/11/08
投稿数: 1
投稿日時: 2005-11-08 16:34
こちらではいつもお世話になっております。

早速ですが、現在Win2kでWSUSを運用しておりますが、
そのうち3割程度のサーバーで以下の詳細と共に同期エラーが報告されます。
環境
・Win2K SRV(SP4)
・.NET Frameworks1.1SP1適用済み
・MSDE2000インストール(instancename="WSUS")
・90%ぐらいまで進んでからエラーが報告される。
以下、エラー本文。--------------------------------------------
ApplicationException: Failed to approve some updates ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.CatalogSyncThreadProcessReal(Boolean allowRedirect)
-------------------------------------------------以上。
環境はデフォルトインストールをしてあり、他にはVB corpガインストールされていますが、
VBインストールされているSRVでもされていないSRVでも報告されています。
おそらくSQL関係で不具合がでているのかなとは思ったのですが、
同じ様なエラーが出ている方はいらっしゃいますでしょうか?

(情報不足でしたら、出来る限り追記します。)


[ メッセージ編集済み 編集者: へんば餅 編集日時 2005-11-08 16:38 ]
シビップ
会議室デビュー日: 2005/03/28
投稿数: 1
投稿日時: 2006-01-21 17:11
とりあえず、海外の情報を仕入れてみました。

http://rialtus.livejournal.com/185559.html

-----以下引用-----
1) Create a text file named addDeploymentIndex.sql

2) Add the following text to the sql file:

USE SUSDB
GO
BEGIN TRAN
IF NOT EXISTS (SELECT * FROM sysindexes where name='nc7DeploymentRevision')
BEGIN CREATE NONCLUSTERED INDEX nc7DeploymentRevision ON dbo.tbDeployment(RevisionID, TargetGroupID, ActionID) END
COMMIT TRAN
GO

[Note: the "create nonclusted" line probably word wrapped in this post... it will need to be one long line ending with "ActionID)"]

3) Place the file in C:\Program Files\Update Services\Tools\osql.

4) Here's where is starts getting tricky. On the WSUS server, open the command prompt and move to the directory you stored the file in. The command you need to execute will generally be this:

osql -E -S %servername%\WSUS -n -b -i addDeploymentIndex.sql

where %servername% is the name of your WSUS server. There may or may not need to be a space between -S and the name, and I'm not sure if it is case sensitive or not. The above is good for default installations of WSUS and MSDE. If you have the WSUS server database (SUSDB) on a named instance, you will need to repalce %servername% with that named instance. The named instance information can be found in the registry at HKLM\SOFTWARE\Microsoft\Update Services\Server\Setup\SqlServerName

If you have SQL2000 (and possibly SQL2005 though it's unsupported), you should completely omit the -S and subsequent variable to get this working.

If you are using SQL2005 Express (again, not supported), you change that one area to %servername%\SQLEXPRESS.

5) The script will run, then return you to command prompt. You will not get any notification if it was successful, but it will notify you if there are errors.





1

スキルアップ/キャリアアップ(JOB@IT)