all groups > sql server misc > september 2003 >
You're in the

sql server misc

group:

Accounts for SQLServer service vs SQLServerAgent service



Accounts for SQLServer service vs SQLServerAgent service CJM
9/1/2003 3:17:34 PM
sql server misc: I've just changed the account under which SQL Server starts on my
development server. The new account has admin rights, and a corresponding
Exchange email account - so I can now receive alerts at various points.

I've restarted the server, and the SQL Server service seems to be running
OK.

However, I cant get the SQLServerAgent service running. It comes up with the
following error:

Service Control Failure:
An error 1069 - (The service did not start due to a logon failure) occured
while performing this service operation on th SQLServerAgent service.

To be honest, I'm not sure if the Agent service was running previously, so
the change in account details might be a red herring.

To get it working, I changed the account from a Windows account, to the
System Account - under this setup, the Agent started fine, but then I found
the SQL Mail test failed.

Now the SQLServer service uses the Windows Account, but the SQLServerAgent
service uses the System Account, and... touch wood... they both appear to be
working...

I'm just curious if my setup is correct, ie. is this a common scenario or
should both services be under the same (Windows?) account? It seems a little
odd to use differing accounts.

Thanks

Chris


Re: Accounts for SQLServer service vs SQLServerAgent service Mike Epprecht
9/1/2003 4:24:19 PM
Ideally, from a security perspective, you should use 2 different domain
accounts. Then you can audit what each one is doing.

The SQLServerAgent account, did it have log on locally rights, and if the
server is a domain controller, it needs more than just a Domain User rights.

Regards

----------------------------
Mike Epprecht
Epprecht Consulting (PTY) LTD
Johannesburg, South Africa
Mobile: +27-82-552-0268

Specialist SQL Server Solutions and Consulting

[quoted text, click to view]

AddThis Social Bookmark Button