Displaying 20 results from an estimated 57 matches for "set_socket_options".
2001 Jan 29
0
Failed to set socket option
...bind interfaces only = true
socket address = 10.254.1.21
...
log file = /opt/samba-eng/var/log.%m
...
config file = /opt/samba-eng/lib/smb.conf.%m
...
I set some additional debugging in lib/util_sock.c to get the full socket_option details.
106 void set_socket_options(int fd, char *options)
107 {
108 fstring tok;
109
110 /* DEBUG */
111 DEBUG(0,("in set_socket_options(%d, %s)\n", fd, options));
112 /* DEBUG */
113 DEBUG(0,("lib/util_sock.c: set_socket_options before &options(%d...
2000 Aug 31
1
Error Bad file descriptor
...e 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 op...
2001 Nov 06
0
problems with failed to set_socket_option SO_KEEPALIVE(bad file descriptor) etc
I just started using SAMBA/LINUX about a month ago so I am a beginner! We
started using SAMBA share with NT about a month ago and everything was
working fine until today.
Problem we are getting when we are running from the SAMBA share - very slow
response and
looking in the log
receiving
Failed to set_socket_option SO_KEEP_ALIVE(bad file descriptor)
Failed to set_socket_option TCP_nodelay (bad
1999 Nov 15
2
Problem with socket options after upgrading to Samba 2.0.6
...ron 400 with kernel 2.2.13.
My socket options in smb.conf is set to "TCP_NODELAY IPTOS_LOWDELAY
SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192". However I've started getting
the following everytime I SIGHUP to reload the configs and stop-start:
[1999/11/15 12:02:41, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[1999/11/15 12:02:41, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[1999/11/15 12:02:41, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket...
2000 Feb 29
0
Session request failed: SMB error
...y ideas?
[2000/02/29 09:42:38, 1] smbd/server.c:main(643)
smbd version 2.0.6 started.
Copyright Andrew Tridgell 1992-1998
[2000/02/29 09:42:38, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[2000/02/29 09:51:40, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/02/29 09:51:40, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2000/02/29 10:00:18, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket...
2010 Jan 29
1
Strange errors in Samba Logs
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 wa...
2002 Jan 03
2
Error Messages after Committed Config Changes
...64-bit mode) with AFS option has been
running for a year. I just changed the "Max Log Size" global parameter few
times today. Each time I committed the change, I got the following same
set of error messages in my Samba log (the log.smb file):
[2002/01/03 17:40:56, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2002/01/03 17:40:56, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option IPTOS_LOWDELAY (Error Bad file number)
[2002/01/03 17:40:56, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket op...
2001 Apr 18
3
W2K Domain Login Problem with 2.2.0
...d back to using 2.2.0-alpha3, users were able to login
again just fine. The smb.conf file, smbpasswd, MACHINE.SID, etc were
left unchanged when switching from 2.2.0-alph3 to 2.2.0 and back.
Also, occasionally, the following pops up in my smbd.log file :-
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option IPTOS_LOWDELAY (Error Socket operation on
non-socket
[2001/04/18 16:23:20, 0] lib/util_sock.c:set_socket_options(165)
Failed...
2000 Mar 10
0
Failed to set socket option problems Samba 2.0.6/Solaris 7
...d80@rasmus.uib.no>
Eirik Thorsnes wrote:
>
> I posted this to the samba list - but didn't get any answers
> so I try again on the technical.
>
> I get the following error in the smb log:
>
> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_options(148)
> Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_options(148)
> Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
> [2000/01/06 11:17:46, 0] lib/util_sock.c:set_socket_...
2001 Dec 20
1
Samba Returns Access Denied
...ion.
===
Can some one explain why?
In smb.conf I have entry that allows both the interface in the list then why
it is returning this error also the logs I see gives this
error's
-->log.smbd
[root@net-lab01 samba]# tail -f /var/log/samba/log.smbd
[2001/12/20 00:19:32, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/12/20 00:19:32, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2001/12/20 00:19:32, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket...
1999 Dec 08
3
Broken Pipe Errors
...t tell this
particular user to live with the problem, he's the CEO, my boss,
hahaha!!!).
BTW, FWIW, I'm also the one who had the problem with my Samba not being
able to perform my socket options for some wierd reason, my logs for that
problem read:
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket...
2004 Jan 13
0
Problem migration samba 2.2.8 -> 3.0.1
...a 2.2.8 all is fonctionnal but i need samba version 3 to
make performance test on NT ( version 2.2.8 seems to fall when
manipulating many files)
I found this on log.smbd
log.smbd: Failed to set socket option SO_KEEPALIVE (Error Invalid
argument)
log.smbd:[2004/01/13 14:39:22, 0] lib/util_sock.c:set_socket_options(160)
log.smbd: Failed to set socket option TCP_NODELAY (Error Invalid argument)
log.smbd:[2004/01/13 14:39:22, 0] lib/util_sock.c:set_socket_options(160)
log.smbd: Failed to set socket option IPTOS_LOWDELAY (Error Invalid
argument)
log.smbd:[2004/01/13 14:39:22, 0] lib/util_sock.c:set_socket_...
2000 Apr 04
0
Failed to set socket option error in Samba 2.0.6/Solaris 7
...quot; == 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_so...
2000 May 07
1
samba 2.0.7 socket errors
[2000/05/07 09:29:39, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2000/05/07 09:29:39, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file number)
THese errors appears in log.smb, WE cant print threw the smb shared
printers
THe version is sam...
2006 May 05
1
samba errors - "No buffer space available"
...inly Windows environment. The system is running Samba 3.0.7. I am
getting the following errors, repeatedly, in my log.smbd. What does it
mean? Is this actually a problem or normal chatter for Samba? If it is
a problem, what should I do to correct it?
[2006/05/03 07:41:38, 0] lib/util_sock.c:set_socket_options(202)
Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2006/05/03 07:41:38, 0] lib/util_sock.c:set_socket_options(202)
Failed to set socket option TCP_NODELAY (Error Invalid argument)
[2006/05/03 07:41:38, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was I...
2007 Apr 17
2
WinXp - Samba - Solaris Connection issue
...ither a Sparc Solaris 10 or
Sparc Solaris 9 system.
This is the output from log.smbd when the problem XP Pro system tries
to connect to the server:
[2007/03/28 14:47:01, 0] lib/util_sock.c:get_peer_addr(1229)
getpeername failed. Error was Invalid argument
[2007/03/28 14:47:01, 0] lib/util_sock.c:set_socket_options(261)
Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2007/03/28 14:47:01, 0] lib/util_sock.c:set_socket_options(261)
Failed to set socket option TCP_NODELAY (Error Invalid argument)
[2007/03/28 14:47:01, 0] lib/util_sock.c:get_peer_addr(1229)
getpeername failed. Error was Inva...
1999 Dec 10
1
samba broken
...ead only = no
create mode = 0777
writable = yes
[map]
comment = MAP Directories
path = /main/map
guest ok = no
browseable = yes
read only = no
create mode = 0775
writable = yes
printable = no
Some of my log file contents are:
[1999/12/09 14:15:50, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[1999/12/09 14:15:50, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file number)
After I reinstalled Samba, I get stuff like this:
[1999/12/10 08:12:14, 0] lib/util_sock.c:set...
1998 Sep 03
2
failed to set socket options
Samba Users:
We have Samba v1.9. and are having a small difficulty with the "socket
options" and "??? timeout" parameters. When we set it to ?TCP_NODELAY,
our log file indicates "Failed to set socket option TCP_NODELAY". This
also happened on an earlier version of Samba as well. Has anyone else
had a similar problem and found a solution?
Also, when setting
2000 Feb 28
0
Errors on Samba 2.0.6 - Solaris 2.6
...reset by peer
Feb 28 10:52:55 bratpa1 smbd[3187]: [2000/02/28 10:52:55, 0]
lib/util_sock.c:read_socket_data(474)
Feb 28 10:52:55 bratpa1 smbd[3187]: read_socket_data: recv failure for 4.
Error = Connection reset by peer
Feb 28 13:05:23 bratpa1 smbd[14977]: [2000/02/28 13:05:23, 0]
lib/util_sock.c:set_socket_options(148)
Feb 28 13:05:23 bratpa1 smbd[14977]: Failed to set socket option
SO_KEEPALIVE (Error Bad file number)
Feb 28 13:05:23 bratpa1 smbd[14977]: [2000/02/28 13:05:23, 0]
lib/util_sock.c:set_socket_options(148)
Feb 28 13:05:23 bratpa1 smbd[14977]: Failed to set socket option
TCP_NODELAY (Error So...
2006 Jun 12
1
3.0.22 on solaris10 socket error.
...ds=no \
--with-automount \
--with-ldapsam \
--with-acl-support \
--with-included-popt
When I start samba deamons, everything seems to work.
But when I connect to a share on solaris 10 from a windows client, I see
the message in log.smb file (log level 0) :
[2006/06/09 18:52:08, 0] lib/util_sock.c:set_socket_options(261)
Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
What does it means ?
I've tried to unset all socket options parameters, but i receive the
same message.
In the config.log generated by configure, socket.h from solaris includes
is found and used.
And if I run samba whith...