From: "Tom Browder" <tom2@fwb.asi.srs.com>
To: "W. Wade, Hampton" <whampton@staffnet.com>
Cc: "REDHAT LIST" <redhat-list@redhat.com>, "AXP LIST" <axp-list@redhat.com>
Subject: Eureka! An Apparent Fix: Re: `lpd' and `lpr' Failure
Date: Tue, 8 Dec 1998 12:06:42 -0600 [thread overview]
Message-ID: <01be22d5$82376740$cb01000a@tomtom2.asi-fwb.com> (raw)
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
reply other threads:[~1998-12-08 18:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox