1830899 Members
2603 Online
110017 Solutions
New Discussion

Re: Print queue problem

 
SOLVED
Go to solution
Clarence J
Frequent Advisor

Print queue problem

I have the following error in my print log. The outputs to the queue actually "hung" in the queues and the error msg as follows:

lpsched: can't open temporary output queue

How do I resolve this. I tried to do an lpshut and lpsched but no chg.

Any help appreciated.
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Print queue problem

do you have any full filesystems - or very near full?

harry

live free or die
Live Free or Die
Clarence J
Frequent Advisor

Re: Print queue problem

No filesystems full or near full
harry d brown jr
Honored Contributor
Solution

Re: Print queue problem

Do an lpshut, then verify that no other lp programs are running:

ps -ef | grep lp

Also, do you have the latest patches installed for lp?
Live Free or Die
Michael Tully
Honored Contributor

Re: Print queue problem

Hi,

Try and shut the lp schedular and start it again.

# /usr/sbin/lpshut
verify that it has terminated.
# ps -ef |grep lp
If it has not kill it and make sure that the
/var/spool/lp/SCHEDLOCK has been removed.
Start the lp schedular again.
# /usr/sbin/lpsched

HTH
-Michael
Anyone for a Mutiny ?
A. Clay Stephenson
Acclaimed Contributor

Re: Print queue problem

Hi:

First do an lpshut. I suspect that there already may be another lpsched running. Do a ps -e | grep lpsched. If there is another one running kill it. Cd to /var/spool/lp and ls. If SCHEDLOCK or FIFO are found, delete them.

Next make sure that the /var/spool/lp directories are owned by lp. Finally, do an lpsched to restart the scheduler.

If it ain't broke, I can fix that.
Clarence J
Frequent Advisor

Re: Print queue problem

Fantastic!

Yes, there was a SCHEDLOCK in /var/spool/lp!!

Removed it and it's ok now!

Thanks alot everyone!!! Pts for all