Operating System - HP-UX
1836357 Members
1879 Online
110100 Solutions
New Discussion

Re: print spooler keeps shutting down

 
SOLVED
Go to solution
Ginny Merlino
Advisor

print spooler keeps shutting down

Yesterday, Our systems power transferred to UPS because of a power outage. We successfully brought down the system and brought it back up. Today our printer spooler keeps shutting down on it's own.

I tried re-booting the system but this hasn't worked. I had tried this before when had previously had this problem and it worked.

Does anyone have any suggestions?
6 REPLIES 6
Bill McNAMARA_1
Honored Contributor
Solution

Re: print spooler keeps shutting down

Try stopping and starting it manually.

/sbin/init.d/lp [stop|start]

Look in the syslog and /etc/rc.log for startup and runtime errors.

lpstat -t to check the status when up.

Try powercycling the printer etc...

Later,
Bill
It works for me (tm)
Rodney Hills
Honored Contributor

Re: print spooler keeps shutting down

Some left over files from the powerdown may have been left. Clean them out by doing the following-

cd /usr/spool/lp
rm Toutputq SCHEDLOCK
cat /dev/null >outputq
rm request/*/c* request/*/d*

Then start the scheduler again.

-- Rod Hills
There be dragons...
MANOJ SRIVASTAVA
Honored Contributor

Re: print spooler keeps shutting down

Hi Ginny

DO the following :

1. lpshut
2. cd /usr/spool/lp and delete FIFO , SCHEDLOCK and CLD_FIFO.
3. lpsched to restart the spooler .

Also check in lpstat -t whether there are any pending requests which have not been completed bcoz of the power refresh , you can safely cancle those and redo the above steps .


Manoj Srivastava
Ginny Merlino
Advisor

Re: print spooler keeps shutting down

Hi Everyone,

I powered down my system and tried all of your suggestions so far but I am still having the problem.

Can anyone think of anything else?

Thanks!
Ginny
Clemens van Everdingen
Honored Contributor

Re: print spooler keeps shutting down

Hi,

I can think of patch related problems, but before the power outage it seems to have worked fine.

But for sure read this one:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xba8684534efbd5118ff40090279cd0f9,00.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Victor_5
Trusted Contributor

Re: print spooler keeps shutting down

Did you printer also experience power off? Sometimes, printer power off can cause some configuration lose on priter itself, I experienced it before, so move your eye to printer not only on unix box, maybe you can find some hints?

Good luck!