[Samba] Samba network errors

"Bjørn Fahnøe" bf at bf-data.dk
Wed Feb 2 14:53:24 GMT 2005


Samba seems to work OK but I have the following problem: 
In the log I get the following 
Jan 27 10:33:53 test smbd[5055]: [2005/01/27 10:33:53, 0] lib/util_sock.c:get_peer_addr(1000) 
Jan 27 10:33:53 test smbd[5055]: getpeername failed. Error was Transport endpoint is not connected 
Jan 27 10:33:53 test smbd[5055]: [2005/01/27 10:33:53, 0] lib/util_sock.c:get_peer_addr(1000) 
Jan 27 10:33:53 test smbd[5055]: getpeername failed. Error was Transport endpoint is not connected 
Jan 27 10:33:53 test smbd[5055]: [2005/01/27 10:33:53, 0] lib/util_sock.c:write_socket_data(430) 
Jan 27 10:33:53 test smbd[5055]: write_socket_data: write failure. Error = Connection reset by peer 
Jan 27 10:33:53 test smbd[5055]: [2005/01/27 10:33:53, 0] lib/util_sock.c:write_socket(455) 
Jan 27 10:33:53 test smbd[5055]: write_socket: Error writing 4 bytes to socket 23: ERRNO = Connection reset by peer 
Jan 27 10:33:53 test smbd[5055]: [2005/01/27 10:33:53, 0] lib/util_sock.c:send_smb(647) 
Jan 27 10:33:53 test smbd[5055]: Error writing 4 bytes to client. -1. (Connection reset by peer) 
It means at least that I temporarily looses the connection and if writing to a database it becomes corrupted. 
I cannnot se i have made somthing wrong. Samba 2.x worked fine but Samba 3 is giving this problem. 
What can be done? Is it a bug? Is Samba misconfigured? Or is the network misconfigured?

I have checked network configuration with webmin. 
It now has a box in Routing and Gateways which says the folowing: 

Destination      Gateway   Netmask              Interface 
10.0.0.0           0.0.0.0     255.255.255.0       eth0 
Default Route   10.0.0.1    0.0.0.0                 eth0 

My configuration is 
IP: 10.0.0.10 
Netmask 255.255.255.0 
Gateway 10.0.0.1 
Broaddcast 10.0.0.255 
So what does the box mean? Have I misconfigured something in the network? 
I have reconfigured my eth0 with MDK Controlecenter, and nothing changes. 
It is really frustrating as it is the basic configuration I am loosing my time with and not the network for the benefits of the users. 

I have another thing. In the Microsoft Network the Xp-workstations disappear after a time (5-20 minutes) I can find them via Find computer. 
If I close down the Samba service it does not happen. 

Bjørn



More information about the samba mailing list