Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to cancel job or stop 'qdaemon'

68 views
Skip to first unread message

Karl Jones

unread,
Aug 25, 1999, 3:00:00 AM8/25/99
to
On AIX 4.3x running on an RS6000, occasionally I have a job stop
printing to a line printer. 'lpstat' will list the job as running. The
printer is online. Running 'cancel' for the job seems to have no
impact. Running 'stopsrc -s qdaemon' gives the message that the
subsystem has stopped successfully but in fact it is in the process of
stopping (as shown through lssrc) and it cannot be started since it says
another copy of this resource is already active.

Ideas about how to handle this in the future?

For the moment, are there nasty consequences to killing the process
running 'qdaemon' (which is trying to stop itself)?

My only other strategy is to reboot.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

hack...@my-deja.com

unread,
Aug 25, 1999, 3:00:00 AM8/25/99
to
A fun flag to use with stopsrc is -c. If qdaemon keep showing stopping,
since I have little patience, stopsrc -c -s qdaemon works for me. You
could then physically remove the job or clean out the /var/spool/mqueue
directory...but chances are, there is something else wrong. Is this
printer serial/parallel attached to rs/6k box or network attached? Let
this guide you in further problem determination. I always like to look
at the way the queue is configured in /etc/qconfig if I am not the one
who set up the queue to begin with---Oh well, I could go on and on about
printers but I won't so I hope the above info helps you out!...

In article <7q0uak$rnq$1...@nnrp1.deja.com>,

LAIX Software Consulting

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
Karl,

Instead of cancel, try: enq -Pqname -x job#
Don't know why, but I've had better luck getting a job to
actually cancel. "cancel" just turns around and invoked the
above enq command, so there shouldn't be a difference.

Instead of stopsrc -s qdaemon, try stopsrc -cs qdaemon
Without the -c the qdaemon won't stop until the running jobs
complete. If a job is hung, then that won't happen. With
stopsrc -cs qdaemon, the daemon is stopped immediately.

Regards,
Paul

0 new messages