[Samba] Re: [Samba] Re: [Samba] After some print jobs, samba server doesn´t accept conections.

Joel Hammer Joel at HammersHome.com
Tue Apr 23 16:43:02 GMT 2002


There may be a limit on how many jobs a windows client can sent at one time,
too.
I am not quite sure of what you are seeing on your windows clients. Are all
the clients locked out from using the printing service, not just the client
sending the large number of jobs? I thought your original post said only the
client sending the large number of jobs was locked out. Are only printing
connections being refused?

If all the clients are having problems if only one client is sending jobs,
then this really sounds like an lprng problem or a samba problem.
max mux might be of interest. 
max mux (G)
This  option  controls  the maximum number of outstanding simultaneous
SMB operations that Samba tells the client it will allow. You should
never need to set this  parameter.
  Default: max mux = 50

When faced by this sort of odd problem, there are a number of places to
look for info:
1. The samba log. 
2. The log for your printer.
3. /var/log/messages
4. smbstatus
5. lpq 
6. tcpdump (last, desperate hope.)

Joel


On Tue, Apr 23, 2002 at 06:09:40PM -0500, Claudio Hernandez wrote:
> I have been noticed that the printers in all the clients (windows) after
> some printing jobs show a message saying "User intervention is requiered..."
> and then there are not avaible for any other  user. It backs to normality
> when I restart the SMB service.
> 
> -----Mensaje original-----
> De: Joel Hammer [mailto:Joel at HammersHome.com]
> Enviado el: Martes, 23 de Abril de 2002 04:50 p.m.
> Para: Claudio Hernandez; samba at lists.samba.org
> Asunto: [Samba] Re: [Samba] After some print jobs, samba server doesn´t
> accept conections.
> 
> 
> Are the clients linux/unix clients or windows clients? If they are windows
> clients, I have no idea. But, if they are linux/unix clients:
> 
> This sounds like an lprng problem. I forget the cure.
> 
> Try sending numerous print jobs from the samba server. If the same problem
> occurs, check out the lprng documentation.
> 
> Here is man lpd.conf from my redhat 7.1 box.
> 
> originate_port (default: "721 731") A range of port numbers to originate
> requests from.  When sending service  requests, the software will try
> to open and bind to these ports to originate a request to a server.
> If no port is given,  or  all of  the requested  ports  are unavailable
> or cannot be bound to, then a normal use port is requested.  Note that
> on UNIX systems, if a port in the range 0-1023 is requested the EUID of
> the process must be  root  for  the  request to be granted.  Note that
> RFC1179 specifies that requests must originate from ports in the range
> 721-731.
> 
> This says that only root can use the ports outside of 721-731.
> 
> Joel
> 
> 
> On Tue, Apr 23, 2002 at 05:27:14PM -0500, Claudio Hernandez wrote:
> > I have RH 7.2, with Samba 2.2.1a, and LPRng printing system. I have two
> > printers, HP DeskJet 1220C and HP LaserJet 5.
> > 
> > When a user send many jobs to the printer after a short period of time the
> > server sends a message that the server is not accesible or is not
> connected
> > to the network, but any other user can do it, again, after some jobs sent
> to
> > the printer the server doesn´t accept any connection from that client.
> > 
> > I read the FAQ of LPRng, and it says that you must change the number of
> > ports in your lpd.conf file, but it has the correct number of ports.
> > 
> > ==================obtained from www.lprng.org
> =============================
> > 
> > SOLUTION:
> > 
> > It appears that most RFC1179 implementations do not check for the exact
> port
> > range 721-731, but only that the connection
> > originates from a reserved port, i.e. - in the range 1-1023. You can
> extend
> > the range of ports used by LPRng by changing the
> > 
> >     originate_port=721 731
> > 
> > value in the defaults (LPRng/src/common/defaults.c) file or in the
> lpd.conf
> > file. I recommend the following: 
> > 
> >     originate_port=512 1022 <--- I have this numbers.
> > ========================================================================
> > 
> > What could be my problem??
> > 
> > regards.
> > 
> > Ing. Claudio Hernández.
> > Sistemas OPM
> > Tel. 83-54-72-60   Ext. 259
> > Skytel Tel. 83190779 Pin: 5996543
> > e-mail: claudio.hernandez at ogiharaproeza.com.mx
> > 
> > La información contenida o adjunta a este mensaje es clasificada como
> > No-Pública, de carácter privado y confidencial, es propiedad de Proeza,
> sus
> > afiliados y/o subsidiarias que en conjunto denominaremos Proeza y no puede
> > ser reproducida, revelada o transmitida a terceros o ser utilizada para
> > propósitos no definidos dentro de los términos comercialmente aceptables
> por
> > el receptor del mensaje, sus colaboradores o asociados sin el
> consentimiento
> > previo y por escrito por parte de Proeza. Estas restricciones son
> > adicionales a cualquier acuerdo paralelo que se hubiese establecido entre
> > las partes en términos de acuerdos, contratos o convenios de
> > Confidencialidad o similares entre Proeza y el receptor de este mensaje.
> > 
> > The information contained in or attached to this message, to the extent it
> > is non-public, is the confidential, proprietary information of Proeza.,its
> > affiliates and/or subsidiaries (collectively, "Proeza") and may not be
> > reproduced, disclosed to any third party or used by the recipient and/or
> the
> > recipient's employer (hereinafter "recipient"), for other than the
> intended
> > purpose for which it was provided to the recipient, without the prior
> > written approval of Proeza.  These restrictions are in addition to any
> > restrictions that may apply pursuant to the terms of any Confidentiality
> or
> > Non-Disclosure Agreement(s) between Proeza and the recipient
> > 
> > 
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list