SUMMARY: lpsched daemon won't start

From: Cathy Hargrave (
Date: Tue Jun 17 1997 - 08:27:32 CDT


original question:

i have a machine, an ultra 1, running solaris 2.5.1 that i can't
get the lpsched daemon to start. the machine was built and
configured under one name and the print worked fine. then i had
to change it's ip address and it's name. now when i start lpsched
i get the following messages in /var/lp/logs/lpsched:

06/16 15:39:44: Rename of /var/spool/lp/tmp/sun4c176 to /var/spool/lp/tmp/sun4c417 failed (No such file or directory).

i've tried several different things to bring the lpsched daemon up,
but nothing has worked so for. creating the files that lpsched is
complaining about, and removing the printer definitions with lpsystem
did not affect these messages. i don't know where the reference to
the original host name, sun4c176, is kept. can someone tell me what
needs to be done?

the solution, from casper dik, was to clean out the temporary directories
under /var/spool/lp and restart lpsched. i had looked at the
/var/spool/lp/tmp directory, but not at /var/spool/lp/temp, and that was
my problem:

sun4c417# cd /var/spool/lp
sun4c417# ls
SCHEDLOCK bin logs requests temp
admins fifos model system tmp
sun4c417# /bin/rm -r tmp
sun4c417# mkdir tmp
sun4c417# ls -al temp
lrwxrwxrwx 1 root root 26 Jun 12 11:16 temp -> /var/spool/lp/tmp/sun4c1 76

after deleting tmp and temp, lpsched started just fine.

my thanks to everyone who responded:

casper dik <casper@holland.Sun.COM>
david montgomery <>
dave haut <>
joel lee <>
varad rajan <>


Cathy L. Hargrave Smith                 phone: (972) 466-7599
SGS-Thomson Microelectronics, Inc.      fax:   (972) 466-7279
1310 Electronics Drive - MS 600         pager: (214) 359-1113 
Carrollton, TX   75006 			e-mail:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:57 CDT