UnixPedia : HPUX / LINUX / SOLARIS: HPUX : NOT ABLE TO DELETE THE QUEUE.

Saturday, September 14, 2013

HPUX : NOT ABLE TO DELETE THE QUEUE.

Issue : Printer queue on the server not able to delete it.
Error :
#-> cancel OCDRL0029
cancel: printer "OCDRL0029" was not busy
[root@ MARS:/.root]#
#-> lpadmin -xOCDRL0029
lpadmin: requests still queued for "OCDRL0029" -- use lpmove
[root@ MARS:/.root]#
#-> reject OCDRL0029
destination "OCDRL0029" will no longer accept requests
[root@ MARS:/.root]#
#-> lpadmin -xOCDRL0029
lpadmin: requests still queued for "OCDRL0029" -- use lpmove
Cause : Print job on the printer
#-> lpstat -oOCDRL0029
OCDRL0029-8990      rpuadm         priority 0  Aug  5 07:40
        00Hr9iE5.RPU                         5688 bytes
OCDRL0029-4805      rpuadm         priority 0  Aug  8 08:47
        00JI3SWf.RPU                         4350 bytes
OCDRL0029-6057      rpuadm         priority 0  Aug  8 10:59
        00JNrp7R.RPU                        24393 bytes
Need to cancel the pending job before deletion of the queue.

[root@ MARS:/.root]#
#-> cancel -e OCDRL0029
request "OCDRL0029-8990" cancelled
request "OCDRL0029-4805" cancelled
request "OCDRL0029-6057" cancelled
request "OCDRL0029-6088" cancelled
request "OCDRL0029-6144" cancelled
request "OCDRL0029-2223" cancelled
request "OCDRL0029-2244" cancelled
request "OCDRL0029-7754" cancelled
#-> lpadmin -xOCDRL0029
[root@MARS:/.root]#
Recommendation : cancel the pending job and then try to delete the queue.

No comments:

Post a Comment