Archive

Archive for the ‘Cluster Errors’ Category

SQL Server Failover Cluster, Agent Services Failed to come online, Error 435.

November 3, 2014 Leave a comment

This was a troublesome error, because there is not much information available on what is going wrong.  I looked the application log, SQL Agent Error Log, cluster logs; but neither gave me much details on what was causing the issue.  So after research on internet found an article by Tom Green (Blog).  However after looking at the said keys in [HKLM]\Software\Microsoft\Microsoft SQL Server\MSSQL.MSSQLServer\SQLServerAgent\ values WorkingDirectory and ErrorLogFile were already correct for me; however agent still refused to start up.

So another suggestion Tom makes is it might be permission issue on directory.  Which were also correct; slowly running out of options…. but …

It dawned on me this key was recently imported because of corruption issue; and with Tom’s article’s hint, I figured what if permissions in registry got deleted.

Sure enough SQL Agent services had lost permission to [HKLM]\Software\Microsoft\Microsoft SQL Server\MSSQL.MSSQLServer\SQLServerAgent\ hive.  After adding the agent account back in with Full Control, services started without problems.

  1. Run regedit.msc
  2. Navigate to [HKLM]\Software\Microsoft\Microsoft SQL Server\MSSQL.MSSQLServer\
  3. Right click on SQLServerAgent, go to Permissions.
  4. Click Add…
  5. If using Service SIDS …
    1. Change Location from Domain to Local Computer
    2. If using Default Instance …
      1. Type “NT Service\SQLServerAgent”
    3. If using Named Instance …
      1. Type “NT Service\SQLAgent$InstanceName”
    4. Click OK.
  6. If using Domain Service Accounts …
    1. Type in Domain\AccountName
    2. Click OK.
  7. Select Full Control in Permissions Dialog Box.
  8. Click OK.

Restart SQL Agent, should work without problem.

%d bloggers like this: