SQL Server已停止运行 [英] SQL Server Stopped Running

查看:370
本文介绍了SQL Server已停止运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

此论坛上的第一篇文章 - 不确定这是否是正确的类别。

有SQL Server问题 - 这里有一些细节:

拥有Win 7 Pro SP1 64位SQL Server 2005。

SQL Server在大约一周前运行正常。

这是错误日志:



2019-05-24 12:46:24.58 Server Microsoft SQL Server 2005 - 9.00.5000.00(Intel X86) 

2010年12月10日10:56:29 

版权所有(c)1988-2005 Microsoft Corporation

Windows NT 6.1上的Express Edition(Build 7601:Service Pack 1)



2019-05-24 12:46:24.58 Server(c)2005 Microsoft Corporation。

2019-05-24 12:46:24.58 Server保留所有权利。

2019-05-24 12:46:24.58 Server Server进程ID为6268.

2019-05-24 12:46:24.58服务器身份验证模式为MIXED。

2019-05-24 12:46:24.58服务器在文件'C:\Program Files(x86)\ Microsoft SQL Server \EMMSDE \ MSSQL.1 \中记录SQL Server消息MSSQL \LOG \ERRORLOG'。

2019-05-24 12:46:24.58服务器此实例的SQL Server上次使用进程ID 2712在5/24/2019报告
12:41:51 PM(本地)5/24/2019 7:41:51 PM(UTC)。这只是一条信息性消息;不需要用户操作。


2019-05-24 12:46:24.58 Server Registry启动参数:

2019-05-24 12:46:24.58服务器-d C:\Program Files(x86)\ Microsoft SQL Server \EMMSDE \ MSSQL.1 \ MSSQL \DATA \\ \\ _master.mdf

2019-05-24 12:46:24.58服务器-e C:\Program Files(x86)\ Microsoft SQL Server \EMMSDE \ MSSQL.1 \ MSSQL \LOG \\ \\ ERRORLOG

2019-05-24 12:46:24.58服务器-l C:\Program Files(x86)\ Microsoft SQL Server \EMMSDE \ MSSQL.1 \ MSSQL \DATA \\ \\ mastlog.ldf

2019-05-24 12:46:24.59服务器SQL Server以普通优先级基础(= 7)开始。这是一条信息性消息
。不需要用户操作。


2019-05-24 12:46:24.59服务器检测到8个CPU。这是一条参考消息;不需要用户操作。

2019-05-24 12:46:24.90 Server使用动态锁分配.2500 Lock块的初始分配和5000 Lock
每个节点的所有者块。这只是一条信息性消息。用户操作是必需的。


2019-05-24 12:46:24.96服务器数据库镜像已在此SQL Server实例上启用。

2019-05-24 12:46:24.96 spid4s启动数据库'master'。

2019-05-24 12:46:25.02 spid4s错误:9003,严重性:20,状态:1。

2019-05-24 12:46:25.02 spid4s数据库'master'中传递给日志扫描的日志扫描号(879:408:1)无效。
此错误可能指示数据损坏或日志文件(.ldf)与数据文件(.mdf)不匹配。如果在复制期间发生此错误,请重新创建发布。否则,如果问题导致启动时出现故障,则从备份还原。 


2019-05-24 12:46:25.02 spid4s无法恢复master数据库.SQL Server无法运行。从完全备份恢复master
,修复它或重建它。有关如何重建master数据库的详细信息,请参阅SQL Server联机丛书。




非常感谢任何帮助,因为这对我们来说是一项重要的服务。

先谢谢你的帮助!

Have Win 7 Pro SP1 64-bit SQL Server 2005.
SQL Server was running fine up until about one week ago.
Here is the error log:

2019-05-24 12:46:24.58 Server Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) 
Dec 10 2010 10:56:29 
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 6.1 (Build 7601: Service Pack 1)

2019-05-24 12:46:24.58 Server (c) 2005 Microsoft Corporation.
2019-05-24 12:46:24.58 Server All rights reserved.
2019-05-24 12:46:24.58 Server Server process ID is 6268.
2019-05-24 12:46:24.58 Server Authentication mode is MIXED.
2019-05-24 12:46:24.58 Server Logging SQL Server messages in file 'C:\Program Files (x86)\Microsoft SQL Server\EMMSDE\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2019-05-24 12:46:24.58 Server This instance of SQL Server last reported using a process ID of 2712 at 5/24/2019 12:41:51 PM (local) 5/24/2019 7:41:51 PM (UTC). This is an informational message only; no user action is required.
2019-05-24 12:46:24.58 Server Registry startup parameters:
2019-05-24 12:46:24.58 Server -d C:\Program Files (x86)\Microsoft SQL Server\EMMSDE\MSSQL.1\MSSQL\DATA\master.mdf
2019-05-24 12:46:24.58 Server -e C:\Program Files (x86)\Microsoft SQL Server\EMMSDE\MSSQL.1\MSSQL\LOG\ERRORLOG
2019-05-24 12:46:24.58 Server -l C:\Program Files (x86)\Microsoft SQL Server\EMMSDE\MSSQL.1\MSSQL\DATA\mastlog.ldf
2019-05-24 12:46:24.59 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2019-05-24 12:46:24.59 Server Detected 8 CPUs. This is an informational message; no user action is required.
2019-05-24 12:46:24.90 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.
2019-05-24 12:46:24.96 Server Database mirroring has been enabled on this instance of SQL Server.
2019-05-24 12:46:24.96 spid4s Starting up database 'master'.
2019-05-24 12:46:25.02 spid4s Error: 9003, Severity: 20, State: 1.
2019-05-24 12:46:25.02 spid4s The log scan number (879:408: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. 
2019-05-24 12:46:25.02 spid4s 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.

Any help is much appreciated as this is a critical service for us.
Thanks in advance for your help!

推荐答案

对于初学者来说,你的sql版本服务器已经过时且完全不受支持。如果你关心这个系统,你应该有一个迁移计划。 

For starters, your version of sql server is very much obsolete and completely unsupported. If you care about this system, you should have a plan for migrating. 

接下来,你的主数据库已经损坏了。你有没有备份?如果没有,您可以尝试重建系统数据库(搜索
网络
- 这就是你应该使用当前技术的一个原因,因为它可能令人沮丧找到该版本所需的确切步骤。) 

Next, your master database is corrupt. So do you have a backup? If not, you can try to rebuild the system databases (search the web - and this is one reason why you should be using current technology since it can be frustrating to find the exact steps you need for that version). 

最后一个选项是查找(即购买)可能(但不保证)能够修复的恢复软件为了以防万一,我建议你复制所有实际的数据库文件(mdf,n df,ldf)在
做任何事情之前在你的服务器实例中使用或出现。 

The last option is to find (i.e, buy) recovery software that might (but no guarantee) be able to fix the corruption. And just in case, I suggest you make copies of all the actual database files (mdf, ndf, ldf) used or present in your server instance before doing anything. 


这篇关于SQL Server已停止运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆