Eric Boehm
2000-Apr-04 13:11 UTC
Failed to set socket option error in Samba 2.0.6/Solaris 7
I sent an earlier message asking for help in debugging the cause of this error. I didn't get any response. Today, I set debug level to 10, shutdown and started samba, and waited for the error to occur. The error did re-occur but I have 12460 lines of log to search through. What should I be looking for (I didn't want to send the log to the list)?> Date: Tue, 11 Jan 2000 12:37:48 -0800 > From: Jeremy Allison <jeremy@valinux.com> > Subject: Re: Error when setting socket options > References: <4.1.20000111162104.00a65d80@rasmus.uib.no>>>>>> "Eirik" == Eirik Thorsnes <Eirik.Thorsnes@student.uib.no> writes: >>>>> "Jeremy" == Jeremy Allison <jeremy@valinux.com> writes:Eirik> I posted this to the samba list - but didn't get any answers so I Eirik> try again on the technical. Eirik> I get the following error in the smb log: Eirik> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_options(148) Eirik> Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor) Eirik> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_options(148) Eirik> Failed to set socket option TCP_NODELAY (Error Bad file descriptor) Eirik> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_options(148) Eirik> Failed to set socket option SO_RCVBUF (Error Bad file descriptor) Eirik> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_options(148) Eirik> Failed to set socket option SO_SNDBUF (Error Bad file descriptor) Eirik> [2000/01/06 11:17:46, 1] lib/util_sock.c:client_name(997) Eirik> Any suggestions on what to do to solve this / get more information? Eirik> Should I try increase the loglevel? Jeremy> Yes, try going to debug level 10 - or look back in the logs to Jeremy> see if there are any other messages that could show why this fd Jeremy> was closed. -- Eric M. Boehm boehm@nortelnetworks.com