Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

How to diagnose startup failure for SQL Server Agent?

$
0
0

I am attempting to start SQL Server Agent and I receive this error (from event log):

-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
-<System>
<ProviderName="SQLSERVERAGENT"
/>
<EventID
Qualifiers
="49152">324</EventID>
<Level>2</Level>
<Task>5</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreatedSystemTime="2013-01-07T18:45:00.000000000Z" />
<EventRecordID>95043</EventRecordID>
<Channel>Application</Channel>
<Computer>MYCOMPUTER.mydomain.com</Computer>
<Security/>
</System>
-<EventData>
<Data>OpenSQLServerInstanceRegKey:GetRegKeyAccessMask failed</Data>
<Data>2</Data>
</EventData>

</Event>

How do I determine the cause of this error.

I am running SQL Server 2012, attempting to setup CDC jobs. Ran :

sp_configure 'show advanced options', 1;
GO
RECONFIGURE
go
sp_configure 'Agent XPs', 1;
GO

in SSMS prior to starting the agent.

I cannot find the dbo.sp_get_sql_agent_properties even logging in as SA.

Thanks

Additional information:

Looking at the ERRORLOG, I see these lines:

2013-01-07 13:35:45.98 spid51      Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
2013-01-07 13:36:19.04 spid51      Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.

I then attempt to start the Agent, and I see  this line:

2013-01-07 13:36:52.24 spid54      Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.

Any idea what's happening?

Thanks


Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>