服务器之家:专注于服务器技术及软件下载分享
分类导航

Mysql|Sql Server|Oracle|Redis|MongoDB|PostgreSQL|Sqlite|DB2|mariadb|Access|数据库技术|

服务器之家 - 数据库 - Sql Server - sql2000报错Successfully re-opened the local eventlog解决方法

sql2000报错Successfully re-opened the local eventlog解决方法

2020-04-09 22:28MSSQL教程网 Sql Server

这篇文章主要介绍了sql2000报错Successfully re-opened the local eventlog解决方法,需要的朋友可以参考下

报错1:Unable to read local eventlog (reason: 事件日志文件已在读取间更改。
报错2:Successfully re-opened the local eventlog - NOTE: Some events may have been missed.


微软解释:
http://support.microsoft.com/default.aspx?scid=kb;en-us;811484

解决办法:

如果要防止错误日志, 中出现这些消息可以使用跟踪标志 2505 作为启动参数

要将跟踪标志 2505 作为 SQLServer 启动参数, 使用以下步骤:

1. 企业管理器, 右键单击服务器名称, 依次 属性 。
2. 在 常规 选项卡, 单击 启动参数 。
3. 添加以下作为新参数:
- T2505
4. 重新启动服务器对新参数才能生效

经服务器之家测试,上述改动容易造成sqlserver无法启动。

下面给出恢复方法:

如果根据上述的修改造成了sqlserver无法启动

通过注册表查找T2505 找个这个参数,删掉就可以了,具体的注册表位置如下:

 

复制代码 代码如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\Parameters]
"SQLArg0"="-dd:\\database\\sqlserver\\MSSQL\\data\\master.mdf"
"SQLArg1"="-ed:\\database\\sqlserver\\MSSQL\\log\\ERRORLOG"
"SQLArg2"="-ld:\\database\\sqlserver\\MSSQL\\data\\mastlog.ldf"

 

sql2000报错Successfully re-opened the local eventlog解决方法

延伸 · 阅读

精彩推荐