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


SQL Server Agent won't start - The system cannot find the file specified


SQL Server Agent won't start - The system cannot find the file specified

Author
Message
acraddock
acraddock
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 34
Hi,

For a while now we have been running SQL for our ERP system.
Recently i have noticed that a rebuild indexes task has not been running on the SQL database.
On closer inspection, i noticed that the SQL server agent is not running - when i try and start the service it tells me 'windows could not start the service - error 2: the system cannot find the file specified.
I have taken a look at some posts already which refer the checking the location of the sqlagent.out log file path in the registry.
This would all appear ok - but when i try to start the service this file is not updating....
I have also tried renaming the file to see if a new file is create but nothing happens....

Any advice or pointers that could be given would be greatly appreciated.

Cheers

Alan
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27161 Visits: 13268
acraddock (7/9/2013)
Hi,

For a while now we have been running SQL for our ERP system.
Recently i have noticed that a rebuild indexes task has not been running on the SQL database.
On closer inspection, i noticed that the SQL server agent is not running - when i try and start the service it tells me 'windows could not start the service - error 2: the system cannot find the file specified.
I have taken a look at some posts already which refer the checking the location of the sqlagent.out log file path in the registry.
This would all appear ok - but when i try to start the service this file is not updating....
I have also tried renaming the file to see if a new file is create but nothing happens....

Any advice or pointers that could be given would be greatly appreciated.

Cheers

Alan


Any changes in the SQL Agent account? Make sure the account has all the necessary permissions. Also read/write permission on the folder where the log files are stored.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
acraddock
acraddock
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 34
The password was changed recently but this has been updated and is correct.
Other than read\write access to the log file location. What other permissions should i check. Registry? Sql server rights?

Thanks in advance for some feedback.

Cheers

Alan
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27161 Visits: 13268
This MSDN page gives an overview of the permissions:
Select an Account for the SQL Server Agent Service

However, since it probably worked before it is maybe not a permission issue.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
acraddock
acraddock
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 34
Hi,

As per the document the domain account being used is part of the sysadmin group for the SQL server.
So does not appear to be permissions?

Regards

Alan
acraddock
acraddock
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 34
Ok.... i have now noticed that SQL server agent does not appear in SQL Server Configuration manager...
I can see 4 other services including SQL Server main service, but no agent service.....

Any ideas??
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27161 Visits: 13268
Do you have multiple versions of SQL Server installed?


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
acraddock
acraddock
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 34
I have just looked at what is showing under programs. I am showing SQL Server 2008 and also SQL server 2008 R2.
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27161 Visits: 13268
acraddock (7/11/2013)
I have just looked at what is showing under programs. I am showing SQL Server 2008 and also SQL server 2008 R2.


Maybe you opened up the configuration manager for SQL Server 2008 instead of 2008R2 and SQL Agent is only installed for 2008R2?


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
acraddock
acraddock
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 34
I accessed it from the R2 management console.
Is it possible i am stuck in some sort of limbo between the 2 versions... following the upgrade?
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