[Samba] Samba getpeername failed problem

alen alen at cgcg.com.tw
Mon Jul 17 13:15:49 GMT 2006


Hi,

About 10 days ago, I started looking at the "getpeername failed. Error was
Transport endpoint is not connected" message appearing on our logs.  This
message was being produced very frequently during the day and somewhat
less frequently at night.

Anyone can help me to fix it ??

Here're message info !

Our configuration is samba 3.0.10a 
Our network has about 60 XP Pro PC's and 100 w2k PC's.

Jul 17 21:08:42 subf1 smbd[4309]: [2006/07/17 21:08:42, 0]
lib/util_sock.c:read_socket_data(384)
Jul 17 21:08:42 subf1 smbd[4309]:   read_socket_data: recv failure for 4.
Error was Bad file descriptor
Jul 17 21:08:44 subf1 smbd[4316]: [2006/07/17 21:08:44, 0]
lib/util_sock.c:read_socket_data(384)
Jul 17 21:08:44 subf1 smbd[4316]:   read_socket_data: recv failure for 4.
Error was Bad file descriptor
Jul 17 21:08:45 subf1 smbd[4318]: [2006/07/17 21:08:45, 0]
lib/util_sock.c:read_socket_data(384)
Jul 17 21:08:45 subf1 smbd[4318]:   read_socket_data: recv failure for 4.
Error was Bad file descriptor
Jul 17 21:08:48 subf1 smbd[4349]: [2006/07/17 21:08:48, 0]
lib/util_sock.c:read_socket_data(384)
Jul 17 21:08:48 subf1 smbd[4349]:   read_socket_data: recv failure for 4.
Error was Bad file descriptor
Jul 17 21:08:51 subf1 smbd[4371]: [2006/07/17 21:08:51, 0]
lib/util_sock.c:get_peer_addr(1000)

#### testparm -s

Load smb config files from /etc/samba/smb.conf
Processing section "[db6]"
Loaded services file OK.
Invalid combination of parameters for service db6.
Level II oplocks can only be set if oplocks are also set.
# Global parameters
[global]
        workgroup = XEON
        server string = Samba Server
        security = SHARE
        guest account = xeon
        log level = 3
        log file = /etc/samba/smb.log
        max log size = 50
        max mux = 150
        max xmit = 204800
        max ttl = 1296000
        change notify timeout = 120
        keepalive = 10
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
SO_KEEPALIVE
        load printers = No
        os level = 68
        preferred master = No
        local master = No
        dns proxy = No
        wins proxy = Yes
        read only = No
        cups options = raw
        case sensitive = Yes
        map archive = No
        oplocks = No

[db6]
        path = /db6/test
        force user = joe
        force group = user
        guest ok = Yes

Best regards,

Alen Fang
________________________________
CGCG Inc..





More information about the samba mailing list