Palo Alto Networks Knowledgebase: How to Clear a Hung or Pending Job from the CLI

How to Clear a Hung or Pending Job from the CLI

Created On 09/25/18 19:54 PM - Last Updated 02/08/19 00:06 AM


If there are any jobs that appear to be hung or stuck in a PEND (Pending) status, and need to be cleared or aborted, you can use the following CLI command to find the Job ID of the stuck job:

> show jobs all


In the example above, Job ID 4 is a stuck software download.


To clear the hung job, use the following command:

> clear job id <job_id>



More info

In the event that any of the jobs do not "clear up" after clearing the job, you may want to restart the management server process with the following command:


PAN-OS 5.0, 6.0, 6.1

> debug software restart management-server


PAN-OS 7.0, 7.1

> debug software restart process management-server


Note: Since this command restarts that management server process, it will kick WebGUI and CLI users.


Please see this article for complete details.. 

How to Restart the "mgmtsrvr" Process


If that does not restore the logs, please contact support.


owner: schiang1

  • Print
  • Copy Link

Choose Language