Operating System - HP-UX
1755591 Members
3831 Online
108836 Solutions
New Discussion юеВ

Re: Print spooler not running

 
SOLVED
Go to solution
Jason_309
Regular Advisor

Print spooler not running

The spooler says in SAM that it is not running. I do a lpshut and it says it is not running, however i do a lpsched and it says it is already running. Can someone help me out?
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Print spooler not running

Who is this SAM guy? Real admins don't know him.

Issue and lpstat -r command; this will tell you whether or not lpsched is running.


If you are having problems:
1) cd /var/spool/lp
2) lpshut
3) ls *FIFO *LOCK
If any of these files are found, remove them.
4) ps -ef | grep lpsched
If any lpsched processes are running kill them.
5) ps -ef | grep hpnpf
If any hpnpf processes are running kill them.
6) lpsched

You should be good to go.
If it ain't broke, I can fix that.
Jason_309
Regular Advisor

Re: Print spooler not running

Clay, Thanks for the quick response. here is what i get:
# lpshut
lpshut: scheduler not running
# ls *FIFO *LOCK
CLD_FIFO FIFO SCHEDLOCK
# rm SCHEDLOCK FIFO CLD_FIFO
# ps -ef | grep lpsched
root 19398 22919 1 14:06:41 pts/tb 0:00 grep lpsched
# ps -ef | grep hpnpf
root 19400 22919 1 14:06:52 pts/tb 0:00 grep hpnpf
# lpsched
scheduler is running
A. Clay Stephenson
Acclaimed Contributor

Re: Print spooler not running

Looks ok to me. Again, the correct test is "lpstat -r". Now for the real test to determine if all is well and assumming that you have at least one printer set up:

ls | lp -dmyprinter
or whatever printer you have defined.
If it ain't broke, I can fix that.
Jason_309
Regular Advisor

Re: Print spooler not running

├в Print Spooler: STOPPED

Is what it is still showing.
A. Clay Stephenson
Acclaimed Contributor

Re: Print spooler not running

Ok. Has the lp susbsystem ever worked? Do you have printers defined? If so, are they Network (JetDirect protocol), Remote (lpr/lpd protocol) or locally attached (serial or parallel)? If lp ever worked, what changed? What version of HP-UX? What version of JetDirect (if applicable) are you running?
If it ain't broke, I can fix that.
Jason_309
Regular Advisor

Re: Print spooler not running

It has worked. HP-UX 11.11, both network and remote printers are setup.E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
A. Clay Stephenson
Acclaimed Contributor

Re: Print spooler not running

If you are on support, you can get to this TKB document. It's a rather good checklist for lp problems:

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-1335382922+1176932514259+28353475&docId=200000080075820

Start from the top even with the stuff I've already had you do.
If it ain't broke, I can fix that.