1833421 Members
3112 Online
110052 Solutions
New Discussion

lpsched not working

 
SOLVED
Go to solution
Jody Bennett
Advisor

lpsched not working

When I type lpstat -r I get a response that the scheduler is not running. If I try to start it I get a response that the scheduler is already running. I do not see the lpsched process running when I do a ps. Any ideas????
"Sometimes you have to jump more than one fence to get out of the pasture."
6 REPLIES 6
Rodney Hills
Honored Contributor
Solution

Re: lpsched not working

Could be the lock file is left over. Delete it via the following-

cd /usr/spool/lp
rm SCHEDLOCK

Good Luck

-- Rod Hills
There be dragons...
A. Clay Stephenson
Acclaimed Contributor

Re: lpsched not working

First do an lpshut. Next do a ps -ef and look for any other lpsched processes and kill them.
Next, cd to /var/spool/lp and look for the file SCHEDLOCK and *FIFO*; remove them. Lpsched and you should be good to go.
If it ain't broke, I can fix that.
PIYUSH D. PATEL
Honored Contributor

Re: lpsched not working

Hi,

lpshut and then remove the SCHEDLOCK and FIFO files from /var/spool/lp
and then restart scheduler with lpsched.

Piyush
Jody Bennett
Advisor

Re: lpsched not working

Thanks... That fixed my problem.
"Sometimes you have to jump more than one fence to get out of the pasture."
MANOJ SRIVASTAVA
Honored Contributor

Re: lpsched not working

Hi Jody


cd /usr/spool/lp
rm FIFO
rm SCHEDLOCK
rm CLD_FIFO


and then do lpsched


Manoj Srivastava
V. V. Ravi Kumar_1
Respected Contributor

Re: lpsched not working

hi,

delete /var/spool/lp/SHEDLOCK.

then observe user lp in /etc/passwd it should be some thing like this.

lp:*:9:7::/var/spool/lp:/sbin/sh

regds

Never Say No