有台数据库服务器(开发服务器),开发人员邮件告诉我,SSMS连接不了这台服务器,远程登录后,发现SQL SERVER的服务停止了,启动服务时报错,服务启动不了。检查错误日志发现下面一些信息

2015-10-14 13:47:09.98 spid17s     The Service Broker endpoint is in disabled or stopped state.
2015-10-14 13:47:10.03 spid17s     The Database Mirroring endpoint is in disabled or stopped state.
2015-10-14 13:47:10.13 spid17s     Service Broker manager has started.
2015-10-14 13:47:11.98 spid7s      Database 'master' is upgrading script 'SSIS_hotfix_install.sql' from level 201328592 to level 201330692.
2015-10-14 13:47:13.99 spid7s      Error: 942, Severity: 14, State: 4.
2015-10-14 13:47:13.99 spid7s      Database 'SSISDB' cannot be opened because it is offline.
2015-10-14 13:47:14.11 spid7s      Error: 912, Severity: 21, State: 2.
2015-10-14 13:47:14.11 spid7s      Script level upgrade for database 'master' failed because upgrade step 'SSIS_hotfix_install.sql' encountered error 942, state 4, severity 25. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2015-10-14 13:47:14.14 spid7s      Error: 3417, Severity: 21, State: 3.
2015-10-14 13:47:14.14 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.
2015-10-14 13:47:14.14 spid7s      SQL Server shutdown has been initiated
2015-10-14 13:47:14.14 spid7s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2015-10-14 13:47:15.15 spid7s      Error: 25725, Severity: 16, State: 1.
2015-10-14 13:47:15.15 spid7s      An error occurred while trying to flush all running Extended Event sessions.  Some events may be lost.
2015-10-14 13:47:15.17 spid13s     The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/GETNTXX.XXX.XXXX.com:1433 ] for the SQL Server service. Error: 0x2af9, state: 61. Administrator should deregister this SPN manually to avoid client authentication errors.
2015-10-14 13:47:15.17 spid13s     The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/GETNTXX.XXX.XXXX.com:1433 ] for the SQL Server service. Error: 0x2af9, state: 61. Administrator should deregister this SPN manually to avoid client authentication errors.

真是一头雾水,不知道是否同事做了什么操作(补丁升级之类)导致出现了数据库服务启动不了的错误。于是按照下面步骤进行了紧急修复处理:

1:启动 SQL Server 服务启跟踪标志902

一般使用命令: Net Start MSSQL$InstanceName /T902  如果是默认实例 Net Start MSSQLSERVER /T902

C:\Windows\system32>net start MSSQLSERVER /T902

The SQL Server (MSSQLSERVER) service is starting.

The SQL Server (MSSQLSERVER) service was started successfully.

2:启动SQL SERVER后,在本机使用SSMS连接数据库

如下所示,你会看到SSISDB处于脱机模式(Offline),先将数据库SSISDB分离。

3:找到 SSIS_hotfix_install.sql脚本并执行。

SSIS_hotfix_install.sql脚本一般位于安装目录 \Program Files\Microsoft SQL Server\MSSQL11.MSSQL$InstanceName \MSSQL\Install下,例如这台服务器位于C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Install目录下

4:执行命令net stop MSSQLSERVER关闭SQL服务。

5:从SQL Server Configuration Manager里面启动SQL SERVER服务。

6:附加刚才被分离的数据库SSISDB

附加时出现下面错误,这个是因为Windows SERVER 2012的权限问题所导致,关掉SSMS后,要以管理员运行SSMS,附加成功。问题解决。

参考资料:

http://ayadshammout.com/2014/02/04/sql-2012-sp1-cu6-issue-with-ssis-db-in-availability-group/

SQL SERVER 2012启动失败 because upgrade step 'SSIS_hotfix_install.sql' 失败相关推荐

  1. Java连接SQL Server 2012【查看自己电脑上的SQL Server端口号;附:jar包】

    目   录 1.查看自己电脑上的SQL Server端口号 2.Java连接SQL Server数据库 2.1.jar包下载 2.2.Java项目:导入jar包 2.3.Java连接SQL Serve ...

  2. SQL SERVER服务启动不了:请求失败或服务未及时响应。有关详细信息请参见事件日志或其他的错误日志

    不知怎么回事,SQL SERVER服务启动不了,提示:请求失败或服务未及时响应.有关详细信息请参见事件日志或其他的错误日志.在网上找好久才找到答案:停用"VIA协议"问题解决. 停 ...

  3. 整合SQL Server 2012和2014

    (For now we are not going to discuss how this can be implemented with SQL Server 2008 or SQL Server ...

  4. Win7 安装SQL SERVER 2012需要SP1补丁

    在操作系统Win7上安装SQL Server 2012时,报如下错误: 也就是说SQL Server 2012如要要安装在Windows 7 上,则至少需要安装SP1补丁.否则就会弹出上面提示信息.关 ...

  5. 微软BI 之SSAS 系列 - 在 SQL Server 2012 下查看 SSAS 分析服务的模型以及几个模型的简单介绍...

    在SSDT中部署一个 SSAS 项目到本地服务器上出现错误. You cannot deploy the model because the localhost deployment server i ...

  6. SQL Server 2012笔记分享-6:理解内存管理

    内存管理 – SQL Server 2005/2008/2008r2 SQL Server 2012以前的版本(SQL 2005/2008/2008R2),有single page allocator ...

  7. SQL Server 2012新功能

    SQL Server 2012 对微软来说是一个重要产品.微软把自己定位为可用性和大数据领域的领头羊. 1. AlwaysOn -这个功能将数据库的镜像提到了一个新的高度.用户可以针对一组数据库做灾难 ...

  8. SQL SERVER 2012安装

    安装SQL Server 2012的软硬件环境参数 根据微软的下载提示,32位的Windows 7操作系统,只需下载列表最下面的CHSx86SQLFULL_x86_CHS_Core.box. CHSx ...

  9. iso sqlserver2012sp1_SQL Server 2008 R2升级到SQL Server 2012 SP1

    1.建议对生产环境对的数据库升级之前做好备份,以防不测. 2.从SQL Server 2008 R2 升级到SQL Server 2012 SP1,需要先安装SQL Server 2008 R2 的S ...

最新文章

  1. 【洛谷P1186】玛丽卡(断边+最短路)
  2. 从挂起到实现,你知道内核是如何实现的?
  3. Kettle使用_2变量替换之设置标量
  4. 左神算法:猫狗队列(通过给不同实例盖时间戳的方法实现)
  5. c语言实现的optics算法,基于深度学习的光学系统设计方法
  6. 随手练—— 洛谷-P2945 Sand Castle(贪心)
  7. 如何修改 WordPress 的用户默认头像?
  8. python 欠采样_欠采样(undersampling)和过采样(oversampling)会对模型带来怎样的影响?...
  9. 单片机流水灯C语言实验报告,单片机LED灯实验报告.doc
  10. signature=45f2913b66c5b2ae668a6622be005d65,国开大《商务英语4》自测试题及答案
  11. HuTool工具最全介绍
  12. luckysheet实现打印功能
  13. 视频教程-全国计算机二级MS OFFICE考前冲刺课程-计算机等级考试
  14. 云办公系统 skyeye v3.7.16 部分企业版开源
  15. PUCCH(2)格式与DTX检测(源于5G上行控制信道增强技术研究)
  16. matlab示波器怎么求值,matlab示波器用法
  17. java堆和栈分别存什么类型_栈、堆、方法区分别存储什么内容
  18. 我的创作纪念日——“永远相信美好的事情即将发生”
  19. 云服务案例分析 BB平台 Quiz3
  20. 防孤岛保护装置在光伏行业的应用

热门文章

  1. python猜单词游戏_python 游戏(猜单词Hangman)
  2. 深度学习:yolo v3训练结果测试
  3. linux中anconda python集成环境配置
  4. Inductive Robust Principal Component Analysis
  5. 【阿里云课程】生成模型之GAN优化目标设计与改进
  6. 揭秘7大AI学习板块,这个星球推荐你拥有
  7. 全球及中国天然气终端销售市场产量预测及发展策略分析报告2021年版
  8. 全球及中国铝拉丝润滑剂行业竞争格局及运营前景研究报告2021-2027年
  9. 蒙特卡洛积分与重要性采样详解
  10. [转]基于Prototype,利用Canvas绘图实现的web流程图设计器(原型)