[Samba] Arrggg Samba is not behaving

Jeremy Allison jra at samba.org
Fri Sep 24 17:29:28 GMT 2004


On Fri, Sep 24, 2004 at 10:23:11AM +0300, Chris Roubekas wrote:
> 
>     A while ago I posted a message regading the way Samba is behaving
> and some problems that I was facing with Windows "loosing"
> the connection with the server...
> Here is another sample of what my /var/log/messages still looks like:
> 
> Sep 19 15:08:01 Srv smbd-classic[3499]: [2004/09/19 15:08:01, 0] lib/util_sock.c:read_data(436)
> Sep 19 15:08:01 Srv smbd-classic[3499]:   read_data: read failure for 4. Error = Connection reset by peer

This is simply the client disconecting from the server. We
have no idea who.

> I have tried everything. From reinstalling my Linux box from scratch, reinstalling
> Windows2000 from scratch (SP2) changing network cards, checking the wiring of
> my network, checking intensity of the network cables (yes even brought a technician
> to assist me with that because I had no idea how to check that), connected
> Srv with Win2000 via a cross-over cable (just in case the switcher was malfunctioning)
> and tons of other scenarios. Nothing! Zilch!
> 
> Unfortunately I am faced with a very serious problem since this occurs
> every week (sometimes more than 3 times a day!!!).

You need to run a sniffer on the wire to see what is happening
to the tcp connection. The client is dropping it. Samba doesn't
know why. I'd look at your hubs/switches if I were you.

Jeremy.


More information about the samba mailing list