Hi List,
I have set up a new server for our department and chose LPRng-3.6.26 as printing
system.
While normal printig works, i get strange timeout errors when i use lpq -a:
------------------------------------------------------------------------------------
root@antsrv1 [~] # lpq -a
Printer: lp is lj4p@antsrv1
Printer: lj4p@antsrv1
Queue: no printable jobs in queue
Status: job 'root@antsrv1+375' removed at 16:48:30.965
Printer 'lj5p@antsrv1' - cannot open connection - Operation timed out
Make sure LPD server is running on the server
Printer: clj5@antsrv1
Queue: no printable jobs in queue
Printer: clj5t is clj5@antsrv1
Printer 'clj5@antsrv1' - cannot open connection - Operation timed out
Make sure LPD server is running on the server
Printer: clj5p is clj5@antsrv1
Printer: clj5a3 is clj5@antsrv1
root@antsrv1 [~] # lpq -a
Printer: lp is lj4p@antsrv1
Printer: lj4p@antsrv1
Queue: no printable jobs in queue
Status: job 'root@antsrv1+375' removed at 16:48:30.965
Printer 'lj4p@antsrv1' - cannot open connection - Operation timed out
Make sure LPD server is running on the server
Printer: lj5p@antsrv1
Queue: no printable jobs in queue
Status: job 'root@antsrv1+389' removed at 16:59:38.173
Printer: clj5@antsrv1
Queue: no printable jobs in queue
Printer: clj5t is clj5@antsrv1
Printer: clj5p is clj5@antsrv1
Printer: clj5a3 is clj5@antsrv1
Printer 'clj5@antsrv1' - cannot open connection - Operation timed out
Make sure LPD server is running on the server
root@antsrv1 [~] # for p in lj4p lj5p clj5 clj5t clj5p clj5a3;do lpq -P $p;done
Printer: lj4p@antsrv1
Queue: no printable jobs in queue
Status: job 'root@antsrv1+375' removed at 16:48:30.965
Printer: lj5p@antsrv1
Queue: no printable jobs in queue
Status: job 'root@antsrv1+389' removed at 16:59:38.173
Printer: clj5@antsrv1
Queue: no printable jobs in queue
Printer: clj5t is clj5@antsrv1
Printer: clj5@antsrv1
Queue: no printable jobs in queue
Printer: clj5p is clj5@antsrv1
Printer: clj5@antsrv1
Queue: no printable jobs in queue
Printer: clj5a3 is clj5@antsrv1
Printer: clj5@antsrv1
Queue: no printable jobs in queue
---------------------------------------------------------------------------------------
The above output shows that:
- the timeouts occur at random (I issued lpq -a twice with different results)
- I get no timeouts when i issue the 'lpq -P <printer>' commands separately.
lpd is of course running:
root@antsrv1 [~] # ps axu|grep lpd
lp 2180 0.0 0.2 1368 1184 ?? Is 2:44PM 0:00.18 lpd: lpd Waiting (lpd)
root@antsrv1 [~] # uname -a
FreeBSD antsrv1.comm.uni-bremen.de 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr
21 10:54:49 GMT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386
root@antsrv1 [~] # grep -v ^# /etc/lpd.conf
drop_root
group=lp
lpd_printcap_path=/export/stuff/LPRng/printcap
perms_path=/export/stuff/LPRng/lpd.perms
printcap_path=/export/stuff/LPRng/printcap
require_configfiles@
user=lp
I am attaching the printcap file
Any ideas? These timeouts are quite annoying.
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax : -3341
lp
:client:direct
:lp=lj4p@antsrv1:force_localhost@
#
#
# Laserjet 4
#
lj4p|ntlab
:client:direct
:qq:lp=lj4p@antsrv1:force_localhost@
#
lj4p
:oh=antsrv1
:server:sh
:direct_read
:mx#0:ps=status
:sh:sb
:lp=lj4%9100
:sd=/export/stuff/LPRng/lj4p
:af=/export/stuff/LPRng/lj4p.acct
#
#
# Laserjet 5
#
lj5p|swlab
:client:direct
:qq:lp=lj5p@antsrv1:force_localhost@
#
lj5p
:server
:oh=antsrv1
:mx#0:ps=status
:sh:sb
# :lp=lj5%9100
:lp=stade%9100
:lpd_bounce
:sd=/export/stuff/LPRng/lj5p
:af=/export/stuff/LPRng/lj5p.accnt
#
#
# Color-Laserjet
#
clj5|lj5c
:client:direct
:qq:lp=clj5@antsrv1:force_localhost@
clj5t|lj5ct
:client:direct
:qq:lp=clj5@antsrv1:force_localhost@
clj5p|lj5cp
:client:direct
:qq:lp=clj5@antsrv1:force_localhost@
clj5a3|lj5ca3
:client:direct
:qq:lp=clj5@antsrv1:force_localhost@
#
clj5
:server
:oh=antsrv1
:mx#0:ps=status
:sh:sb
:lp=lj5c%9100
# :lp=/tmp/clj5.out
:sd=/export/stuff/LPRng/clj5
:af=/export/stuff/LPRng/clj5.acct
:if=/usr/local/lib/filters/ANT/clj5.pl