AIX print queue is stuck

I ran a qchk and see that the prints are stuck. Then ran a "disable -c printerA" and then "enable printerA". Still the queue is stuck. Any help?

servername:/usr/local/> qchk -P pinterA
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
printerA @prin RUNNING   849 STDIN.16384068     user@tx    0  0   250   1   1
              QUEUED    851 STDIN.11599914    user@tx            99   1   2
              QUEUED    852 STDIN.21692544    user@tx            53   1   3
              QUEUED    861 STDIN.10223672    user@tx           165   1   4
              QUEUED    774 STDIN.3080236      user@tx          1677   1   5
              QUEUED    776 STDIN.9502830      user@tx           785   1   6
              QUEUED    780 STDIN.9044066      user@tx          1021   1   7
              QUEUED    781 STDIN.3080256      user@tx           294   1   8
              QUEUED    938 STDIN.7209130      user@tx            41   1   9
              QUEUED    195 STDIN.17694958    user@tx           167   1  10
              QUEUED    653 STDIN.15007986    user@tx            41   1  11
AIX25Asked:
Who is Participating?
 
woolmilkporcCommented:
Issue just this command to cancel all jobs of the affected queue and you're done:

qcan -X printerA

Please note that it's an Uppercase X!

wmp
0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
try this :

stopsrc -s qdaemon
cd /var/spool/lpd/qdir
rm *
cd /var/spool/lpd/stat
rm *
cd /var/spool/qdaemon
rm *
cd /var/spool/lpd
rm *
startsrc -s qdaemon

You may have to re-enable your queues

enable <quename>
0
 
AIX25Author Commented:
jordannet, I cannot try your method if there is a chance I have to re-enable my queues. This is on our print master server which has over 5,000 queues and don't want anything reported by users.

I used wmp's method and it worked great! Not sure why "disable -c printerA" didn't work, it disable the queue and cancels all job requests???

Thank you wmp! Much appreciated for all your input guys!
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
so did you solve the problem or not yet?
0
 
woolmilkporcCommented:
"disable" does what the name suggests - it disables the queue, but leaves the jobs untouched. "enable" makes the queue retry processing these jobs.
0
 
AIX25Author Commented:
I talked to early....

When I ran qcan -X printerA, it cleared the queue. I ran a qchk -P printerA...I saw the clear empty. But, the user requeued his jobs and it still gets stuck. What could be the issues???

0
 
Maen Abu-TabanjehNetwork Administrator, Network ConsultantCommented:
0
 
woolmilkporcCommented:
Can you rule out printer hardware issues?

Out of paper?
Offline?
Out of memory due to jobs being too big?
Wrong datastream format?

Something in "errpt"?
0
 
carlmdCommented:
Can you ping that printer?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.