Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

SQL Server Agent won't start - The system cannot find the file specified Expand / Collapse
Author
Message
Posted Tuesday, July 9, 2013 6:50 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, July 13, 2013 7:52 AM
Points: 20, 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
Post #1471588
Posted Tuesday, July 9, 2013 2:55 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 1:11 AM
Points: 13,256, Visits: 11,037
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1471865
Posted Tuesday, July 9, 2013 3:06 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, July 13, 2013 7:52 AM
Points: 20, 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
Post #1471873
Posted Tuesday, July 9, 2013 3:11 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 1:11 AM
Points: 13,256, Visits: 11,037
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1471877
Posted Thursday, July 11, 2013 4:37 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, July 13, 2013 7:52 AM
Points: 20, 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
Post #1472502
Posted Thursday, July 11, 2013 4:49 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, July 13, 2013 7:52 AM
Points: 20, 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??
Post #1472505
Posted Thursday, July 11, 2013 5:42 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 1:11 AM
Points: 13,256, Visits: 11,037
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1472514
Posted Thursday, July 11, 2013 6:05 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, July 13, 2013 7:52 AM
Points: 20, Visits: 34
I have just looked at what is showing under programs. I am showing SQL Server 2008 and also SQL server 2008 R2.
Post #1472529
Posted Thursday, July 11, 2013 6:18 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 1:11 AM
Points: 13,256, Visits: 11,037
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1472537
Posted Thursday, July 11, 2013 6:59 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Saturday, July 13, 2013 7:52 AM
Points: 20, 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?
Post #1472553
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse