下面是错误日志:
2011-10-02 09:43:38.84 Server Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)
Nov 24 2008 13:01:59
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
2011-10-02 09:43:38.89 Server Error: 17054, Severity: 16, State: 1.
2011-10-02 09:43:38.89 Server The current event was not reported to the Windows Events log. Operating system error = 1502(事件日志文件已满。). You may need to clear the Windows Events log if it is full.
2011-10-02 09:43:38.89 Server (c) 2005 Microsoft Corporation.
2011-10-02 09:43:38.90 Server All rights reserved.
2011-10-02 09:43:38.90 Server Server process ID is 3324.
2011-10-02 09:43:38.90 Server Authentication mode is WINDOWS-ONLY.
2011-10-02 09:43:38.90 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2011-10-02 09:43:38.92 Server This instance of SQL Server last reported using a process ID of 712 at 2011-10-2 9:34:55 (local) 2011-10-2 1:34:55 (UTC). This is an informational message only; no user action is required.
2011-10-02 09:43:38.92 Server Registry startup parameters:
2011-10-02 09:43:38.92 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2011-10-02 09:43:38.92 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2011-10-02 09:43:38.92 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2011-10-02 09:43:38.95 服务器 SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-10-02 09:43:38.95 服务器 Detected 2 CPUs. This is an informational message; no user action is required.
2011-10-02 09:43:39.50 服务器 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.
2011-10-02 09:43:39.52 服务器 Database mirroring has been enabled on this instance of SQL Server.
2011-10-02 09:43:39.53 spid4s Starting up database 'master'.
2011-10-02 09:43:39.63 spid4s 错误: 9003,严重性: 20,状态: 1。
2011-10-02 09:43:39.63 spid4s The log scan number (368:128: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.
2011-10-02 09:43:39.64 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.
8 个解决方案
#1
不知道解决方法,网上看到这个:
http://www.cnblogs.com/silin/archive/2009/07/26/1531126.html
#2
谢谢啊,但还是不能解决,错误日志又变成了如下:
2011-10-02 10:41:52.76 Server Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)
Nov 24 2008 13:01:59
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
2011-10-02 10:41:52.77 Server (c) 2005 Microsoft Corporation.
2011-10-02 10:41:52.77 Server All rights reserved.
2011-10-02 10:41:52.77 Server Server process ID is 5704.
2011-10-02 10:41:52.78 Server Authentication mode is WINDOWS-ONLY.
2011-10-02 10:41:52.78 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2011-10-02 10:41:52.79 Server This instance of SQL Server last reported using a process ID of 4300 at 2011-10-2 10:37:31 (local) 2011-10-2 2:37:31 (UTC). This is an informational message only; no user action is required.
2011-10-02 10:41:52.79 Server Registry startup parameters:
2011-10-02 10:41:52.79 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2011-10-02 10:41:52.79 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2011-10-02 10:41:52.79 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2011-10-02 10:41:52.81 服务器 SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-10-02 10:41:52.81 服务器 Detected 2 CPUs. This is an informational message; no user action is required.
2011-10-02 10:41:53.36 服务器 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.
2011-10-02 10:41:53.38 服务器 Database mirroring has been enabled on this instance of SQL Server.
2011-10-02 10:41:53.39 spid5s Starting up database 'master'.
2011-10-02 10:41:53.50 spid5s 错误: 9003,严重性: 20,状态: 1。
2011-10-02 10:41:53.50 spid5s The log scan number (368:128: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.
2011-10-02 10:41:53.51 spid5s 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.
2011-10-02 10:41:52.76 Server Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)
Nov 24 2008 13:01:59
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
2011-10-02 10:41:52.77 Server (c) 2005 Microsoft Corporation.
2011-10-02 10:41:52.77 Server All rights reserved.
2011-10-02 10:41:52.77 Server Server process ID is 5704.
2011-10-02 10:41:52.78 Server Authentication mode is WINDOWS-ONLY.
2011-10-02 10:41:52.78 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2011-10-02 10:41:52.79 Server This instance of SQL Server last reported using a process ID of 4300 at 2011-10-2 10:37:31 (local) 2011-10-2 2:37:31 (UTC). This is an informational message only; no user action is required.
2011-10-02 10:41:52.79 Server Registry startup parameters:
2011-10-02 10:41:52.79 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2011-10-02 10:41:52.79 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2011-10-02 10:41:52.79 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2011-10-02 10:41:52.81 服务器 SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-10-02 10:41:52.81 服务器 Detected 2 CPUs. This is an informational message; no user action is required.
2011-10-02 10:41:53.36 服务器 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.
2011-10-02 10:41:53.38 服务器 Database mirroring has been enabled on this instance of SQL Server.
2011-10-02 10:41:53.39 spid5s Starting up database 'master'.
2011-10-02 10:41:53.50 spid5s 错误: 9003,严重性: 20,状态: 1。
2011-10-02 10:41:53.50 spid5s The log scan number (368:128: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.
2011-10-02 10:41:53.51 spid5s 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.
#3
参考这个:
http://zhidao.baidu.com/question/131095949.html
#4
2011-10-02 10:41:52.79 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
#5
还是不能启动啊,C盘的属性没有压缩,也没有只读。
#6
1.到系统目录下拷贝MDF,LDF文件.
2.重装SQL SERVER.建议你用windows 2003 server 企业版(sp1及以上) 安装 sql server 2005 企业版(sp2及以上)
3.附加你拷贝出来的MDF,LDF文件.
2.重装SQL SERVER.建议你用windows 2003 server 企业版(sp1及以上) 安装 sql server 2005 企业版(sp2及以上)
3.附加你拷贝出来的MDF,LDF文件.
#7
发了N遍了
#8
挺好的
#1
不知道解决方法,网上看到这个:
http://www.cnblogs.com/silin/archive/2009/07/26/1531126.html
#2
谢谢啊,但还是不能解决,错误日志又变成了如下:
2011-10-02 10:41:52.76 Server Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)
Nov 24 2008 13:01:59
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
2011-10-02 10:41:52.77 Server (c) 2005 Microsoft Corporation.
2011-10-02 10:41:52.77 Server All rights reserved.
2011-10-02 10:41:52.77 Server Server process ID is 5704.
2011-10-02 10:41:52.78 Server Authentication mode is WINDOWS-ONLY.
2011-10-02 10:41:52.78 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2011-10-02 10:41:52.79 Server This instance of SQL Server last reported using a process ID of 4300 at 2011-10-2 10:37:31 (local) 2011-10-2 2:37:31 (UTC). This is an informational message only; no user action is required.
2011-10-02 10:41:52.79 Server Registry startup parameters:
2011-10-02 10:41:52.79 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2011-10-02 10:41:52.79 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2011-10-02 10:41:52.79 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2011-10-02 10:41:52.81 服务器 SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-10-02 10:41:52.81 服务器 Detected 2 CPUs. This is an informational message; no user action is required.
2011-10-02 10:41:53.36 服务器 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.
2011-10-02 10:41:53.38 服务器 Database mirroring has been enabled on this instance of SQL Server.
2011-10-02 10:41:53.39 spid5s Starting up database 'master'.
2011-10-02 10:41:53.50 spid5s 错误: 9003,严重性: 20,状态: 1。
2011-10-02 10:41:53.50 spid5s The log scan number (368:128: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.
2011-10-02 10:41:53.51 spid5s 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.
2011-10-02 10:41:52.76 Server Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)
Nov 24 2008 13:01:59
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
2011-10-02 10:41:52.77 Server (c) 2005 Microsoft Corporation.
2011-10-02 10:41:52.77 Server All rights reserved.
2011-10-02 10:41:52.77 Server Server process ID is 5704.
2011-10-02 10:41:52.78 Server Authentication mode is WINDOWS-ONLY.
2011-10-02 10:41:52.78 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2011-10-02 10:41:52.79 Server This instance of SQL Server last reported using a process ID of 4300 at 2011-10-2 10:37:31 (local) 2011-10-2 2:37:31 (UTC). This is an informational message only; no user action is required.
2011-10-02 10:41:52.79 Server Registry startup parameters:
2011-10-02 10:41:52.79 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2011-10-02 10:41:52.79 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2011-10-02 10:41:52.79 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2011-10-02 10:41:52.81 服务器 SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-10-02 10:41:52.81 服务器 Detected 2 CPUs. This is an informational message; no user action is required.
2011-10-02 10:41:53.36 服务器 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.
2011-10-02 10:41:53.38 服务器 Database mirroring has been enabled on this instance of SQL Server.
2011-10-02 10:41:53.39 spid5s Starting up database 'master'.
2011-10-02 10:41:53.50 spid5s 错误: 9003,严重性: 20,状态: 1。
2011-10-02 10:41:53.50 spid5s The log scan number (368:128: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.
2011-10-02 10:41:53.51 spid5s 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.
#3
参考这个:
http://zhidao.baidu.com/question/131095949.html
#4
2011-10-02 10:41:52.79 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
#5
还是不能启动啊,C盘的属性没有压缩,也没有只读。
#6
1.到系统目录下拷贝MDF,LDF文件.
2.重装SQL SERVER.建议你用windows 2003 server 企业版(sp1及以上) 安装 sql server 2005 企业版(sp2及以上)
3.附加你拷贝出来的MDF,LDF文件.
2.重装SQL SERVER.建议你用windows 2003 server 企业版(sp1及以上) 安装 sql server 2005 企业版(sp2及以上)
3.附加你拷贝出来的MDF,LDF文件.
#7
发了N遍了
#8
挺好的