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
SSC-Enthusiastic
SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)

Group: General Forum Members
Points: 136 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
SSCrazy Eights
SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)SSCrazy Eights (10K reputation)

Group: General Forum Members
Points: 9996 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
SSC-Enthusiastic
SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)

Group: General Forum Members
Points: 136 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
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1062 Visits: 1802
under what service account does the Agent try to start?
techzone12
techzone12
SSC-Enthusiastic
SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)SSC-Enthusiastic (136 reputation)

Group: General Forum Members
Points: 136 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!!
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