> From [EMAIL PROTECTED] Fri Sep 8 15:08:34 2000
> Date: Fri, 8 Sep 2000 12:57:33 +1100
> To: LPRng Mail List <[EMAIL PROTECTED]>
> Subject: LPRng: [[EMAIL PROTECTED]: Bug#71113: lprng suppresses vital error messages]
> From: [EMAIL PROTECTED] (Craig Small)
>
> I've noticed this myself. LPRng's lpd is not exactly forthcoming in
> telling you there is a problem. I know lpd -F is good for debugging, but
> for normal everyday use you wouldn't run it that way.
>
> Or is it a case of some config file not being setup the wrong way?
> It would be nice if lpd did syslog more of its problems.
>
> - Craig
> ----- Forwarded message from Eric Lammerts <[EMAIL PROTECTED]> -----
> When I start lprng and something goes wrong (for instance, something
> else is already listening on port 515, or 0 bytes free on /var),
> lprng does not print any error message and sends nothing to the
> syslog. An strace shows the following:
>
> -----------------------------------------------------------------
> open("/dev/null", O_WRONLY) = 1
> ...
> dup2(1, 2) = 2
> ...
> bind(5, {sin_family=AF_INET, sin_port=htons(515), sin_addr=
> inet_addr("0.0.0.0")}}, 16) = -1 EADDRINUSE (Address already in
> use)
> ...
> write(2, "Fatal error - Another print spoo"..., 74) = 74
> -----------------------------------------------------------------
>
> Eric
>
>
>
> ----- End forwarded message -----
>
> --
> Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
> Eye-Net Consulting http://www.eye-net.com.au/ <[EMAIL PROTECTED]>
> MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>
OK, you now have:
h4: {42} % lpd
Fatal error - Another print spooler is using TCP printer port, possibly lpd process
'26214'
CHANGES:
lpd now mumbles at you when you try to start it up and it has
problems. Of course, most folks do 'lpd >/dev/null 2>&1' but
we will ignore them...
(Inspired by the well chosen arguments of:
<[EMAIL PROTECTED]> and Craig Small <[EMAIL PROTECTED]>)
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.astart.com)
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------