|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
Добрый день, На одном из серверов с 2019-м сиквелом установил патч: SQLServer2019-KB4583458-x64 После установки сиквел отказывается стартовать: автор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. авторScript level upgrade for database 'master' failed because upgrade step 'ISServer_upgrade.sql' encountered error 15151, state 1, severity 16. 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. Причем мы восстановили образ сервера до установки патча в изолированной сети и при повторной установке таже проблема: патч сломал базу master. Открыл лог установки патча, вот последние его строки: автор2021-03-12 16:08:30.39 spid9s Permission control of the stored procedure 2021-03-12 16:08:30.41 spid9s Error: 15151, Severity: 16, State: 1. 2021-03-12 16:08:30.41 spid9s Cannot find the login '##MS_SSISServerCleanupJobLogin##', because it does not exist or you do not have permission. 2021-03-12 16:08:30.41 spid9s The failed batch of t-sql statements : GRANT VIEW SERVER STATE TO ##MS_SSISServerCleanupJobLogin## 2021-03-12 16:08:30.41 spid9s Error: 912, Severity: 21, State: 2. 2021-03-12 16:08:30.41 spid9s Script level upgrade for database 'master' failed because upgrade step 'ISServer_upgrade.sql' encountered error 15151, state 1, severity 16. 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. 2021-03-12 16:08:30.41 spid9s Error: 3417, Severity: 21, State: 3. 2021-03-12 16:08:30.41 spid9s 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. 2021-03-12 16:08:30.41 spid9s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required. Как это поправить? Патч откатили, но его установить все равно надо. На других таких же серверах проблем с установкой не было. ... |
|||
:
Нравится:
Не нравится:
|
|||
15.03.2021, 09:41 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
А Вы смотрели, есть ли действительно логин ##MS_SSISServerCleanupJobLogin##? Совпадает ли набор прав у него с аналогичным на других серверах? ... |
|||
:
Нравится:
Не нравится:
|
|||
15.03.2021, 10:00 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
Александр Гладченко А Вы смотрели, есть ли действительно логин ##MS_SSISServerCleanupJobLogin##? Совпадает ли набор прав у него с аналогичным на других серверах? Такого логина нет ни на одном из моих серверов. При этом на всех остальных серверах этот патч установился и такой ошибки там не было. ... |
|||
:
Нравится:
Не нравится:
|
|||
16.03.2021, 01:58 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
Roust_m, установлены службы Intergftion Services? Проверьте. ... |
|||
:
Нравится:
Не нравится:
|
|||
16.03.2021, 09:44 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
Найдите в папке установки скрипт 'ISServer_upgrade.sql', в нём найдите поиском скрипт создания/удаления этого логина и посмотрите, что не получается. ... |
|||
:
Нравится:
Не нравится:
|
|||
16.03.2021, 09:51 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
Нашел решение, может кому пригодится: Код: sql 1. 2. 3. 4. 5. 6.
Из первого скрипта берем значение @sid и используем во втором скрипте: Код: sql 1. 2. 3. 4. 5. 6. 7. 8.
... |
|||
:
Нравится:
Не нравится:
|
|||
17.03.2021, 08:23 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
Roust_m, судя по всему, можно просто создать этот логин, а уже в базе SSISDB поправить sid процедурой sp_change_users_login ... |
|||
:
Нравится:
Не нравится:
|
|||
17.03.2021, 10:54 |
|
После установки патча ломается база master
|
|||
---|---|---|---|
#18+
В таких случаях первым, что надо сделать - выполнить reapir из приложения установки. У ТС, как я и предполагал, службы Integration Services установлены, но кто-то удалил логин, связанный с очисткой истории. ... |
|||
:
Нравится:
Не нравится:
|
|||
17.03.2021, 12:40 |
|
|
start [/forum/topic.php?fid=46&msg=40054524&tid=1684945]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
61ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
others: | 311ms |
total: | 455ms |
0 / 0 |