• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

SBS 2003 R2 SQL 2005 service won't start after Blue Screen

I had a Blue Screen event on 10 March 2011.

Since rebooting the system none of the SQL services start, nor do any services that have a reliance on SQL (such as my Blackberry Enterprise Server etc).

I have a full system back up from 9 March 2011.

How do I restore the system, including everything to do with SQL, to the 9 March condition? I know how to restore the System State from my NT Backup, but will I have any problems if I also restore the WINDOWS folder and the rest of my OS (C Partition)?

Is there an easier way to restore SQL?
0
Marcus N
Asked:
Marcus N
  • 7
  • 5
3 Solutions
 
Marcus NTeacherAuthor Commented:
In SQL Server Configuration Manager the there are two services with red dots against them, these are:
SQL Server (MSSQLSERVER)
SQL Server Agent (MSSQLSERVER)

They won't start.
0
 
Paolo SantiangeliConsulente InformaticoCommented:
Hi,
Sql services should log something in event log about the reasons it dont start however
you can restore system state and then the sql server application and data folders.

have a look here:
http://www.exforsys.com/tutorials/sql-server-2005/sql-server-disaster-recovery.html
0
 
Marcus NTeacherAuthor Commented:
Thanks, but SQL isn't running. Do I have to uninstall SQL and reinstall, or is there something elseiI can do to repair the application? Can I just recover from the full WINDOWS folder back up of the day before?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Paolo SantiangeliConsulente InformaticoCommented:
Usually sql server 2005 folder is in Program Files directory not in WINDOWS folder. u should restore it.

Where did you install sql server 2005 and its data folder?



0
 
Marcus NTeacherAuthor Commented:
I've backed up WINDOWS and Program Files. Should I restore both? All the data is in the default SQL location.
0
 
Paolo SantiangeliConsulente InformaticoCommented:
you have to look either in system event log and in application event log for SQL errors...

then i should do the following steps:

1. rename the sql folder in program files directory (es. adding an "old")
2. restore ONLY the sql folder in Program files
3. test starting sql service
4. if it doesnt work do a "system state" restore
5. test starting sql service again

0
 
Marcus NTeacherAuthor Commented:
Thanks. Followed instructions (1) to (5). SQL still won't start. Restored Program Files and System State from the last good back up. Still SQL won't start. Any other ideas?

What are the pros and cons of uninstalling SQL completely and then reinstalling it? What folders and settings do I need to manage in order to have the functionality that I had before the Blue Screen event?
0
 
Paolo SantiangeliConsulente InformaticoCommented:
you can unistall it taking care of the data folders the ones which contains mdf and ldf files

are u sure the event logs are not reporting anything avout sql server?
0
 
Marcus NTeacherAuthor Commented:
There appear to be a lot of log files. Which do I need to look at?

When I attempt to restart the SQL Server (MSSQLSERVER) I now get the following error message.

"Windows could not start the SQL Server (MSSQLSERVER) blah blah... ...refer to service-specific error code 3417."

I've started to look that up on the web but if you have any suggestions, I'd be really keen to hear them.

Thanks, Marcus
0
 
Marcus NTeacherAuthor Commented:
I'm making a bit of progress with the diagnosis. The last error in the ERRORLOG is;

"Cannot recover the master database. SQL server is unable to run. Restore master from a full backup..."

What confuses me is that I have already done this following your points 1 dnd 2. I'll try again.
0
 
Paolo SantiangeliConsulente InformaticoCommented:
well it could be a disk problem,
try to run chkdsk if you didnt do it already

you can also try to install fresh copy of sql server and the attach your dbs
0
 
Marcus NTeacherAuthor Commented:
Had to uninstall and reinstall SQL 2005 in the end.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now