From: David Metcalfe (david@prism.demon.co.uk)
Date: 03/28/93


From: david@prism.demon.co.uk (David Metcalfe)
Subject: Re: Problems with lpr: It can't find daemon. Help!
Date: Sun, 28 Mar 1993 09:32:30 +0000

Perry Kim Sloope (sloope@cs.uh.edu) wrote:
: In article <1onj5hINN86l@rs3.hrz.th-darmstadt.de> gs@hrz.th-darmstadt.de (Guenther Seybold) writes:
: >sloope@cs.uh.edu (Perry Kim Sloope) writes:
: >
: >
: >>I recently installed Linux on my PC and I have a problem using lpr.
: >>When I issue a command such as "lpr foo-file" I get this response:
: >
: >> lpr: connect: no such file or directory
: >> can not start daemon
: >
: >The solution is simple (at least for my system):
: >Put a line
: >lpd
: >in the file /etc/rc.local
: >Then, the line printer daemon will be started whenever you boot
: >your system.
: >--

: I tried that too. If there are any files queued, the daemon prints them,
: and then dies. If I use lpr after that, I get the same message as before.

: The problem seems to be that lpr can't crank up the daemon. I have
: checked file permissons, but all seems OK.

: I am still open to suggestions.

: Kim sloope@cs.uh.edu

I had exactly the same symptoms a couple of months ago, even after
setting all the permissions correctly, etc. The solution, in my case,
was to add the line

printer 35/tcp

to /etc/services. The instructions talk about "lp 35/tcp" but that
didn't work. BTW I discovered this by running syslogd. This then
gives more detailed error messages. If the above suggestion doesn't
work, you could try running syslogd.

David