恢复master数据库

时间:2015-05-13 11:15:45

标签: sql-server sql-server-2008-r2

我收到了以下错误

2015-05-13 12:04:31.00 Server      Using locked pages for buffer pool.
2015-05-13 12:04:31.10 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2015-05-13 12:04:36.14 Server      Node configuration: node 0: CPU mask: 0x000000000000000f Active CPU mask: 0x000000000000000f. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2015-05-13 12:04:36.17 spid7s      Starting up database 'master'.
2015-05-13 12:04:36.30 spid7s      Error: 9003, Severity: 20, State: 9.
2015-05-13 12:04:36.30 spid7s      The log scan number (189:72:1) passed to log scan in database 'master' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.
2015-05-13 12:04:36.30 spid7s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.

知道如何解决它吗?我无法启动sql server实例?

1 个答案:

答案 0 :(得分:0)

如果您在出现此错误消息之前告诉我们您是否做了某些事情,将会更容易提供帮助。

如果您进行了更新,可以尝试使用此KB article。 如果不是,您可以按照this article中的指定尝试在SQL Server安装位置以管理员身份运行以下命令:

UIView