Solved

SQL Server Agent Won't Start

Posted on 2006-07-07
7
2,780 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:Auerelio Vasquez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:Auerelio Vasquez
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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:Auerelio Vasquez
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

734 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