User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS SQL section within the Web Development category of DaniWeb, a massive community of 360,995 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,440 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS SQL advertiser:
Views: 4156 | Replies: 3
Reply
Join Date: Jun 2006
Posts: 4
Reputation: abahmer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abahmer abahmer is offline Offline
Newbie Poster

Troubleshooting SQL 2005 won't start after critical update reboot

  #1  
Jun 20th, 2006
I'm not sure if this is a Server 2003 issue or an MSSQL issue, so pardon the cross-post.

I have created a local user called "sql-daemon" to run MSSQL 2005. At the onset, everything works fine: I can reboot the server and all SQL processes start as expected.

Then, one day, I discover that SQL is not running. I check the server and find messages in the event logs stating that various SQL services couldn't start because of an authentication issue. The solution: from Services, I track down the SQL items and retype the (unchanged) password for my sql-daemon user. The first of these returns a message that "sql-daemon has been allowed to Run as Service." Peachy.

So, my question is: What is causing my sql-daemon user to be denied permission to Run as Service?

This has happened twice since the server was brought online back in March. The first time was by complete surprise and thought a fluke. The second time was June 16 - we caught the server as it was rebooting after a critical Windows update. After it rebooted, SQL would not start as described above. We have since fixed the auto-update settings to avoid rebooting without our knowledge, but we really want to be sure that SQL will be able to start successfully next time.

Thanks for your ideas!
~ Aaron
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Posts: 2
Reputation: nworbm is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
nworbm nworbm is offline Offline
Newbie Poster

Re: SQL 2005 won't start after critical update reboot

  #2  
Jul 14th, 2006
This problem was also happening to my SQL server and I was seeing the same error in the Event Viewer after a reboot; Event ID 7041 - The MSSQLSERVER service was unable to log on as BCB\sqladmin with the currently configured password due to the following error:
Logon failure: the user has not been granted the requested logon type at this computer.

I found that the account trying to start the services was added to the local computer policy "logon as a service", but was not in the default domain policy. If you have the rights, check in there. I am not able to reboot the server at this point to test this, but will reply back next week.

Hope this helps.
Reply With Quote  
Join Date: Jul 2006
Posts: 2
Reputation: nworbm is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
nworbm nworbm is offline Offline
Newbie Poster

Re: SQL 2005 won't start after critical update reboot

  #3  
Jul 16th, 2006
Aaron, adding the user to the default domain policy "login as service" corrected my issue.
Reply With Quote  
Join Date: Jun 2006
Posts: 4
Reputation: abahmer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abahmer abahmer is offline Offline
Newbie Poster

Re: SQL 2005 won't start after critical update reboot

  #4  
Jul 19th, 2006
nworbm,

Wow! Glad to hear this is the solution. Now I just have to talk to the right(s) people and get my user added to the policy. Thanks for helping with this mystery.

~ Aaron
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MS SQL Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the MS SQL Forum

All times are GMT -4. The time now is 6:45 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC