SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Can't start SQL Server service as Network Service


Can't start SQL Server service as Network Service

Author
Message
cphite
cphite
SSC Eights!
SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)

Group: General Forum Members
Points: 836 Visits: 721
I have a development server that is running SQL Server 2005. I was asked to install a new instance for some testing.

The previous service is running under NT Authority/Network Service and works. However, when I try to start the new instance under that account, I get an error saying it cannot start.

In the event viewer, I see errors regarding access to various SQL files in C:\Program Files\Microsoft SQL Server\MSSQL.4\MSSQL\ - I've explicitly granted the account full rights to that folder and everything below it but still no go.

Has anyone else run into this?
DBA From The Cold
DBA From The Cold
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3361 Visits: 1757
Hello,

Do you need the service to run under NETWORK SERVICE?

I would create an AD account for the service and use that. You can then assign the required access rights.

Andrew
cphite
cphite
SSC Eights!
SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)SSC Eights! (836 reputation)

Group: General Forum Members
Points: 836 Visits: 721
Mainly I just would like to know why it's not working, because it seems strange that it would work for one instance and not the other.

Thanks
DB_Newbie2007
DB_Newbie2007
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1028 Visits: 1346
Did you check to see if Network Service has permissions in the new instance?

USE Master
GO

select left(name,25) name, type, type_desc
from sys.server_principals AS log
WHERE (log.type in ('U', 'G', 'S', 'R'))
AND Name LIKE 'NT%'
order by 3,1

Argue for your limitations, and sure enough they're yours (Richard Bach, Illusions)
Steve Jones
Steve Jones
SSC Guru
SSC Guru (142K reputation)SSC Guru (142K reputation)SSC Guru (142K reputation)SSC Guru (142K reputation)SSC Guru (142K reputation)SSC Guru (142K reputation)SSC Guru (142K reputation)SSC Guru (142K reputation)

Group: Administrators
Points: 142340 Visits: 19424
Did you use Configuration Maanger to change the service? Check the log for errrors? If it ones for one instance, it has the rights for service start, but it might not have proper file permissions or permissions inside SQL Server for something.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
philcart
philcart
SSCrazy Eights
SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)

Group: General Forum Members
Points: 9461 Visits: 1441
cphite (1/31/2013)
... However, when I try to start the new instance under that account, I get an error saying it cannot start ...


What is the actual error message you're getting, and where do you see this error?
Did the install have any problems?
Have you tried setting the account from SQL Configuration Manager?

Hope this helps
Phill Carter
--------------------
Colt 45 - the original point and click interface

Australian SQL Server User Groups - My profile
Phills Philosophies
Murrumbeena Cricket Club
DBA From The Cold
DBA From The Cold
Hall of Fame
Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)Hall of Fame (3.4K reputation)

Group: General Forum Members
Points: 3361 Visits: 1757
Sorry been on holiday!

How have you been getting on with this?

Did using the configuration manager allow you to start the service under [NETWORK SERVICE] or did you get the same error?

Andrew
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search