Solved

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

Posted on 2011-03-12
12
469 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
  • 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:psantiangeli
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
 
LVL 11

Expert Comment

by:psantiangeli
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:
psantiangeli 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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:psantiangeli
psantiangeli 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:psantiangeli
psantiangeli 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now