IT Community - Software Programming, Web Development and Technical Support

SQL Agent 2005 won't start ?

This is a discussion on SQL Agent 2005 won't start ? within the Server Management forums, part of the Servers and Hosting category; Hi, I am having a problem getting the SQL agent restarted. It ran properly for about a week then stopped. ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Servers and Hosting > Server Management

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-26-2007, 03:10 AM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,102
arjkhanna is on a distinguished road
Default SQL Agent 2005 won't start ?

Hi,

I am having a problem getting the SQL agent restarted. It ran properly for about a week then stopped. SQL Server is running fine. I've used the sp_configure to change the settings for 'Agent XPs' to 1. I can see the settings changed, but when I go through either the Management Studio or Surface Area configuration it fails and resets the 'Agent XPs' value back to zero. Here's the error I get in the sqlagent.out file:

2007-09-28 10:15:37 - ! [241] Startup error: Unable to initialize error reporting system (reason: The EventLog service has not been started)
2007-09-28 10:15:37 - ? [098] SQLServerAgent terminated (normally)

I don't see an EventLog service under services that I can start.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-26-2007, 06:28 AM
satheesh satheesh is offline
D-Web Programmer
 
Join Date: Aug 2007
Posts: 95
satheesh is on a distinguished road
Default SQL Agent 2005 won't start ?

Hi arjkhanna,

You should find a service called "Event Log" in the Services Control Panel. You can get to it through Administrative Tools -> Services.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-29-2007, 05:50 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default SQL Agent 2005 won't start ?

Hi,

Can you open cmd prompt and run this cmd?

sc query Eventlog

And share the output? E.g. I just did that on my box:

=============================

c:\>sc query Eventlog

SERVICE_NAME: Eventlog
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(NOT_STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

c:\>

=============================
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-31-2007, 07:40 AM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default SQL Agent 2005 won't start ?

Hi,

I am having the same problem. My SC Query Eventlog reads the same as yours. However, there is no service in my services list that says eventlog.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-02-2007, 05:58 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default SQL Agent 2005 won't start ?

Hi,

i am not sure why you can't find 'Event Log' service in your services snapin (launched by service.msc)

But sc query showed event log service is running, seems this is an agent service issue,
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-05-2007, 04:21 AM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default SQL Agent 2005 won't start ?

Hi ,

Just to post an update to this, This took a complete rebuid of the server to resolve. Because there was no "Event Log" service in the Services window, the Server Agent could not tell there was one running. I uninstalled and reinstalled SQL Server with no help. I then rebuilt the entire server and the agent would then run.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-06-2007, 06:02 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default SQL Agent 2005 won't start ?

Hi all,

Once I saw that a user was complaining about this same problem.

His SQL Server Agent service account was a local admin account. As his domain policy was changed and it was prohibited to use local accounts to start services, his SQL Server Agent raised this error.


To solve it, he used a Domain account for his SQL Server Agent service and it started working again.

I wrote this answer as a reference in future. Because I think formatting and installing from scratch is not a decent solution.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
validate a start date and an end date so that start is less than end itbarota HTML, CSS and Javascript Coding Techniques 1 02-08-2008 06:32 AM
How to manually remove Agent.PGV PenDrive Trogen/Worm/Virus sans Operating Systems 21 01-24-2008 08:32 PM
How to create a Setup file in VS 2005 to start a installer from a installer file? $enthil C# Programming 2 11-16-2007 03:10 AM
I Cannot access SQL 2005 integrated services after installing SQL-2005..? theone Database Support 1 07-27-2007 01:12 AM
Info on Get Mobile User Agent using PHP Jeyaseelansarc PHP Programming 0 07-17-2007 03:39 AM


All times are GMT -7. The time now is 11:16 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0