Cisco FMC|| 7.x || Cancel hanging tasks

How to can cancel backup job stuck on the FMC. (use it at your own risk)

  • Run query to identify the task.

OmniQuery.pl -db mdb -e “select status,category,hex(uuid),body from notification where status=7;”

  • Output will contain something like this

| 7 | task:category.11 | THIS IS THE HEX VALUE | {“literal”:”<p><strong>Backup: 112023</strong><br></p> Checking the database”}

  • Then we look for the stuck task’s hex value and copy it. Paste that hex in the delete command

OmniQuery.pl -db mdb -e ‘delete from notification where uuid=unhex(“HEX VALUE“);’

  • Run query again, table should be empty
  • Restart management console

/etc/rc.d/init.d/console restart

In version 7.4 use below.

OmniQuery.pl -db mdb -e “select aq_id, name, description, state from action_queue;”

OmniQuery.pl -db mdb -e “select status,category,hex(uuid),body from notification where status=’7′;”

If nothing found run console restart to clear hanging tasks.

/etc/rc.d/init.d/console restart

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar