日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

SQL SERVER 2012启动失败 because upgrade step 'SSIS_hotfix_install.sql' 失败

發(fā)布時(shí)間:2025/3/20 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SQL SERVER 2012启动失败 because upgrade step 'SSIS_hotfix_install.sql' 失败 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

有臺(tái)數(shù)據(jù)庫(kù)服務(wù)器(開(kāi)發(fā)服務(wù)器),開(kāi)發(fā)人員郵件告訴我,SSMS連接不了這臺(tái)服務(wù)器,遠(yuǎn)程登錄后,發(fā)現(xiàn)SQL SERVER的服務(wù)停止了,啟動(dòng)服務(wù)時(shí)報(bào)錯(cuò),服務(wù)啟動(dòng)不了。檢查錯(cuò)誤日志發(fā)現(xiàn)下面一些信息

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 initiated2015-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.

??? 真是一頭霧水,不知道是否同事做了什么操作(補(bǔ)丁升級(jí)之類(lèi))導(dǎo)致出現(xiàn)了數(shù)據(jù)庫(kù)服務(wù)啟動(dòng)不了的錯(cuò)誤。于是按照下面步驟進(jìn)行了緊急修復(fù)處理:

?

1:啟動(dòng) SQL Server 服務(wù)啟跟蹤標(biāo)志902

?

一般使用命令: Net Start MSSQL$InstanceName /T902? 如果是默認(rèn)實(shí)例 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:啟動(dòng)SQL SERVER后,在本機(jī)使用SSMS連接數(shù)據(jù)庫(kù)

??? 如下所示,你會(huì)看到SSISDB處于脫機(jī)模式(Offline),先將數(shù)據(jù)庫(kù)SSISDB分離。

3:找到 SSIS_hotfix_install.sql腳本并執(zhí)行。

SSIS_hotfix_install.sql腳本一般位于安裝目錄 \Program Files\Microsoft SQL Server\MSSQL11.MSSQL$InstanceName \MSSQL\Install下,例如這臺(tái)服務(wù)器位于C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Install目錄下

?

?

4:執(zhí)行命令net stop MSSQLSERVER關(guān)閉SQL服務(wù)。

?

5:從SQL Server Configuration Manager里面啟動(dòng)SQL SERVER服務(wù)。

?

6:附加剛才被分離的數(shù)據(jù)庫(kù)SSISDB

??? 附加時(shí)出現(xiàn)下面錯(cuò)誤,這個(gè)是因?yàn)閃indows SERVER 2012的權(quán)限問(wèn)題所導(dǎo)致,關(guān)掉SSMS后,要以管理員運(yùn)行SSMS,附加成功。問(wèn)題解決。

?

參考資料:

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

總結(jié)

以上是生活随笔為你收集整理的SQL SERVER 2012启动失败 because upgrade step 'SSIS_hotfix_install.sql' 失败的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。