wsus:连接到windows server update services 数据库时出现错误

Posted on timeFebruary 19th, 2008 by userKeith


新装了几个机器,打上了wsus的注册表文件,但却一直没有提示更新,难道是wsus服务器坏了?发现wsus服务器管理页确实不能用,提示:连接到windows server update services 数据库时出现错误.

久不得其解,虽然有系统备份,但如果因为这点问题就恢复系统或者重新安装wsus服务器实在划不来,只有到网上查. 

The SQLAgent$WSUS service should not be running on an (W)MSDE installation.
It /might/ be running on an SQL Server 2000 named instance installation if
you have used the Database Maintenance utilities to configure scheduled
maintenance or scheduled backups of the WSUS named instance.
Changing the server name and/or IP Address should not interfere with normal WSUS operations, unless you have also configured IIS to use Host Headers and/or specified IP Addresses, in which case they might not be able to
respond to the new name. If there are no host headers configured, and “All
Unassigned” is configured, then IIS should respond to any HTTP GET request
sent to the machine, regardless of the name resolution used to obtain the IP
Address.
However, there is also a registry key that identifies the location of the
database server. The key is located at:
HKLM\SOFTWARE\Microsoft\Update Services\Server\Setup\
and it should contain a value “SQLServerName” with data pointing to your
WSUS instance. If this key has the actual name (or original name) of the
server (rather than (local) or localhost), this would account for the
inability to find the database server after renaming the WSUS server.
My default instance on SBS2003 is set to %computername%, so it’s also
possible that an installation on a named instance would be
%computername%\WSUS (I don’t have a named instance available to verify
against.) This could also be an issue if the environment variable
%computername% did not get properly redefined after changing the name of the server.

事实证明如果这样查下去肯定是查不出来结果的,原来中间改过一次盘符,wsus content所在的盘符已经更改,当然肯定是找不到了.

把盘符重新改过来,重新启动即OK.

参考: http://www.pcreview.co.uk/forums/thread-2310746.php

找的过程中发现一个网站,巨牛逼,上来就要钱,不交钱根本看不了上面的文章.当然网站做得确实一级棒. 
http://www.experts-exchange.com/Networking/Q_21649579.html

tag



Trackback URI | Comments RSS

Leave a Reply


RSS feeds:

Search: