﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2012 / SQL 2012 - General  / SQL Agent cannot start / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 21:51:57 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Try uninstalling completely and installing some other edition/version of SQL2012.</description><pubDate>Wed, 27 Feb 2013 01:28:00 GMT</pubDate><dc:creator>Vedran Kesegic</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>All, I have the same problem. Can anyone help ?Angus</description><pubDate>Tue, 26 Feb 2013 21:10:09 GMT</pubDate><dc:creator>a.ho</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Virtual account NT Service\SQLSERVERAGENT is the default account installer sets for sql agent, out of the box.There is no reason that this account should not work.For example, NT Service\MSSQLSERVER is default virtual account for sql engine and it is happily running under it,as you can see on this screenshot:[img]https://dl.dropbox.com/u/18302209/Services.png[/img]Agent cannot start, and does not even generate SQLAGENT.OUT file.That account has appropriate permission on the SQLAGENT.OUT file and the LOG map.Could it be something with AD ?</description><pubDate>Fri, 05 Oct 2012 01:18:20 GMT</pubDate><dc:creator>Vedran Kesegic</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Yes that is the problem, NT SERVICE\SQLSERVERAGENT your referencing is not an account is a virtual group, you need to specify an account not a group to run a service.What ever account you specify in the service gets added to that group.</description><pubDate>Thu, 04 Oct 2012 07:35:19 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Click "Browse", and type a user. Change location to local host, then "Check names":[img]https://dl.dropbox.com/u/18302209/User.png[/img]Click OK. Leave blank password:[img]https://dl.dropbox.com/u/18302209/AgentUser.png[/img]If I click "OK" or "Apply", I receive "Access denied" immediately.Service account [b]is[/b] changed, but service cannot start.</description><pubDate>Thu, 04 Oct 2012 07:32:22 GMT</pubDate><dc:creator>Vedran Kesegic</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Please attach a screen shot of how you are managing to assign nt service\sqlserveragent to run the service within SQL config manager or services.msc as I cannot replicate it.</description><pubDate>Thu, 04 Oct 2012 05:57:08 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>After the initial setup, virtual account "NT SERVICE\SQLSERVERAGENT" was set to run sql agent service, as default.But, under that account sql agent would not start (access denied).After I changed to "LOCALSYSTEM", sql agent service started successfully.If I try to change back to "NT SERVICE\SQLSERVERAGENT" I get "Access denied" as soon as I click on "Apply" button in the service "Log On" dialog.Even though I got "access denied" the account indeed was changed from "LOCALSYSTEM" to "NT SERVICE\SQLSERVERAGENT",but cannot start (Access denied).Just for the test, i tried to give "Full control" on all drive letters to "NT SERVICE\SQLSERVERAGENT",and still got "Access denied" from the sql agent service.Although I could not give full control to Program Files, Program Files (x86), and Windows - "Access denied".I am logged-in windows with my domain account which has local admin rights.I even tried with [url=http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/ee918522-2190-4d5e-9e25-a8ae34ced025]SUBINACL[/url]:[code="plain"]C:\Program Files (x86)\Windows Resource Kits\Tools&amp;gt;Subinacl /service eventlog /grant=SQLSERVERAGENT=Seventlog : new ace for nt service\sqlserveragenteventlog : 1 change(s)Elapsed Time: 00 00:00:00Done:        1, Modified        1, Failed        0, Syntax errors        0Last Done  : eventlogC:\Program Files (x86)\Windows Resource Kits\Tools&amp;gt;[/code]But still cannot start agent service. Note "1, Failed" in the suinacl output.Do you know where the map "[b]ServerName\EventLog[/b]" should be, or is on your server?Maybe that would help, because it seems I don't have that folder at all (Win7 64bit).</description><pubDate>Thu, 04 Oct 2012 05:49:26 GMT</pubDate><dc:creator>Vedran Kesegic</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>NT SERVICE\SQLSERVERAGENT is the virtual group which the account running the SQL Agent Service is granted access to so that you dont have to mess with SQL permissions.From what I remember you cannot set a service to run as this virtual account.  What account is running the service?</description><pubDate>Thu, 04 Oct 2012 03:19:06 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Thanks. Computer is on a domain, but none of the required privileges is denied from AD.I also checked folder permission, as stated in doc here: http://msdn.microsoft.com/en-us/library/ms143504%28v=SQL.110%29.aspxAnd found that this permissions were missing (for some reason, they were NOT set by the installer):Instid\MSSQL\Log - Delete110\com - Read, Execute110\shared - Read, Execute110\shared\Errordumps - Read, Write ServerName\EventLog - Full control - CANNOT FIND THAT FOLDER - DOES NOT EXISTS?Where that "EventLog" map should be ?</description><pubDate>Thu, 04 Oct 2012 02:49:23 GMT</pubDate><dc:creator>Vedran Kesegic</dc:creator></item><item><title>RE: SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>Is the computer part of an AD network that might deny permissions, even if they're okay locally?  I think that can be done.</description><pubDate>Wed, 03 Oct 2012 09:16:51 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>SQL Agent cannot start</title><link>http://www.sqlservercentral.com/Forums/Topic1367772-2799-1.aspx</link><description>After clean install of SQL Server 2012 RTM Developer edition, SQL Agent fails to start with "access denied" error.The default user setup has set is "NT SERVICE\SQLSERVERAGENT".When I change the agent user to LOCALSYSTEM, it can start without problems.I checked windows permission in local security policy for "NT SERVICE\SQLSERVERAGENT", and they are ok. Also, that account is sysadmin in sql. Obviously, some permission is not set correctly by installer, but I don't know what else to check.</description><pubDate>Wed, 03 Oct 2012 09:13:08 GMT</pubDate><dc:creator>Vedran Kesegic</dc:creator></item></channel></rss>