[Samba] Connection reset by peer

john.debella at teradyne.com john.debella at teradyne.com
Fri Dec 24 02:04:05 GMT 2004


Hi Tom,

This particular server is running samba 3.0.7-1.3E.1 on RH 3.0. The domain 
is running AD in mixed mode, (I'll include the smb.conf below), and I 
believe the Windows server is Windows 2003.

Our clients are a mix of Win2k and WinXp. The server is running Clearcase 
and the clients access the Vobs via Samba. They are primarily running 
snapshot views.

We have had several issues come up over the last few weeks, 
(coincidentally when the domain was migrated to Windows AD). The most 
recent are intermittent problems when "password server not available" 
shows up in the logs and these particular errors show up, (connection 
reset by peer... etc...). We recently received a report from a user that 
he/she will get incomplete snapshot view updates, and/or the update 
operation itself runs very slowly. During the incomplete view updates the 
user will get messages like "can't open input file" from Clearcase.

We're thinking that there is some sort of authentication problem 
happening, however, we haven't been able to determine what has been 
causing all of these problems which are mainly intermittent. I'm hoping 
that by understanding what is causing these connections errors we'll get 
to root cause on the others as well.

One thing to note, we are also running Samba 2.2.7a on a few RedHat 9 
servers which are also running Clearcase. These servers are experiencing 
the same exact issues and are getting the same errors....... These 
machines have been running with this config for over 1 year and have not 
had any problems until recently.

[global]
   workgroup = ICD
   netbios name = VALHALLA
   security = domain
   password server = seneca
   wins server = 131.101.17.18 131.101.17.61
   server string = Linux ClearCase Server %v %h
   log file = /var/log/samba/%m.log
   log level = 6
   max log size = 4000
   username map = /etc/samba/smbusers
   read raw = no
   oplocks = no
   kernel oplocks = no
   level2 oplocks = no
   create mask = 0774
   directory mask = 0775
   map archive = No
   preserve case = yes
   dont descend = /view
   deadtime = 0
   strict locking = no
   domain master = no
   preferred master = no

[vobs]
   path = /export/vobs
   browsable = yes
   writable = yes
   public = yes
   comment = "Vobs"
   csc policy = disable







"Thomas M. Skeren III" <tms3 at fskklaw.com>
12/23/2004 08:39 PM

 
        To:     john.debella at teradyne.com
        cc:     samba at samba.org
        Subject:        Re: [Samba] Connection reset by peer


john.debella at teradyne.com wrote:
What are you doing?  What configuration.  What network configuration? 

>Hi,
>
>We continuously see these errors in our logs. I've done some searches on 
>this but nothing seems to point to anything specific.
>
>Any ideas?
>
>-John
>
>
>Dec 23 20:14:41 valhalla smbd[3574]: [2004/12/23 20:14:41, 0] 
>lib/util_sock.c:get_peer_addr(1000) 
>Dec 23 20:14:41 valhalla smbd[3574]:   getpeername failed. Error was 
>Transport endpoint is not connected 
>Dec 23 20:14:41 valhalla smbd[3574]: [2004/12/23 20:14:41, 0] 
>lib/util_sock.c:get_peer_addr(1000) 
>Dec 23 20:14:41 valhalla smbd[3574]:   getpeername failed. Error was 
>Transport endpoint is not connected 
>Dec 23 20:14:41 valhalla smbd[3574]: [2004/12/23 20:14:41, 0] 
>lib/util_sock.c:write_socket_data(430) 
>Dec 23 20:14:41 valhalla smbd[3574]:   write_socket_data: write failure. 
>Error = Connection reset by peer 
>Dec 23 20:14:41 valhalla smbd[3574]: [2004/12/23 20:14:41, 0] 
>lib/util_sock.c:write_socket(455) 
>Dec 23 20:14:41 valhalla smbd[3574]:   write_socket: Error writing 4 
bytes 
>to socket 5: ERRNO = Connection reset by peer 
> 
>






More information about the samba mailing list