Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: lpr: connect: Connection refused -- how come ?



When I missed a /etc/printcap, I had the same problem.   Try this minimum 
printcap.
/etc/printcap-------------------------
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.


##PRINTTOOL3## LOCAL lips3 300x300 a4 {} CanonLIPS Default 0 
lp:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :sh:\
        :lp=/dev/lp0:\
        :if=/var/spool/lpd/lp/filter:
-------------------------------------------------
> Anybody got a lead on this one?
> 
> I just switched my RH 6 box at work to TL 4.0 (aside: doing that sure is easy
> when you have /home, /var/spool/mail, and /usr/local all on separate file
> systems  :-)   ) and after the reinstallation, I get this when I try to print
> a file:
> 
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon.
> 
> This machine has two printers:  one is a remote printer on another host (my
> machine is in /etc/hosts.lpd on that host) and the other is locally attached.
> They are, respectively, set as lp and lp0, and both show the same problem.
> 
> It feels like permissions, but which ones?  Setting lpr to be world excutable
> doesn't help, and lpr already is world-executable:
> 
> -r-sr-sr-x   1 root     root        48048 Jul 19 21:55 /usr/sbin/lpd*
> -r-sr-sr-x   1 root     root        19760 Jul 19 21:56 /usr/bin/lpr*
> 
> Others:
> 
> drwxrwxr-x   4 root     daemon       1024 Jul 19 21:38 lpd/
>    drwxr-xr-x   2 root     lp           1024 Jul 19 22:13 lp/
>    drwxr-xr-x   2 root     lp           1024 Jul 19 22:02 lp0/
> 
> 
> These seem OK, but . . . ?
> 
> TIA,
> 
> 
> Jonathan Byrne                                 Engineering Division
> Global Online Japan                            http://www.gol.com/
> Tel:  +81 3-5334-1700   Fax: +81 3-5334-1701   Direct: +81 3-5334-1756
> 
> 
> -------------------------------------------------------------------
> Next Technical Meeting: August 14 (Sat), 13:00  place: Temple Univ.
> *** Special guest: Marc Christensen (Salt Lake Linux Users Group)
> Next Nomikai: September 20 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691
> -------------------------------------------------------------------
> more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan

-- 
Tetsuji Rai    Tokyo Japan
PPL 2476457    tetsuji@example.com
Aviation Jokes: http://www.geocities.com/CapeCanaveral/Station/9416/
fax: +1-708-570-4868 (in the US)


-------------------------------------------------------------------
Next Technical Meeting: August 14 (Sat), 13:00  place: Temple Univ.
*** Special guest: Marc Christensen (Salt Lake Linux Users Group)
Next Nomikai: September 20 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links