could not start the sql server agent service on local computer

  • Event Type:Success Audit

    Event Source:MSSQL$AMRVMRDR

    Event Category:Services

    Event ID:18454

    Date:10/22/2011

    Time:10:37:10 PM

    User:N/A

    Computer:AMRVMRDR

    Description:

    The description for Event ID ( 18454 ) in Source ( MSSQL$AMRVMRDR ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sqldba.

    Data:

    0000: 16 48 00 00 0a 00 00 00 .H......

    0008: 12 00 00 00 44 00 53 00 ....D.S.

    0010: 53 00 30 00 57 00 30 00 S.0.W.0.

    0018: 36 00 34 00 5c 00 56 00 6.4.\.V.

    0020: 53 00 49 00 4e 00 41 00 S.I.N.A.

    0028: 53 00 44 00 52 00 00 00 S.D.R...

    0030: 07 00 00 00 6d 00 61 00 ....m.a.

    0038: 73 00 74 00 65 00 72 00 s.t.e.r.

    0040: 00 00 ..

    ---------------------------------------------------------------------

    Service account looks good, password reset and reran the agent still failed.

    account has full permissions on LOG folder.

    we have 6 instances. All other running fine except this SQL Agent service.

    Did anyone faced this issue or error.

    Appreciate quick help.

    Cheers,
    - Win.

    " Have a great day "

  • New Error:

    Service Request Timeout (ObjectExplorer)

    ------------------------------

    Program Location:

    at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.CheckServiceActionReturnValueSuccess(UInt32 returnValue)

    at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.Start()

    Cheers,
    - Win.

    " Have a great day "

  • any help and ideas please :

    Event Type:Information

    Event Source:Application Popup

    Event Category:None

    Event ID:26

    Date:10/22/2011

    Time:11:31:36 PM

    User:N/A

    Computer:AMRVMRDR

    Description:

    Application popup: SQLAGENT90.EXE - Application Error : The application failed to initialize properly (0xc0000005). Click on OK to terminate the application.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    Cheers,
    - Win.

    " Have a great day "

  • Verified SQL Agent service account, reset password manually, updated on windows and SQL level, checked for permissions on folders and registry folders as well... Everything looks good.

    Even rebooted the box couple of times, but no use.

    After password reset, I tried starting agent through services, below is the error.

    Could not start the sql server agent AMRVMRDR service on local computer

    Error 1053: the service did not respond to the state or control request on timely fashion

    Cheers,
    - Win.

    " Have a great day "

  • hope this thread is relavent to the your error

    http://support.microsoft.com/default.aspx?scid=kb;en-us;322140

  • Open up the event log or SQL Agent log and have a look at the messages in there. Should tell you why the start failed.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks all for your response.

    Finally I got access on the folder to read the log file...

    Please find the detailed log info of SQLAgent, please suggest me on this....

    Would it fix if I go with SP3 reinstall ?

    ------------------------------------------------------------------------------------------------

    2010-05-27 19:15:19 - ? [100] Microsoft SQLServerAgent version 9.00.4035.00 (x86 unicode retail build) : Process ID 18640

    2010-05-27 19:15:19 - ? [101] SQL Server AMRVMRDR\AMRVMRDR version 9.00.4035 (0 connection limit)

    2010-05-27 19:15:19 - ? [102] SQL Server ODBC driver version 9.00.4035

    2010-05-27 19:15:19 - ? [103] NetLib being used by driver is DBNETLIB.DLL; Local host server is AMRVMRDR \AMRVMRDR

    2010-05-27 19:15:19 - ? [310] 8 processor(s) and 4096 MB RAM detected

    2010-05-27 19:15:19 - ? [339] Local computer is AMRVMRDR running Windows NT 5.2 (3790) Service Pack 2

    2010-05-27 19:15:19 - ? [432] There are 11 subsystems in the subsystems cache

    2009-09-25 02:52:33 - ? [100] Microsoft SQLServerAgent version 9.00.4035.00 (x86 unicode retail build) : Process ID 5172

    2009-09-25 02:52:33 - ? [101] SQL Server AMRVMRDR\AMRVMRDR version 9.00.4035 (0 connection limit)

    2009-09-25 02:52:33 - ? [102] SQL Server ODBC driver version 9.00.4035

    2009-09-25 02:52:33 - ? [103] NetLib being used by driver is DBNETLIB.DLL; Local host server is AMRVMRDR \AMRVMRDR

    2009-09-25 02:52:33 - ? [310] 8 processor(s) and 4096 MB RAM detected

    2009-09-25 02:52:33 - ? [339] Local computer is AMRVMRDR running Windows NT 5.2 (3790) Service Pack 1

    2009-09-25 02:52:33 - ? [432] There are 11 subsystems in the subsystems cache

    2009-09-25 02:52:35 - ! [364] The Messenger service has not been started - NetSend notifications will not be sent

    2009-09-25 02:52:35 - ? [129] SQLAgent$AMRVMRDR starting under Windows NT service control

    2009-09-25 02:52:35 - + [396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect

    2009-12-05 11:49:16 - ? [130] SQLAgent$AMRVMRDR stopping because of Windows shutdown...

    2009-12-05 11:49:23 - ! [165] ODBC Error: 0, Driver's SQLAllocHandle on SQL_HANDLE_ENV failed [SQLSTATE IM004]

    2009-12-05 11:49:23 - ! [382] Logon to server AMRVMRDR\AMRVMRDR failed (SaveAllSchedules)

    2009-12-05 11:49:32 - ! [359] The local host server is not running

    2009-12-05 11:49:32 - ? [098] SQLServerAgent terminated (normally)

    2009-09-25 02:17:09 - ? [100] Microsoft SQLServerAgent version 9.00.4035.00 (x86 unicode retail build) : Process ID 5004

    2009-09-25 02:17:09 - ? [101] SQL Server AMRVMRDR\AMRVMRDR version 9.00.4035 (0 connection limit)

    2009-09-25 02:17:09 - ? [102] SQL Server ODBC driver version 9.00.4035

    2009-09-25 02:17:09 - ? [103] NetLib being used by driver is DBNETLIB.DLL; Local host server is AMRVMRDR \AMRVMRDR

    2009-09-25 02:17:09 - ? [310] 8 processor(s) and 4096 MB RAM detected

    2009-09-25 02:17:09 - ? [339] Local computer is AMRVMRDR running Windows NT 5.2 (3790) Service Pack 1

    2009-09-25 02:17:10 - ? [432] There are 11 subsystems in the subsystems cache

    2009-09-25 02:17:11 - ! [364] The Messenger service has not been started - NetSend notifications will not be sent

    2009-09-25 02:17:11 - ? [129] SQLAgent$AMRVMRDR starting under Windows NT service control

    2009-09-25 02:17:11 - + [396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect

    2009-09-25 02:46:19 - ? [130] SQLAgent$AMRVMRDR stopping because of Windows shutdown...

    2009-09-25 02:46:21 - ! [359] The local host server is not running

    2009-09-25 02:46:21 - ! [359] The local host server is not running

    2009-09-25 02:46:22 - ? [098] SQLServerAgent terminated (normally)

    Cheers,
    - Win.

    " Have a great day "

  • Hello Sunil,

    Thanks for your link... I have gone through the link before. But couldnt understand the below steps.

    Iam confused of working on this issue from past.

    replace the SQLAgent.dll and SQLAgent.rll files with different copies of these files (SQLAgent.dll and SQLAgent.rll). ------- Where to replace these files and from where can I get these files ?

    •The SQLServerAgent service startup account may not have the correct permissions to use the registry. ------ permissions are good

    In this case, make sure that the MSSQLSERVER startup account, the SQL Server Agent startup account, and the Microsoft Distributed Transaction Coordinator (MS DTC) startup account have full control of the following keys in the registry: ----------- what to do here in registry ??

    Permissions on registry folders are good.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC

    The following keys are for the named instance:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQL$<INSTANCE>

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services\SQLAgent$<INSTANCE>

    Cheers,
    - Win.

    " Have a great day "

  • Those logs are all over a year old. I doubt they're relevant.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Yeah, that was stopped from one year. From then its in stopped state.

    we have 3000+ instances now. So, it was under covered these many days. This server was pushed into my support last month.

    Last week I noticed when i was running scripts for online services for my environment.

    Cheers,
    - Win.

    " Have a great day "

  • Anyone faced such issue ?

    will reinstalling SP3 resolves this and fix by replacing the corrupted files, any ideas ?

    Any help is appreciated.

    Cheers,
    - Win.

    " Have a great day "

Viewing 11 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply