PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Windows Updates Error connecting to the Windows Server Update Services database

Reply

Error connecting to the Windows Server Update Services database

 
Thread Tools Rate Thread
Old 29-12-2005, 11:34 AM   #1
gurvinder.nijjar
Guest
 
Posts: n/a
Default Error connecting to the Windows Server Update Services database


Every time I connect to the WSUS admin console I get the following error
message:

Error connecting to the Windows Server Update Services database
There was an error connecting to the Windows Server Update Services
database. Either the database is not available or you do not have the
correct privileges to access the database.

If you believe you have received this message in error, please check with
your system administrator.

In event viewer I also get an error log with event id: 421.

The only thing i did on my server was change the server name and IP of the
server. I have changed the server back to its original server name and IP
address.

I have checked the services the Background intelligent service is running.
The SQLAgent$WSUS service is not running. Should this be running.

Is there anything else I can check.



  Reply With Quote
Old 29-12-2005, 08:54 PM   #2
Lawrence Garvin \(MVP\)
Guest
 
Posts: n/a
Default Re: Error connecting to the Windows Server Update Services database

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.

"gurvinder.nijjar" <gsnijjar@hotmail.com> wrote in message
news:eDnquNGDGHA.2320@TK2MSFTNGP12.phx.gbl...
> Every time I connect to the WSUS admin console I get the following error
> message:
>
> Error connecting to the Windows Server Update Services database
> There was an error connecting to the Windows Server Update Services
> database. Either the database is not available or you do not have the
> correct privileges to access the database.
>
> If you believe you have received this message in error, please check with
> your system administrator.
>
> In event viewer I also get an error log with event id: 421.
>
> The only thing i did on my server was change the server name and IP of the
> server. I have changed the server back to its original server name and IP
> address.
>
> I have checked the services the Background intelligent service is running.
> The SQLAgent$WSUS service is not running. Should this be running.
>
> Is there anything else I can check.
>
>
>



  Reply With Quote
Old 30-12-2005, 11:56 AM   #3
gurvinder.nijjar
Guest
 
Posts: n/a
Default Re: Error connecting to the Windows Server Update Services database

Thnaks for the feedback.

I am not using any host headers, and have been using unassigned Ip
addresses.

I have checked the registry key and it is set to %computername%\WSUS. So
everything seems normal.

Are there any ideas.

I have changed the server back to its original name.

Is ir worth reinstalling WSUS again.
"Lawrence Garvin (MVP)" <onsitech@news.postalias> wrote in message
news:uMe0pGLDGHA.2320@TK2MSFTNGP12.phx.gbl...
> 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.
>
> "gurvinder.nijjar" <gsnijjar@hotmail.com> wrote in message
> news:eDnquNGDGHA.2320@TK2MSFTNGP12.phx.gbl...
>> Every time I connect to the WSUS admin console I get the following error
>> message:
>>
>> Error connecting to the Windows Server Update Services database
>> There was an error connecting to the Windows Server Update Services
>> database. Either the database is not available or you do not have the
>> correct privileges to access the database.
>>
>> If you believe you have received this message in error, please check with
>> your system administrator.
>>
>> In event viewer I also get an error log with event id: 421.
>>
>> The only thing i did on my server was change the server name and IP of
>> the server. I have changed the server back to its original server name
>> and IP address.
>>
>> I have checked the services the Background intelligent service is
>> running. The SQLAgent$WSUS service is not running. Should this be
>> running.
>>
>> Is there anything else I can check.
>>
>>
>>

>
>



  Reply With Quote
Old 31-12-2005, 03:10 AM   #4
Lawrence Garvin \(MVP\)
Guest
 
Posts: n/a
Default Re: Error connecting to the Windows Server Update Services database


The cost of reinstalling WSUS is rather small, as you can retain the
database and content, and the uninstall/reinstall process takes less than 30
minutes.

If something has gotten out of kilter, a reinstall should rectify any such
issue.


"gurvinder.nijjar" <gsnijjar@hotmail.com> wrote in message
news:%23stmq%23SDGHA.628@TK2MSFTNGP14.phx.gbl...
> Thnaks for the feedback.
>
> I am not using any host headers, and have been using unassigned Ip
> addresses.
>
> I have checked the registry key and it is set to %computername%\WSUS. So
> everything seems normal.
>
> Are there any ideas.
>
> I have changed the server back to its original name.
>
> Is ir worth reinstalling WSUS again.
> "Lawrence Garvin (MVP)" <onsitech@news.postalias> wrote in message
> news:uMe0pGLDGHA.2320@TK2MSFTNGP12.phx.gbl...
>> 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.
>>
>> "gurvinder.nijjar" <gsnijjar@hotmail.com> wrote in message
>> news:eDnquNGDGHA.2320@TK2MSFTNGP12.phx.gbl...
>>> Every time I connect to the WSUS admin console I get the following error
>>> message:
>>>
>>> Error connecting to the Windows Server Update Services database
>>> There was an error connecting to the Windows Server Update Services
>>> database. Either the database is not available or you do not have the
>>> correct privileges to access the database.
>>>
>>> If you believe you have received this message in error, please check
>>> with your system administrator.
>>>
>>> In event viewer I also get an error log with event id: 421.
>>>
>>> The only thing i did on my server was change the server name and IP of
>>> the server. I have changed the server back to its original server name
>>> and IP address.
>>>
>>> I have checked the services the Background intelligent service is
>>> running. The SQLAgent$WSUS service is not running. Should this be
>>> running.
>>>
>>> Is there anything else I can check.
>>>
>>>
>>>

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off