I have a couple of servers where SQL Server 2000 Standard Edition is set to Autostart, but the service is not starting on reboot. The event logs look fine. Any ideas? Works fine on most servers, and starts right up manually.
What about this. Do the service accounts have "Log on as a Service" rights?
You're not using the Network Service account for the services, are you? (MS doesn't recommend it).
Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
Yes. It has "Log on as a Service" rights. It's a custom domain account created specifically for the SQL services. Hmmmmmmmm.....
I can't help but wonder if we're looking at this incorrectly. The rights have to be fine unless they are local or the other servers would exhibit the same behavior. Locally, they have to be correct because everything works once manually started.
Does that makes sense? I just can't see why the services won't start with the OS.
A local group policy on your two servers would override any domain / global group policies, especially if there is a DENY in there somewhere. So, verify the local security settings in the OS to make sure something isn't over-riding the Autostart.
I googled "Service will not Autostart" and got a whole bunch of Microsoft links, but didn't find your specific error. You might want to try it to see if any of these things jog your memory on something.
Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
Oh, I forgot to ask. These servers, how long have they been around and have they ever Autostarted before? Or are these recent installs? Are the servers part of the same domain as the domain user login? Are they using 2-way trust in the domain or have you (or anyone) undone the Trusts between these servers and the rest of the domain?
If the servers don't have 2-way trust in the domain, it could be that they are not trusting the domain SQL account and therefore won't let it start the services until manually prompted.
And lastly, have you tried changing the services to manual. Stopping & restarting. Then stopping them again, changing them back to Auto, then restarting... Just for kicks to see if something is stuck.
Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
FYI: Local Policy's are overwridden by Domain Policies, not the other way around.
Security policies are applied in this order.
Local
Site
Domain
OUs.
If local policys are changed and overwrite a domain policy, the next time that the machine updates it's GPOs the policy will be set back to the domain policy.
Are there any other services which aren't auto starting?
I thought DENY overrode everything, even a domain policy. Doesn't it?
Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
If you have a local policy which denies the Domain Administrators network access to your workstation, a domain policy can overwrite that. GPOs can either overwrite or be combined. Typically the policy which would set something like this would be set to overwrite.
Now if you had a local policy which added a user to the DENY Network Access, and a GPO which set the GRANT Network Access to the same user, and the GPO does not reset the DENY Network Access to no one, then the DENY will win, because the DENY was never overwritten.
Chris,
Have you tried putting a delay on the SQL service. There could be something prevent SQL from starting but if you delay the service even by a second it might start.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.