SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


No able to start SQL server agent


No able to start SQL server agent

Author
Message
techzone12
techzone12
Right there with Babe
Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)

Group: General Forum Members
Points: 792 Visits: 166
I am gettening a "Unhadled excpetion" error , every time I try to start
SQL server agent?? I am using remote desktop connection to server. I am not sure if this actually matter. I am connecting to the server with an admin account. The account role is set to be "sysadmin".

When I look at the "SQL server agent" error log, this is what I see:

Date,Source,Severity,Message
12/21/2010 17:45:09,,Information,[098] SQLServerAgent terminated (normally)
12/21/2010 17:45:09,,Error,[382] Logon to server 'EnergyData1' failed (DisableAgentXPs)
12/21/2010 17:45:09,,Error,[298] SQLServer Error: 5<c/> 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]
12/21/2010 17:45:09,,Error,[165] ODBC Error: 0<c/> Login timeout expired [SQLSTATE HYT00]
12/21/2010 17:45:09,,Error,[298] SQLServer Error: 5<c/> Named Pipes Provider: Could not open a connection to SQL Server [5]. [SQLSTATE 08001]
12/21/2010 17:45:04,,Error,[000] Unable to connect to server 'EnergyData1'; SQLServerAgent cannot start
12/21/2010 17:45:04,,Error,[298] SQLServer Error: 5<c/> 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]
12/21/2010 17:45:04,,Error,[165] ODBC Error: 0<c/> Login timeout expired [SQLSTATE HYT00]
12/21/2010 17:45:04,,Error,[298] SQLServer Error: 5<c/> Named P
Elliott Whitlow
Elliott Whitlow
SSC Guru
SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)

Group: General Forum Members
Points: 58010 Visits: 5314
Give this a go:
EXEC sp_configure 'show advanced options', 1
RECONFIGURE
GO

EXEC sp_configure 'Agent XPs', 1
RECONFIGURE
GO



CEWII
techzone12
techzone12
Right there with Babe
Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)

Group: General Forum Members
Points: 792 Visits: 166
Date,Source,Severity,Message
12/22/2010 09:19:24,,Information,[098] SQLServerAgent terminated (normally)
12/22/2010 09:19:24,,Error,[382] Logon to server 'EnergyData1' failed (DisableAgentXPs)
12/22/2010 09:19:24,,Error,[298] SQLServer Error: 5<c/> 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]
12/22/2010 09:19:24,,Error,[165] ODBC Error: 0<c/> Login timeout expired [SQLSTATE HYT00]
12/22/2010 09:19:24,,Error,[298] SQLServer Error: 5<c/> Named Pipes Provider: Could not open a connection to SQL Server [5]. [SQLSTATE 08001]
12/22/2010 09:19:19,,Error,[000] Unable to connect to server 'EnergyData1'; SQLServerAgent cannot start
12/22/2010 09:19:19,,Error,[298] SQLServer Error: 5<c/> 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]
12/22/2010 09:19:19,,Error,[165] ODBC Error: 0<c/> Login timeout expired [SQLSTATE HYT00]
12/22/2010 09:19:19,,Error,[298] SQLServer Error: 5<c/> Named Pipes Provider: Could not open a connection to SQL Server [5]. [SQLSTATE 08001]
Geoff A
Geoff A
SSCertifiable
SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)

Group: General Forum Members
Points: 6442 Visits: 1835
under what service account does the Agent try to start?
techzone12
techzone12
Right there with Babe
Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)Right there with Babe (792 reputation)

Group: General Forum Members
Points: 792 Visits: 166
I solved it.

Right click on Server Server Agent. Select "properties". Go to connection. Under "Alias local host server" I deleted whatever was there (I had server name there, which is the only instance), and left it empty!

Now SQL server agent starts fine!!
jayoub
jayoub
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3612 Visits: 639
I am having the exact opposite problem

When i remove the FQDN from the alias the service will not start and I get the below error messages: one in Windows application log and the other in the agentout log

SQLServerAgent could not be started (reason: Unable to connect to server 'MyServer\instance'; SQLServerAgent cannot start).

2017-07-21 08:54:04 - ! [298] SQLServer Error: 802, SSL Provider: The target principal name is incorrect. [SQLSTATE 08001]

Any help is appreciated

Jeff
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search