Your original email ended up in my Spam Collection Sack, and this
is not the best place for it.  This could be due to that fact
that you sent it directly to me, or you sent it to the LPRng mailing
list and you were not subscribed to it.  Or you might be trying to
beat the list security and were sending to lprng-owner and expecting
to spam the list :-)

If you are subscribed to the mailing list,  then you might have
sent it from a site or address different than the one that you
registered with.  If the latter is the case and you want to post
from this address then send me, Patrick Powell <[EMAIL PROTECTED]>,
email describing the problem with:

LPRNGMAIL

in the SUBJECT line so my junk mail purging system will not toss
it into the bit shredder (we shred our email for security reasons).

In fact,  if you have any problems with the list, send me email
with LPRNGMAIL in the header.

The best way to get answers is via the LPRng mailing list, which
I peruse on a fairly frequent basis.

To subscribe, send mail to:

[EMAIL PROTECTED]

with the single line:

subscribe 

in the body.

This reply is sent by a semiautomatic system, and the real
person may be drinking coffee at the present time...
so my apologies for the one-size-fits-all message.

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

--------------------------


The problem is that to meet 'strict' RFC1179 requirements,  you need
to originate connections from a 'privileged' port... originally 721-731
in the RFC1179,  but in practice 1-1023.

Clearly this is bogus when you have a large number of jobs to send.

So LPRng relaxes this:  you can originate connections from ANY port
and unless you REQUIRE them to originate from a privileged port it
will accept them.  Unfortunately,  most Solaris LPD servers and JetDirect
cards require the originate from a protected port.

You can accomplish this using one of the following two methods:

a) install your LPRng clients NON-SETUID:
    ./configure --disable-setuid ...

b) in the printcap entries, use:

   .client:force_localhost:originate_port=0:mx=0:mc=0
   .server:sd=/var/spool/lpd/%P:mx=0:mc=0

   lp:tc=.client:lp=queue@server

   lp:tc=.server:[EMAIL PROTECTED]

Either way this is a &*())(*& pain.

Patrick


> From [EMAIL PROTECTED] Thu Dec 13 22:39:07 2001
> From: "Hansen, Kenn" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: LPRng on a Sun Solaris is not reusing sockets port numbers ... We
>        are loosing printjobs .. 
> Date: Fri, 14 Dec 2001 17:39:23 +1100
>
> Hi ..
>
> When printing large number of (small) printjobs we loose printjobs !!. 
>
> I have problems configuring our Sun computer /  LPRng to reuse the port
> numbers. ( At leasts that's what I belive is the problem. But ?? )
>
> If You have any idea's please let me know. 
> I have read the webpages and have followed the recomendations ..  but  ....
> whatever I try to change seem to be ignored !!. 
>
> Ex:
> Say printing 800 printjobs to printer "comp" results in 
> 508 queued printjobs and the rest "lost" with the error messages:
>
> netstat displays a large numbers of TIME_WAIT connections.
>
> comp: getconnection: cannot bind to port - Address already in use
> Status Information:
>  sending job 'kennbh@casper+694' to comp@localhost
>  connecting to 'localhost', attempt 1
>  cannot open connection to localhost - Address already in use
> Make sure the remote host supports the LPD protocol
> comp: getconnection: cannot bind to port - Address already in use
>
> System info:
> lpd running as user daemon:
> daemon 23742     1  0 17:05:12 ?        0:00 lpd -D3        
>
> lpd.conf:
> #   default originate_port=513 1023  (STRING) 
> #   default retry_nolink@  (FLAG on)                
> #   default reuse_addr (FLAG on)  
> #   default retry_econnrefused  (FLAG on)      
>  
> LPRng-3.8.1, Copyright 1988-2001 Patrick Powell, <[EMAIL PROTECTED]>
> SunOS casper 5.8 Generic_108528-12 sun4u sparc SUNW,Sun-Fire-280R
>
>
> TCP_TIMEWAIT is current set to 10 min. We are going to change the values to
> 1 min. 
>
>  
> Regards
> Kenn Hansen
> Mayne Health
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.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.
-----------------------------------------------------------------------------

Reply via email to