Operating System - HP-UX
1855750 Members
1565 Online
104103 Solutions
New Discussion

Re: Can not start spooler

 
SOLVED
Go to solution
Shen Yang
Occasional Contributor

Can not start spooler

Hello,

I can not start up spooler. I checked the /var/spool/lp folder, there are no FIFO and SCHED files. When I check the /var/spool/lp/log file, I saw following messge:

FIFO: Printers --
FIFO: bcs5000n pid and id unknown
FIFO: bcs750c pid and id unknown
FIFO: cadbsiz pid and id unknown
FIFO: colorcad pid and id unknown
FIFO: colornb pid and id unknown
FIFO: eng1 pid and id unknown
FIFO: hp2800 pid and id unknown
FIFO: laserIS pid and id unknown
FIFO: lasercad pid and id unknown
FIFO: laserlab pid and id unknown
FIFO: laserne pid and id unknown
FIFO: lasersw1 pid and id unknown
FIFO: lasersw2 pid and id unknown
FIFO: nbcad14v pid and id unknown
FIFO: nbcad15s pid and id unknown
FIFO: nbcad24v pid and id unknown
FIFO: nbcad25s pid and id unknown
FIFO: x8830 pid and id unknown
FIFO: Classes --
***** STOPPED Mar 3 13:27 *****
lpsched: can't open output queue file
***** STOPPED Mar 3 13:34 *****
lpsched: can't open output queue file
***** STOPPED Mar 3 13:34 *****
lpsched: can't open output queue file
***** STOPPED Mar 3 13:36 *****
lpsched: can't open output queue file
***** STOPPED Mar 3 13:38 *****
lpsched: can't open output queue file
***** STOPPED Mar 3 13:40 *****

Any ideas what is happening here.

Thanks.

Shen
5 REPLIES 5
Paul Sperry
Honored Contributor

Re: Can not start spooler

In order for the scheduler program (lpsched) to run, two files cannot
exist on the system. They are the SCHEDLOCK and tmplock files (both
in the /usr/spool/lp directory).

The SCHEDLOCK file is documented in the HP-UX System Administration
Tasks manual (HP Part Number 98594-900061), Chapter 7, or the HP
9000 Series 800 HP-UX System Adminstration Tasks Manual, Volume I
(HP Part Number 92453-90038), Chapter 7. However, the tmplock
file is not mentioned in any HP-UX version 7.0 manuals.

The tmplock file is used in an algorithm which creates the SCHEDLOCK
file. On rare occasions, if the lpsched program is killed within a
small window, this file will be left on the system. Then, if this
file is not removed, the lpsched program will not run.
Shen Yang
Occasional Contributor

Re: Can not start spooler

I checked both /usr/spool/lp and /var/spool/lp folders, there are no SCHEDLOCK and tmplock files on either of them.

Shen
Marvin Strong
Honored Contributor
Solution

Re: Can not start spooler

Check the mode on the file /var/spool/lp/outputq, it should be 644.

This error message could also be generated if the system has the maximum number of files open that are allowed at any one time.
Paul Sperry
Honored Contributor

Re: Can not start spooler

Hace you tried sam?

# sam

Printers & Plotters
LP Spooler

Save Spooler Configuration

Restore Spooler Configuration

sam will try to recover any errors.
Paul Sperry
Honored Contributor

Re: Can not start spooler

Also double check all the necessary permission/ownership of your spooler directory and executables .. for example:

-r-sr-xr-x root bin /usr/sbin/lpsched

drwxr-xr-x lp bin /var/spool/lp