> From [EMAIL PROTECTED] Fri Jul 19 06:14:17 2002
> Date: Fri, 19 Jul 2002 13:12:35 +0100
> From: Rory Campbell-Lange <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: LPRng: (Long) queue problems with NT4 server
>
> I have set up lprng on a linux server to send hpgl files to an OCE print
> server connected to a TDS600 large-format plotter. The OCE print server
> is a version of NT4 - we have no access to the OS, only the print server
> controls.
>
> Generally things run very well. But increasingly we are seeing problems
> with the OCE server not receiving files. On restarting the OCE server
> the prints flood through.
>
> I have found what appears to be the cause of the error by running
> tcpdump on the network connection. The oce sends the linux server
> 'hopnet' a message saying that the queue is no longer accepting jobs.
> A minute or two later the OCE server accepts jobs, but does not receive
> them. hopnet then spins through 513 and 1023 trying to make a
> connection. Only on restarting the OCE is the problem (temporarily)
> resolved.
>
> I'd be grateful for some advice on how to solve this problem. I've taken
> the liberty of including the tcpdump information below - sorry for the
> length of the mail.
>
> Regards
> Rory
The problem is in the TCP/IP stack.
Each time a connection is made from the linux server to 'hopnet', it
requires a <sender port, receiver port> pair. When the connection is closed,
the <sender port, recevier port> combination cannot be reused for a
system determined time - usually on the order of 10 minutes.
Since resetting the 'hopnet' system clears things up, I suspect
that the hopnet system is not 'resetting' the port.
Here are a couple of suggestions:
a) in the printcap entry for the printer on the
linux server
axis_1| Oce Network printer 10.0.0.42:\
:sd=/var/spool/lpd/axis_1:\
:lf=/var/spool/lpd/axis_1/log:\
:rm=10.0.0.42:\
:rp=pr2:\
:remote_support=R
The remote_support option will prevent the lpd server from sending
anything but LPR job transfers. Of course, you will not be able
to get status, but then you will not exhaust your port ranges.
b) in the printcap entry for the printer on the
linux server
axis_1| Oce Network printer 10.0.0.42:\
:sd=/var/spool/lpd/axis_1:\
:lf=/var/spool/lpd/axis_1/log:\
:rm=10.0.0.42:\
:rp=pr2:\
:originate_port=0
The originate_port option will cause the LPD server to use
ANY port, not just in the range 512 to 1023. This violates
RFC1179, but may solve your problem.
Patrick Powell Astart Technologies
[EMAIL PROTECTED] 6741 Convoy Court
Network and System San Diego, CA 92111
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.lprng.com)
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------