Solved

SQL Server Agent Won't Start

Posted on 2006-07-07
7
2,772 Views
Last Modified: 2008-04-07
I'm having alot of trouble trying to restart SQL AGENT. It was working fine, and i'm not really familiar with system. However, i set the user in the services to the user 'sqladmin' and put in the password. The service says it started then stopped.... When i look in the even log this is what is see.....

SQLSERVERAGENT could not be started (reason: SQLSERVERAGENT must be able to connect to sql server as sysadmin, but ('Unknown)' is not a member of the SysAdmin role)

This is weird becuase it's not recognizing the user that i have entered, however his was working, and to my knowledge nothing has changed (According to the users).  I have tried everything that microsoft has recommended to no avail. Has anyone else seen this error ?

here is the error in the SQL Agent Log:

2006-07-07 11:28:12 - ! [298] SQLServer Error: 229, EXECUTE permission denied on object 'sp_sqlagent_has_server_access', database 'msdb', owner 'dbo'. [SQLSTATE 42000] (ConnIsLoginSysAdmin)
2006-07-07 11:28:12 - ! [298] SQLServer Error: 229, EXECUTE permission denied on object 'sp_sqlagent_get_startup_info', database 'msdb', owner 'dbo'. [SQLSTATE 42000]
2006-07-07 11:28:12 - ? [100] Microsoft SQLServerAgent version 8.00.760 (x86 unicode retail build) : Process ID
2006-07-07 11:28:12 - ? [100] Microsoft SQLServerAgent version 8.00.760 (x86 unicode retail build) : Process ID 10752
2006-07-07 11:28:12 - ? [101] SQL Server  version 8.00.818 (0 connection limit)
2006-07-07 11:28:12 - ? [102] SQL Server ODBC driver version 3.86.1830
2006-07-07 11:28:12 - ? [103] NetLib being used by driver is DBMSSHRN.DLL; Local host server is
2006-07-07 11:28:12 - ? [310] 8 processor(s) and 2048 MB RAM detected
2006-07-07 11:28:12 - ? [339] Local computer is HRMISRPT1 running Windows NT 5.2 (3790) Service Pack 1
2006-07-07 11:28:12 - ! [000] SQLServerAgent must be able to connect to SQLServer as SysAdmin, but '(Unknown)' is not a member of the SysAdmin role
2006-07-07 11:28:13 - ? [098] SQLServerAgent terminated (normally)


0
Comment
Question by:basile
7 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 17059915
I think this is the problem with the user account / password
0
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
ID: 17059931
I think this is the problem with the user account / password of the MSSQLserverAgent starts with
run 'services.msc'  and find the service account
0
 
LVL 1

Author Comment

by:basile
ID: 17059935
the user and password are the same as the SQL Server Service, so i know that it's entered correctly. This problem is unique to that, beucase i check that previously......
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

Expert Comment

by:RichardSchlap
ID: 17060000
Make that user a local admin on the box where sql is running, then start sql agent
0
 
LVL 1

Author Comment

by:basile
ID: 17060522
the user is a local admin, still same problem
0
 

Expert Comment

by:hedyds
ID: 21422594
What is the SOLUTION?  
0
 

Expert Comment

by:Athanyel
ID: 22797884
We ran into this with SQL Server 2005 and fixed the problem by making sure that the account running SQL Server (not the SQL Server Agent) had the Lock Pages in Memory right.

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question