[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Guide to Printers and Printing

Queuing System Problems

When the queuing system shows one or more queues in DEV_WAIT and you have verified that the queue is not waiting on the printer because the printer is offline, out of paper, jammed, or the cable is loose, bad, or wired incorrectly, and it has not changed to DOWN within the TIMEOUT period, use the following method to clear and restart the queuing system. This method stops the qdaemon, removes all queued jobs, and restarts the qdaemon. You must have root authority.

stopsrc -s qdaemon
ps -e | fgrep qd
kill -9 PIDNumbers

where PIDNumbers are any PIDs resulting from the ps command.

ps -e | fgrep pio
kill -9 PIDNumbers
rm /var/spool/lpd/stat/_dev_DEVICE

where DEVICE is the device that is showing DEV_WAIT.

rm /var/spool/lpd/stat/s.QUEUE.DEVICE

where QUEUE is the queue and DEVICE that is showing DEV_WAIT.

mkdir /tmp QDIR
mv /var/spool/lpd/qdir/NNUSER:QUEUE /tmp QDIR

where NN is a number, USER is the user who queued the job and QUEUE is the queue that is showing DEV_WAIT.

startsrc -s qdaemon

After the queueing system has been cleared and appears to be functioning properly, you will need to stop the qdaemon, copy the jdf files from /tmp/QDIR to /var/spool/lpd/qdir, and then restart the qdaemon.

[ Previous | Next | Contents | Glossary | Home | Search ]