Error Bad file descriptor

Paulo Juliano Horlle horlle at kappesberg.com.br
Thu Aug 31 20:16:18 GMT 2000


    Dear friends,

    I receive the error "Error Bad file descriptor" when samba start, the
socket option in smb.conf have the line: "socket options = TCP_NODELAY
SO_KEEPALIVE SO_SNDBUF=4096"
My distribuition is Red Hat 6.2 and the Samba version is 2.0.69.

This is the error log /var/log/samba.smb:
[2000/08/31 14:07:06, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[2000/08/31 14:41:31, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/08/31 14:41:31, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/08/31 14:41:31, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/08/31 14:41:31, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file descriptor)
[2000/08/31 14:41:31, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[2000/08/31 16:43:03, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/08/31 16:43:03, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/08/31 16:43:03, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/08/31 16:43:03, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file descriptor)
[2000/08/31 16:45:47, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1014 are
available.

    Where are the problem, in Samba or in lib/util_sock.c?

    Please, my network is very slow without TCP_NODELAY.

    Best Regards!
    []'s
    Juliano
    ICQ 2601667





More information about the samba mailing list