July 9, 2013 at 6:50 am
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
July 9, 2013 at 2:55 pm
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.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
July 9, 2013 at 3:06 pm
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
July 9, 2013 at 3:11 pm
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.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
July 11, 2013 at 4:37 am
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
July 11, 2013 at 4:49 am
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??
July 11, 2013 at 5:42 am
Do you have multiple versions of SQL Server installed?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
July 11, 2013 at 6:05 am
I have just looked at what is showing under programs. I am showing SQL Server 2008 and also SQL server 2008 R2.
July 11, 2013 at 6:18 am
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?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
July 11, 2013 at 6:59 am
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?
July 11, 2013 at 7:03 am
I checked in windows\system32 and i only have 1 .msc for sqlservermanager10 - when i open this it is the version i was looking at earlier. Version details : Version: 2009.0100.1600.01
July 12, 2013 at 7:47 am
Try changing the password in config mgr to something new, then back again.
Then review the logs for any errors if this doesn't fix things up.
July 12, 2013 at 8:01 am
I am not able to change the password in SQL config manager... When i access it from SQL server management studio it opens without asking for a password or credentials?
July 13, 2013 at 7:18 am
acraddock (7/12/2013)
I am not able to change the password in SQL config manager... When i access it from SQL server management studio it opens without asking for a password or credentials?
Configuration Manager is a specific tool.
Under Ptograms, under the SQL Server folder, you should see a Configuration Tools folder.
It is in there, and lists all the services.
Reporting Services is managed with a separate tool.
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply