lpd won't run

lpd won't run

Post by Chris Marrio » Tue, 31 Aug 1993 06:15:25



I'm trying to set up printing on my linux system (SLS 1.03), but the "lpd"
daemon won't run.  If I start it, it simply exits immediately. My "printcap"
file just says:

    lp:\
        :lp=/dev/lp1:\
        :sd=/usr/spool/lp1:\
        :mx#0:

The directory "/usr/spool/lp1" does exist.

Whenever I try to print I get:

    lpr: Connect: No such file or directory
         couldn't start daemon

The device is OK - copying a file to /dev/lp1 print it OK.

Could someone help please?

Chris
--
--------------------------------------------------------------------------


| Save the whales.  Collect the whole set. | CompuServe: 100113,1140     |
--------------------------------------------------------------------------

 
 
 

lpd won't run

Post by Brian McCaul » Wed, 01 Sep 1993 18:10:03


   I'm trying to set up printing on my linux system (SLS 1.03), but the "lpd"
   daemon won't run.  If I start it, it simply exits immediately. My "printcap"
   file just says:

       lp:\
           :lp=/dev/lp1:\
           :sd=/usr/spool/lp1:\
           :mx#0:

   The directory "/usr/spool/lp1" does exist.

Yes but does /var/spool/lpd/ ? I think I'm going to have to *SHOUT*
this in the printing-HOWTO (formerly lpd-FAQ) nobody seems to notice it.
--

 .  _\\__[oo       from       | Voice: +44 21 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ |   Fax: +44 21 627 2175 (work)
 # ll  l\\  ~~~~ ~   ~ ~    ~ | Snail: 197 Harborne Lane, B29 6SS, UK
###LL  LL\\ (Brian McCauley)  |  ICBM: 52.5N 1.9W

 
 
 

lpd won't run

Post by Marko A. Jovanov » Wed, 01 Sep 1993 17:27:53


I had exactly the same problem due to the fact that I didn't install
networking stuff.

        Marko

 
 
 

lpd won't run

Post by Chris Marrio » Thu, 02 Sep 1993 06:41:12


Many thanks, everyone who replied by e-mail.  The problem was that I'd
forgotten to create the directory "/var/spool/lpd".  I created it, ran
"lpd" and printing now works fine.

Chris
--
--------------------------------------------------------------------------


| Save the whales.  Collect the whole set. | CompuServe: 100113,1140     |
--------------------------------------------------------------------------

 
 
 

lpd won't run

Post by manuel Toledo-Quinon » Mon, 27 Sep 1993 03:27:41



: I had exactly the same problem due to the fact that I didn't install
: networking stuff.

:       Marko

I am having the same problem. The daemon does not work! I tryed two
versions of the printing programs: one distributed as lpr.tar.z which
apparently is an older version, then I downloaded the source code from
net-2 (lpd-590.tar.gz). I followed the instructions in 'Printing.HOWTO'.
Directory '/var/spool/lpd' exists and all files seem to have the
appropriate ownership.

The only thing I don't have is the full net-2 installation. Is it
needed to use the lpd package?

Any help will be greatly appreciated.
Thanks,
manuel

 
 
 

1. "lpd" won't run

Forgive me if you've already seen this post in "comp.os.linux", but I've
just discovered that this new hierarchy exists, and this is the place where
the question should have gone originally.

I've just installed the SLS 1.03 linux implementation on my 486/33.  I'm
trying to get printing working, following the instructions in the FAQ.
I have a printer on LPT1: which works - I can copy a file to /dev/lp1 and
it prints fine.

My problem is that the printer daemon "lpd" refuses to run.  If I run it,
it terminates with no error messages immediately (exit code 0, if that
helps).  When I try to print through "lpr" I get the message "job queued,
but no daemon present".  When I run the printer control program lpc and
give the "restart" command I get the message:

    lp:
         cannot open lock file
    lp:
    lpc: connect: No such file or directory
         couldn't start daemon

I've edited the "printcap" file to simply say:

    lp:\
        :lp=/dev/lp1:\
        :sd=/usr/spool/lp1:\
        :mx#0:

I've create the directory "/usr/spool/lp1".

This is getting VERY fraustrating.  If anyone can help me with this problem,
I'd really appreciate it!

Thanks!

Chris
--
--------------------------------------------------------------------------


| Save the whales.  Collect the whole set. | CompuServe: 100113,1140     |
--------------------------------------------------------------------------

2. Neomagic XD/NM2160 in Compaq Presario 1610 with XFree86

3. lpd won't run... why?

4. need XFConfig for Nokia 44BS and Trident 9000

5. lpd won't keep running.

6. Optimising Hard Disk (SCO)

7. LPD input filter won't run..

8. MASQUERADING / DNS - newbie question

9. A solution to a 'lpd running but no printing problem'

10. lpd: Fatal error - Cannot bind to lpd port '515'

11. Why won't LPD accept remote connections?

12. Printer Daemon (lpd) won't Accept Jobs > 1MB?

13. lpd won't start (not a FAQ!)