Solved

SQL Server Agent Won't Start

Posted on 2006-07-07
7
2,769 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

910 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

20 Experts available now in Live!

Get 1:1 Help Now