[Samba] getpeername failed

Torsten Geile zuhause at tippex.net
Mon Jun 19 11:56:32 GMT 2006


Hi,

I am discovering several error messages from one of our samba servers. 
Logcheck says:


Security Events
=-=-=-=-=-=-=-=

getpeername failed. Error was Transport endpoint is not connected
getpeername failed. Error was Transport endpoint is not connected
getpeername failed. Error was Transport endpoint is not connected
getpeername failed. Error was Transport endpoint is not connected
getpeername failed. Error was Transport endpoint is not connected
getpeername failed. Error was Transport endpoint is not connected
getpeername failed. Error was Transport endpoint is not connected

System Events
=-=-=-=-=-=-=
[2006/06/16 08:12:37, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:12:38, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:12:38, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:12:38, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:24:34, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:36:31, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:40:53, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 08:40:53, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 08:45:55, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 08:45:55, 1] libsmb/cliconnect.c:cli_connect(1330)
.......
[2006/06/16 08:59:01, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:59:01, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:59:01, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 08:59:01, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:04:28, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:04:29, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:04:29, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:06:22, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 09:06:23, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 09:09:59, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:10:00, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:14:41, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:22:02, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:33:58, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:33:58, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:33:58, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:33:58, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:33:58, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:42:14, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 09:42:14, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 09:45:54, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:45:54, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:45:54, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 09:47:16, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 09:47:16, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 09:57:47, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:02:39, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 10:02:39, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 10:07:01, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:09:47, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:09:47, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:21:44, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:27:56, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:33:40, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:33:41, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:33:41, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:33:41, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:38:24, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:45:37, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:45:37, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:48:52, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:49:06, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 10:49:06, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 10:57:33, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 10:57:34, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:09:30, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:09:30, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:09:30, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:19:11, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 11:19:11, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 11:21:27, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:21:27, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:21:27, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:32:29, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:32:30, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:33:31, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:39:36, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 11:39:36, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 11:43:57, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:43:57, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:43:57, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:43:57, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:43:57, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:43:58, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:44:52, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:49:50, 1] lib/util_sock.c:open_socket_out(774)
[2006/06/16 11:49:50, 1] libsmb/cliconnect.c:cli_connect(1330)
[2006/06/16 11:56:09, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 11:56:09, 0] lib/util_sock.c:get_peer_addr(1150)
[2006/06/16 12:01:34, 1] smbd/server.c:open_sockets_smbd(353)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)
Error connecting to 192.168.9.20 (Operation already in progress)

This machine 192.168.9.20 has winxp home edition on it and is located in 
a different subnet accross a wan/vpn connection.

But the real problem is the connection from on client within the same 
subnet(192.168.1.0/24). Its connection to the samba server is terminated 
every 10-20 minutes. The client has a network drive mapped to samba and 
is accessing its files from it. Offline Browsing is enabled and 
everytime, the connection is terminated, this little symbol 
appears,where one is able to click 'o.k' and the connection will be 
reastablished.  I could be a client/w2k problem, but I could not find 
any usefull hints in the systemlog

Where or how do I have fix that problem?


Thanks.

Torsten






More information about the samba mailing list