write_socket_data: write failure. Error = Broken pipe
MCCALL,DON (HP-USA,ex1)
don_mccall at hp.com
Fri Sep 21 07:01:04 GMT 2001
Hi Carlos,
Since you are in Security=server mode, the problem COULD be that the broken
pipe
messages are indicating that you lost your connection from this smbd to the
password
server; every time a smbd sends a keepalive packet to a client, it
'piggybacks' a
keepalive to the password server, and if that connection is broken, you get
this
message. This is fixed in the latest Samba 2.2.x; and can be avoided by
explicitly
adding the "keepalive = 0" parameter to the global section of smb.conf and
restarting
samba.
This is just one possibility - I mention it because of the spacing of the
broken pipe
messages - almost exactly 5 minutes apart - some of the Samba packages out
there have
a default of 300sec. for keepalive (like HP-UX), in contradiction to what
most of the
man pages will say. You can check this by running testparm and grepping for
keepalive
to see what the default on your samba installation is.
Hope this helps,
Don
-----Original Message-----
From: ccelso at embraer.com.br [mailto:ccelso at embraer.com.br]
Sent: Friday, September 21, 2001 9:19 AM
To: samba at samba.org
Subject: write_socket_data: write failure. Error = Broken pipe
Do you know this problems!?
[2001/09/20 16:10:54, 0] lib/util_sock.c:(541)
write_socket_data: write failure. Error = Broken pipe
[2001/09/20 16:15:55, 0] lib/util_sock.c:(541)
write_socket_data: write failure. Error = Broken pipe
[2001/09/20 16:20:56, 0] lib/util_sock.c:(541)
write_socket_data: write failure. Error = Broken pipe
[2001/09/20 16:25:58, 0] lib/util_sock.c:(541)
write_socket_data: write failure. Error = Broken pipe
[2001/09/20 16:44:52, 0] param/loadparm.c:(1923)
Unknown parameter encountered: "revalidate"
[2001/09/20 16:44:52, 0] param/loadparm.c:(2549)
Ignoring unknown parameter "revalidate"
[2001/09/20 16:44:52, 0] param/loadparm.c:(1923)
Unknown parameter encountered: "revalidate"
[2001/09/20 16:44:52, 0] param/loadparm.c:(2549)
Ignoring unknown parameter "revalidate"
How to fix !?
My smb.conf is:
##START-OF-SMB.CONF
#
[global]
workgroup = Samba
server string = FileServer
domain master = yes
preferred master = yes
os level = 65
log file = /opt/samba/var/log.%U
max log size = 32
security = server
password server = sambapwd
socket options = TCP_NODELAY
dns proxy = no
deadtime = 120
wins server = wintwins
include = /opt/samba/lib/U.%U
[homes]
public = no
printable = no
browseable = yes
guest ok = yes
#
##END-OF-SMB.CONF
att.
Carlos Celso de Almeida
--
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