Failed to set socket option

Chris Herrmann chris at faredge.com.au
Tue Jan 30 05:58:03 GMT 2001


Hi all,

this message just started appearing:

[2001/01/28 12:19:13, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/01/28 12:19:13, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2001/01/28 12:19:13, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[2001/01/28 12:19:13, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file descriptor)

after turning off hosts allow. The relevant line looks like:

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Any ideas?

I can't enable hosts allow, as the clients are running on internal IPs with
no dnscache/hosts/etc setup. I couldn't find any instance of SO_KEEPALIVE in
the file anywhere.

Single samba server == PDC. Win 9x clients. Clients are connecting fine.

Cheers,

Chris





More information about the samba mailing list