Unable to start SQL Agent SQL Server 2008 R2 RTM OS: Windows 2008 R2
Agent Log
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Registry information is corrupt or missing. Make sure the provider installed and registered correctly. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Client unable to establish connection [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [165] ODBC Error: 0, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to
allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Registry information is corrupt or missing. Make sure the provider installed and registered correctly. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Client unable to establish connection [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [165] ODBC Error: 0, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to
allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
2012-04-17 22:17:23 - ? [098] SQLServerAgent terminated (normally)
EventLog:
SQLServerAgent could not be started (reason: Unable to connect to server '<ServerNAme>'; SQLServerAgent cannot start).
TITLE: Microsoft SQL Server Management Studio
------------------------------
Unable to start service SQLSERVERAGENT on server <Server Name>. (mscorlib)
------------------------------
ADDITIONAL INFORMATION:
The SQLSERVERAGENT service on <Server Name> started and then stopped. (ObjectExplorer)
------------------------------
BUTTONS:
OK
------------------------------
Uninstalled couple of times and Reinstall still getting the same Error and also tried below workarounds:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO
[HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\SQLServerAgent] PATH is Correct
Can you please share with you if have any fix for this issue.
Note: Services are running under service account [Domain Account] and also has SA privilage.
Thanks
Nag
Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful ::