Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WSUS DB SUSPECT

Status
Not open for further replies.

Boxalld

Technical User
Apr 20, 2004
42
GB
Having trouble with WSUS, I have seen in the Log file that the Database is suspect. How can i repair the database ?????

To get WSUS running again.

 
What are you using as the DB? Is it the WMSDE? Have you successfully been able to log into the DB using the OSQL.exe command?
 
Using MSDE I tried conecting using osql.exe as follows

osql.exe -S localhost -d susdb -U administrator

I tried my domain admin account as well

Could not connect to the database

says either access denied or no sql running ( checked the MSSQL$WSUS and its runing
 
Try typing (with servername replaced with your server name)

osql.exe -E -S servername\WSUS

If a 1> shows up, type "use master", then a 2> should show up. Type go. Also, look to see which groups have access. Should look something like this:

1>use master
2>go
1>select name from sysusers
2>go

You should have WSUS administrators in the permissions. If not, you'll need to add them. This article will help you:


Also, try running sqlmngr.exe, just to make sure....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top