Problem with hung up Maintenance job

  • Can anyone tell how to clear a failed maintenance job?

    I have several processes that are 'stuck'...

    I have tried killing the SPID etc. with no useful results.

    The processes are all stuck on the following or similar:

    EXECUTE master.dbo.xp_sqlmaint N'-PlanID A9C2149F-0FFA-4896-A41E-74C6B3390417 -To "hosting" -Rpt "h:\mssql\MSSQL$HC01\LOG\DB Maintenance Plan14.txt" -DelTxtRpt 4WEEKS -WriteHistory -VrfyBackup -BkUpMedia DISK -BkUpDB "H:\MSSQL\MSSQL$HC01\BACKUP" -DelBkUp

    This is a prod box which I'd really prefer not to reboot!

  • I'd kill the spid. Try a couple kill <x>. Does this bring back a rolling back message?

    Steve Jones

    steve@dkranch.net

  • You might try shutting down the sql agent. I thnik that is the service that the maintenance plans run under.

    Just a thought.

    Tom

  • Good idea. Let us know if that works.

    Steve Jones

    steve@dkranch.net

  • Thanks for the quick responses but I have tried both of these suggestions with no luck.

    There is a rollback message of 0 seconds and the SQL agent is 'stuck', we can neither truly stop nor restart.

  • I hate to say it, but you probablty need a reboot. Disable the job and then check the logs. We'll keep thinking.

    Steve Jones

    steve@dkranch.net

  • Thanks for trying. We are rebooting...

    I'll let you know if we find out anything further...

Viewing 7 posts - 1 through 6 (of 6 total)

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