Solved

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

Posted on 2011-03-12
12
480 Views
Last Modified: 2012-06-27
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
Comment
Question by:MarcusN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 

Author Comment

by:MarcusN
ID: 35115672
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
 
LVL 11

Expert Comment

by:Paolo Santiangeli
ID: 35115803
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
 

Author Comment

by:MarcusN
ID: 35116563
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
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
LVL 11

Expert Comment

by:Paolo Santiangeli
ID: 35116815
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
 

Author Comment

by:MarcusN
ID: 35116845
I've backed up WINDOWS and Program Files. Should I restore both? All the data is in the default SQL location.
0
 
LVL 11

Accepted Solution

by:
Paolo Santiangeli earned 500 total points
ID: 35116878
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
 

Author Comment

by:MarcusN
ID: 35120456
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
 
LVL 11

Assisted Solution

by:Paolo Santiangeli
Paolo Santiangeli earned 500 total points
ID: 35120814
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
 

Author Comment

by:MarcusN
ID: 35121469
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
 

Author Comment

by:MarcusN
ID: 35121622
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
 
LVL 11

Assisted Solution

by:Paolo Santiangeli
Paolo Santiangeli earned 500 total points
ID: 35122990
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
 

Author Closing Comment

by:MarcusN
ID: 35127328
Had to uninstall and reinstall SQL 2005 in the end.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question