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

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

Details

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

pending.jpg

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>

clear2.jpg

 

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



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClhFCAS&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language