* Eureka! An Apparent Fix: Re: `lpd' and `lpr' Failure
@ 1998-12-08 18:06 Tom Browder
0 siblings, 0 replies; only message in thread
From: Tom Browder @ 1998-12-08 18:06 UTC (permalink / raw)
To: W. Wade, Hampton; +Cc: REDHAT LIST, AXP LIST
I got my alpha lpd working again--maybe the following will help a gru figure out what's
going on:
The first thing I did was search my system for all instances of `lpd'
and found the lock file:
/var/lock/susbsys/lpd
I noticed it had the reboot time. I removed the file.
Then I noticed that there were two copies of lpd running--maybe that's
why the connect problem: one was already connected to the /dev/printer.
(Actually I believe there will normally be two processes, but only when there is an
active job. I believe the second lpd was somehow left as an orphan
and was holding the lock, thus preventing normal operations.)
With the lock removed, I again executed
/etc/rc.d/init.d/lpd stop
which deleted both lpd processes (I may have had to do it twice--
I'm not sure and I've not been able to duplicate the dual lpd's again.
I suspect that if I had done this twice before, or manually killed all
lpd's, I could have gotten a normal restart.)
Then I executed:
/etc/rc.d/init.d/lpd start
and
lpc restart lp
and everthing was up and running fine again.
I wish I could give a better description of what was wrong, how
to duplicate it, and how to fix it, but at least this fumble worked
for me.
Good luck.
Tom Browder
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-12-08 18:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-08 18:06 Eureka! An Apparent Fix: Re: `lpd' and `lpr' Failure Tom Browder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox