1834020 Members
2782 Online
110063 Solutions
New Discussion

spooler ask?

 
SOLVED
Go to solution
castro_2
Regular Advisor

spooler ask?

I want to stop de spooler and I do lpshut scheduler stopped, but I do lpstat -r and show me scheduler is running.
I do /sbin/init.d/lp stop, but still show me, process
/usr/sbin/lpsched, I killed but the lpstat -r, show me
scheduler is running.
Thanks


2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: spooler ask?

1) lpshut
2) ps -ef | grep lpsched
kill any remaining lpsched processes
3) cd /var/spool/lp
rm CLD_FIFO FIFO SCHEDLOCK
(if any of these files are present)
4) lpsched

You should be okay.
If it ain't broke, I can fix that.
S.K. Chan
Honored Contributor

Re: spooler ask?

Clean up (ie delete) the lock files in /var/spool/lp. They are SCHEDLOCK, FIFO and CLD_FIFO and then restart your spooler lpsched.