AIX25
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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!
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!
so did you solve the problem or not yet?
"disable" does what the name suggests - it disables the queue, but leaves the jobs untouched. "enable" makes the queue retry processing these jobs.
ASKER
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???
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???
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you ping that printer?
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>