?
Solved

SQL Server Agent Won't Start

Posted on 2006-07-07
7
Medium Priority
?
2,814 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
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 1500 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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

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

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!

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

839 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