Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restarting SQL Agent automatically (not working)

Status
Not open for further replies.

Soiboy

Programmer
Jul 22, 2002
16
US
I have set SQL Server Agent to restart automatically if it stops unexpectedly. Unfortunately we have brief power outages, sometimes quite frequently. I take a look at the server after it is restarted and SQL Server Agent is stopped.

I have some fairly critical jobs that need to run on a periodic basis.
Is there any better way to make sure SQL Server Agent stays running or restarts if it stops?

thanks,

Ed
 
How about investing in a UPC device

“I sense many useless updates in you... Useless updates lead to defragmentation... Defragmentation leads to downtime...Downtime leads to suffering..Defragmentation is the path to the darkside.. DBCC INDEXDEFRAG and DBCC DBREINDEX are the force...May the force be with you" --
 
very funny.
We have UPCs for all the servers.
The problem is when the power outage is too long for the UPCs to handle (small company, no budget).

So is the real answer that SQL Server Agent will not restart even though it is set to start on boot and restart of stopped? Doesn't this setting actually work?
 
Set the agent to start automatically instead of manually. The server rebooting will not trigger the agent to start under the "stops unexpectally" method.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Any by agent I mean the service named SQLSERVERAGENT or SQLAGENT$InstanceName

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Thanks, I'll check out whether it is set to manual or not, I can't believe I was so stupid to expect it would be auto on boot.

SQLDenis, I have bookmarked your site as well as this one.
 
No problem. It's set to manual by default. It has to be changed after SQL is installed.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top