Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Samba problem -> read_fd_with_timeout & get_peer_addr_internal

Mat_Name
Occasional Contributor

Samba problem -> read_fd_with_timeout & get_peer_addr_internal

Hi there,

 

my /var/adm/syslog/syslog.log and /var/opt/samba/log/log.nmbd collects some messages like:

 

smbd[2556]: lib/util_sock.c:536(read_fd_with_timeout)
smbd[2556]: lib/util_sock.c:1509(get_peer_addr_internal)
smbd[2556]: getpeername failed. Error was invalid argument
smbd[2556]: read_fd_with_timeout: client 0.0.0.0 read error = invalid argument

 

Everything seems to be fine. Samba works perfect but why we get there errors?

There must be a problem. Could anybody give my an advice so solve my problem?

 

Thanks a lot.

 

 

P.S. This thread has been moved from HP-UX > General to HP-UX > networking. - Hp Forum Moderator

2 REPLIES
Highlighted

Re: Samba problem -> read_fd_with_timeout & get_peer_addr_internal

IN smb.conf if you have the line of

 

interface xxxxxxxxx

 

remove it and restart smb servieces .

 

Issue should be resolved .



Sachin Rajput
================
jmoor408
Frequent Visitor

Re: Samba problem -> read_fd_with_timeout & get_peer_addr_internal

Hello,

 

I am having the same errors in log and lack of end user impact.  I recently inherited this enviornment and I have smb.conf files all over the place on the server.  However if ps -ef|grep samba I get  

 

    root  2810  2780  0  Aug 17  ?         0:00 /opt/samba/bin/smbd -D -s /etc/opt/samba/smb.conf
    root  2777     1  0  Aug 17  ?         2:14 /opt/samba/bin/nmbd -D -s /etc/opt/samba/smb.conf
    root  2780     1  0  Aug 17  ?         0:19 /opt/samba/bin/smbd -D -s /etc/opt/samba/smb.conf
    root 25772  2780  0 07:19:39 ?         0:43 /opt/samba/bin/smbd -D -s /etc/opt/samba/smb.conf
    root  2988  2780  0 08:07:24 ?         1:37 /opt/samba/bin/smbd -D -s /etc/opt/samba/smb.conf
    root 22762  8731  0 16:26:10 pts/7     0:00 grep samba
    root 18098  2780  0 06:59:42 ?         0:41 /opt/samba/bin/smbd -D -s /etc/opt/samba/smb.conf

 

When I check /etc/opt/samba/smb.conf

I have the following and no interfaces entry:

 

server [ /var/opt/samba ]# more /etc/opt/samba/smb.conf
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2013/01/29 15:14:07

[global]
        workgroup = Confidential
        server string = Confidential Samba 3.4.3
        passwd chat debug = Yes
        log level = 1
        log file = /var/opt/samba/log.%m
        disable netbios = Yes
        load printers = No
        show add printer wizard = No
        lm announce = No
        local master = No
        domain master = No
        browse list = No
        enhanced browsing = No
        panic action = /usr/local/scripts/samba
        read only = No
        create mask = 0774
        dos filetime resolution = Yes

[OMA]
        comment = Share for Confidential Archiving
        path = /ops/Confidential
        valid users = +Confidential, +Confidentialread
        read list = +Confidentialread
        write list = +Confidential
        directory mask = 0775
        hide special files = Yes
        hide unreadable = Yes
        hide unwriteable files = Yes
        hide files = /~*/

[source_code]
        comment = Source Code for Confidential
        path = /srcd
        valid users = user1, user2, user3

[OMA]
        comment = Share for Confidential Archiving
        path = /ops/Confidential
        valid users = +Confidential, +Confidentialread
        read list = +Confidentialread
        write list = +Confidential
        directory mask = 0775
        hide special files = Yes
        hide unreadable = Yes
        hide unwriteable files = Yes
        hide files = /~*/