[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] samba on top of GFS

On Mon, Nov 15, 2004 at 11:59:49PM -0800, Alan Wood wrote:
> anyway,
> my system details:
> I'm still running samba 3.0.7 on top of kernel 2.6.8-1.521

Also go ahead and upgrade to Samba 3.0.8 for me.  Just so we're on the 
same page...

> I tried updating to the newest CVS releases but ran into compile errors and 
> haven't had time to try again.  so the GFS build is still mid-september. 
> I'd like to try the fixes that Patrick and David posted but think I am 
> going to try to compile cleanly with a 2.6.9 kernel.
> error details:
> I tried turning the loglevel up to 3.  I get the following fairly often:

(Reformatted to Samba's normal log style...)

  Error writing 5 bytes to client. -1. 
  (Connection reset by peer)
[2004/11/15 17:10:32, 0] lib/util_sock.c:send_smb(647)
  write_socket: Error writing 5 bytes to socket 24: ERRNO =
  Connection reset by peer
[2004/11/15 17:10:32, 0] lib/util_sock.c:write_socket(455)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/11/15 17:10:32, 0] lib/util_sock.c:write_socket_data(430)

Samba has it's own logfile format.  Each error message starts with the
timestamp followed by the file:function name(line number) at which the
message was generated.  The text following this header is the actual

Yeah, it get's kind of messy when you log to syslog.  I suggest you set 
"debug timestamp = no" in your smb.conf.

The above errors (on the surface, at least) talk about Samba's smbd daemon 
being unable to send a message to the client.  That confuses me.  It seems 
as though the client has dropped the TCP connection for some reason.

...either that, or there's some other problem related to the network I/O.

This is all very superficial.  I think debugging this from the GFS side 
first makes the most sense.

Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh ubiqx mn org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh ubiqx org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]