Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

MS SQL 2008 R2 Server fails to start after upgrade to SP3. Getting message "Script level upgrade for database 'master' failed because upgrade step 'repl_master.sql' encountered error 213, state 1, severity 25." in errorlog

$
0
0

I attempted to upgrade MS SQL 2008 R2 SP1 to SP3. the upgrade setup.exe apparently succeeded but the instance refuses to start. Following are the  relevant messages in the <g class="gr_ gr_329 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="329" id="329">errorlog</g>. Is there a way to fix this without actually building the master ? Thanks

09-21 11:46:43.77 Logon       Error: 18401, Severity: 14, State: 1.
2016-09-21 11:46:43.77 Logon       Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Server is in script upgrade mode. Only administrator can connect at this time. [CLIENT: <local machine>]
2016-09-21 11:46:44.34 spid7s      Database 'master' is upgrading script 'repl_master.sql' from level 171051460 to level 171054960.
2016-09-21 11:46:44.37 spid7s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2016-09-21 11:46:44.37 spid7s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2016-09-21 11:46:44.37 spid7s      FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
2016-09-21 11:46:44.39 spid7s      Error: 213, Severity: 16, State: 1.
2016-09-21 11:46:44.39 spid7s      Column name or number of supplied values does not match table definition.
2016-09-21 11:46:44.39 spid7s      Error: 912, Severity: 21, State: 2.
2016-09-21 11:46:44.39 spid7s      Script level upgrade for database 'master' failed because upgrade step 'repl_master.sql' encountered error 213, state 1, 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 <g class="gr_ gr_233 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace gr-progress" data-gr-id="233" id="233">errorlog</g> entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2016-09-21 11:46:44.39 spid7s      Error: 3417, Severity: 21, State: 3.
2016-09-21 11:46:44.39 spid7s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair <g class="gr_ gr_238 gr-alert gr_gramm gr_run_anim Punctuation only-del replaceWithoutSep" data-gr-id="238" id="238">it,</g> or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2016-09-21 11:


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>