Re: Master database corrupt.



david (david@xxxxxxxxx) writes:
After our SBS rebooted repeatedly one night due to a faulty
"Uninterruptable" Power Supply, SQL Server isn't working at all. WSUS,
Monitoring, and SharePoint are all down. The SQL error log seems to say
that the master database is corrupt.

How do I fix this? Is there something simple I can restore from backup?
Or a "recreate master database" command?

If you have a backup of the master database, you can restore it. But if
you don't have a good backup of master, well you don't.

But even if you don't have backup of master, this is not the end of the
world. You can rebuild the master database, but you will need to reattch
the databases and recreate logins. Only hope that no user databases have
been hurt!

While this issue might be possible to sort over a newsgroup thread, it
may take some time until you are back in business. It may be better to
open a support case with Microsoft, and have a support professional to
guide you through the process. It's certainly going to cost you and arm
and a leg, but so might having the databases offline as well.

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: SQL Server 2008 caching
    ... Before db lock, i set one parameter ... Why would the user have to log out when you do a backup in the first place? ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: question about autogrowth and shrinkfile
    ... Assuming that you also left out the full backup, ... Yes, leave auto-grow on. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Scripting in Windows 2000 Advanced Server
    ... "mssqlserver service which is clustered". ... used them in a script to determine if a service is running. ... to attempt to connect to the master database in the default instance of SQL ... ' Cannot start SQL Server - ignore error. ...
    (microsoft.public.windows.server.scripting)
  • Re: dropped tables
    ... We Restored from the last backup 12 hours prior... ... Restore it from a backup if you have one. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Dump Huge
    ... dump three weeks ago was 26gb, ... In that case the backup is appended to the file. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)

Loading