Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 SQL job failed

Author  Topic 

matthew00
Starting Member

10 Posts

Posted - 2012-10-11 : 17:49:40
I have SQL agent running on "Local system" and I have job running as SQL local account. All sudden, jobs failed. when I changed SQL Agent running as "network account" who is admin the server and job started working again.

why?

Thanks,

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-10-11 : 18:57:56
may be priviledges of sql login got revoked or sql login got expired

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

matthew00
Starting Member

10 Posts

Posted - 2012-10-11 : 19:24:34
SQL log in had sysadm and password is correct


any other thoughts?
Go to Top of Page

matthew00
Starting Member

10 Posts

Posted - 2012-10-11 : 19:29:19
and password is set to not to expire. If I change SQL agent service to run by network account then job will run.....below is the error I got:

Executed as user: NT AUTHORITY\SYSTEM. Login failed for user 'Domain_name\computer_name$'. [SQLSTATE 28000] (Error 18456). The step failed.
Go to Top of Page

NeilG
Aged Yak Warrior

530 Posts

Posted - 2012-10-12 : 03:48:15
Are you trying to carry out a function on another SQL instance? its all pointing to a credential error.

Try creating a domain account to run you SQL Agent Server

-----------------------------------------------
Learning something new on SQL Server everyday.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-10-12 : 12:59:29
quote:
Originally posted by matthew00

and password is set to not to expire. If I change SQL agent service to run by network account then job will run.....below is the error I got:

Executed as user: NT AUTHORITY\SYSTEM. Login failed for user 'Domain_name\computer_name$'. [SQLSTATE 28000] (Error 18456). The step failed.


this doesnt look like a SQL login. its a windows login

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -