[Samba] Strange errors in Samba Logs

CJ Keist cj.keist at colostate.edu
Sun Jan 31 09:51:09 MST 2010


Haven't seen any response to this question. I'm also seeing the same errors:

[2010/01/31 09:33:32,  2] lib/util_sock.c:442(set_socket_options)
  Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2010/01/31 09:33:32,  2] lib/util_sock.c:442(set_socket_options)
  Failed to set socket option TCP_NODELAY (Error Invalid argument)

My socket line:
socket options = TCP_NODELAY

Why am I even getting invalid SO_KEEPALIVE when I don't even have it 
listed in smb.conf?  These are valid socket options according to my 
systems man pages.

Running 3.4.5 on Solaris 10 Sparc.


Ganju Yadav wrote:
> All,
>
> I see recurring error messages in my "smbd" log file. Any ideas how to fix
> this?
>
> [2010/01/29 09:17:27, 0] lib/util_sock.c:set_socket_options(261)  Failed to
> set socket option TCP_NODELAY (*Error Invalid argument*)
> [2010/01/29 09:17:27, 0] lib/util_sock.c:set_socket_options(261)  Failed to
> set socket option IPTOS_LOWDELAY (*Error Invalid argument*)
> [2010/01/29 09:17:27, 0] lib/util_sock.c:get_peer_addr(1232)  getpeername
> failed. Error was Transport endpoint is not connected
>
> Here is how my smb.conf reads:
>
> socket options = TCP_NODELAY IPTOS_LOWDELAY
>
> Thanks in advance.
>
> Ganju
>   

-- 
C. J. Keist                     Email: cj.keist at colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'



More information about the samba mailing list