Solved

SQL Server Agent Won't Start

Posted on 2006-07-07
7
2,762 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 5 123
Slow SQL query 12 29
Increasing Identity length in sql server 4 20
shrink datafile Sql server 4 18
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now