Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Unable to start SQL Server service

Author  Topic 

rama108
Posting Yak Master

115 Posts

Posted - 2014-01-17 : 15:26:55
Hello,
I searched on the internet for hours but cannot resolve my issue, so this is my last resort.
I have 2 instances of SQL Server 2012 on my local machine (Windows 7). One instance starts without any problem, but when I start the other instance from the Services, it starts and immediately it stops.

When I try to Connect to server using SSMS, I get the following error:

No Connection could be made because the target machine actively refused it

My event log shows the following error:

An error occurred during recovery, preventing the database 'model' (3:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.

Thanks for your help.

ovc
Starting Member

35 Posts

Posted - 2014-01-19 : 18:17:19
Follow the steps mentioned in the following article.
http://blogs.msdn.com/b/karthick_pk/archive/2010/11/26/the-database-model-is-marked-restoring-and-is-in-a-state-that-does-not-allow-recovery-to-be-run.aspx

In step 5 sp_attach_db will crash the instance as in versions 2008 and later it uses tempdb (which could not be created because the model database is in restoring state).Instead use CREATE DATABASE ... FOR ATTACH
Go to Top of Page
   

- Advertisement -