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

Bug#509965: marked as done (lprng: Remote printing doesn't work)



Your message dated Mon, 29 Dec 2008 09:39:50 +1100
with message-id <20081228223950.GA20700@enc.com.au>
and subject line Re: Bug#509965: lprng: Remote printing doesn't work
has caused the Debian Bug report #509965,
regarding lprng: Remote printing doesn't work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
509965: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509965
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lprng
Version: 3.8.A-1.1
Severity: important

After upgrading this system to amd64 lenny, I find that lprng
will not accept printing requests from other computers even though
I have modified the lpd.perms file to enable this.  Local printing
works fine.  I find that the same problem exists on another lenny
upgrade using i386 architecture.  It doesn't matter whether the
originating machine is running lenny or etch.

Here is a typical result when trying to check the queue:

merlin:~$ lpq -P upstairs
Printer: upstairs@merlin (dest upstairs@gryphon)
 Queue: 1 printable job
 Server: pid 22815 active
 Unspooler: pid 22816 active
 Status: sleeping 60 secs before retry, starting sleep at 19:10:26.542
 Rank   Owner/ID               Pr/Class Job Files                 Size Time
stalled(24109sec) raymond@merlin+812 A  812 /etc/printcap          544 12:29:02
Printer 'upstairs@gryphon' - cannot open connection - Connection refused

Here is the printcap file on gryphon:

# This file was generated by /usr/sbin/magicfilterconfig.
#
lp|upstairs|LaserJet 2300d:\
	:lp=/dev/usb/lp0:sd=/var/spool/lpd/upstairs:\
	:sh:pw#80:pl#66:px#1440:mx#0:\
	:af=/var/log/lp-acct:lf=/var/log/lp-errs:\
	:ifhp=model=hp2200:\
	:filter=/usr/lib/ifhp/ifhp:\
	:mc#50
... (other remote printers omitted)

Am I missing something obvious?  I didn't select "print server" on
the task select when installing etch prior to upgrading to lenny.
However, this has never been an issue on etch.



-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lprng depends on:
ii  debconf [debconf-2.0] 1.5.24             Debian configuration management sy
ii  libc6                 2.7-16             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libssl0.9.8           0.9.8g-14          SSL shared libraries
ii  lsb-base              3.2-20             Linux Standard Base 3.2 init scrip

lprng recommends no packages.

Versions of packages lprng suggests:
ii  lprng-doc                    3.8.A~rc2-3 lpr/lpd printer spooling system (d
ii  magicfilter                  1.2-60      automatic printer filter

-- debconf information:
  lprng/start_lpd: true
  lprng/twolpd_perms:
  lprng/twolpd_conf:
  lprng/setuid_tools: false



--- End Message ---
--- Begin Message ---
On Sat, Dec 27, 2008 at 07:03:47PM -0700, David Raymond wrote:
> Printer 'upstairs@gryphon' - cannot open connection - Connection refused
So it's not listening on the TCP port: "connection refused"

> Am I missing something obvious?  I didn't select "print server" on
README.Debian has this:

======
Remote Users not being able to print
------------------------------------
LPRng version 3.6.A locked down the daemon even more than previous
versions.
By default the Debian package doesn't listen on the TCP port.

To enable remote connections to the LPRng lpd daemon, add the following
line to /etc/lprng/lpd.conf:
 lpd_listen_port=515
======

That sounds like your problem.  If you have done that and its still not
working then you're free to reopen this bug.

 - Craig

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 


--- End Message ---

Reply to: