Failed to set socket option error in Samba 2.0.6/Solaris 7

Eric Boehm boehm at nortelnetworks.com
Tue Apr 4 16:30:06 GMT 2000


On Tue, Apr 04, 2000 at 11:32:53AM -0400, David Collier-Brown - Sun Canada wrote:
>>>>> "Dave" == David Collier-Brown <- Sun Canada <davecb at scot.canada.sun.com>> writes:

    Eric> Today, I set debug level to 10, shutdown and started
    Eric> samba, and waited for the | error to occur. The error did re-occur
    Eric> but I have 12460 lines of log to search | through. What should I be
    Eric> looking for (I didn't want to send the log to the | list)?

    Dave> 	The lines adjacent to the "Failed to set socket option" ones,
    Dave> for example, everything from 20 line before the SO_KEEPALIVE to the
    Dave> line after SO_SNDBUF fails.

Here's the preceding 90 lines and following 10 lines

  error packet at line 1356 cmd=50 (SMBtrans2) eclass=1 ecode=2
[2000/04/04 08:16:25, 3] smbd/error.c:error_packet(143)
  error string = No such file or directory
[2000/04/04 08:16:25, 5] lib/util.c:show_msg(458)
  size=35
  smb_com=0x32
  smb_rcls=1
  smb_reh=0
  smb_err=2
  smb_flg=136
  smb_flg2=65
[2000/04/04 08:16:25, 5] lib/util.c:show_msg(464)
  smb_tid=1
  smb_pid=51966
  smb_uid=100
  smb_mid=2304
  smt_wct=0
[2000/04/04 08:16:25, 5] lib/util.c:show_msg(474)
  smb_bcc=0
[2000/04/04 08:16:25, 6] lib/util_sock.c:write_socket(557)
  write_socket(8,39)
[2000/04/04 08:16:25, 6] lib/util_sock.c:write_socket(560)
  write_socket(8,39) wrote 39
[2000/04/04 08:16:53, 6] param/loadparm.c:lp_file_list_changed(1855)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Tue Apr  4 07:43:48 2000
  
  file /usr/local/samba/lib/smb.conf modified: Tue Apr  4 07:47:56 2000
  
[2000/04/04 08:16:53, 5] param/loadparm.c:free_service(1435)
  free_service: Freeing service vobstore
[2000/04/04 08:16:53, 5] param/loadparm.c:free_service(1435)
  free_service: Freeing service IPC$
[2000/04/04 08:16:53, 3] param/loadparm.c:init_globals(867)
  Initialising global parameters
[2000/04/04 08:16:53, 3] param/params.c:pm_process(538)
  params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
  doing parameter workgroup = PCNTRTP
  doing parameter security = domain
  doing parameter encrypt passwords = yes
  doing parameter password server = *
  doing parameter client code page = 437
  doing parameter max open files = 1014
  doing parameter wins server = 47.156.160.179
  doing parameter comment = "Samba %v server"
  doing parameter share modes = yes
  doing parameter getwd cache = yes
  doing parameter browseable = yes
  doing parameter load printers = no
  doing parameter local master = no
  doing parameter server string = "IP Services ClearCase VOB Server %h (%L), Samba"
  doing parameter username map = /usr/local/samba/lib/username.map
  doing parameter interfaces = "47.111.69.171/20 47.140.7.148/20 47.202.34.76/20"
  doing parameter debug level = 10
  doing parameter socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=32768 SO_RCVBUF=32768
  doing parameter max log size = 100000
[2000/04/04 08:16:53, 2] param/loadparm.c:do_section(2300)
  Processing section "[vobstore]"
  doing parameter comment = IP Services VOB storage
  doing parameter path = /export/vobstore/03
  doing parameter hosts allow = @IP_SERVICES_HOSTS, 47.136.241.183, prtpd2pg, prtpd0um, prtpd0ht, prtpd1uu
  doing parameter valid users = @IP_SERVICES_USERS
  doing parameter oplocks = No
  doing parameter guest ok = no
  doing parameter directory mask = 0775
  doing parameter map archive = No
  doing parameter writeable = yes
[2000/04/04 08:16:53, 3] param/loadparm.c:lp_load(2622)
  pm_process() returned Yes
[2000/04/04 08:16:53, 7] param/loadparm.c:lp_servicenumber(2714)
  lp_servicenumber: couldn't find homes
[2000/04/04 08:16:53, 3] param/loadparm.c:lp_add_ipc(1566)
  adding IPC service
[2000/04/04 08:16:53, 7] param/loadparm.c:lp_servicenumber(2714)
  lp_servicenumber: couldn't find printers
[2000/04/04 08:16:53, 2] lib/interface.c:add_interface(83)
  added interface ip=47.111.69.171 bcast=47.111.79.255 nmask=255.255.240.0
[2000/04/04 08:16:53, 2] lib/interface.c:add_interface(83)
  added interface ip=47.140.7.148 bcast=47.140.15.255 nmask=255.255.240.0
[2000/04/04 08:16:53, 2] lib/interface.c:add_interface(83)
  added interface ip=47.202.34.76 bcast=47.202.47.255 nmask=255.255.240.0
[2000/04/04 08:16:53, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2000/04/04 08:16:53, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file number)
[2000/04/04 08:16:53, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2000/04/04 08:16:53, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file number)
[2000/04/04 08:16:53, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file number)
[2000/04/04 08:16:53, 10] lib/genrand.c:do_dirrand(93)
  do_dirrand: value from file /dev/..
[2000/04/04 08:16:53, 10] lib/genrand.c:do_dirrand(93)
  do_dirrand: value from file /dev/...
[2000/04/04 08:16:53, 10] lib/genrand.c:do_dirrand(93)
  do_dirrand: value from file /dev/sad.
[2000/04/04 08:16:53, 10] lib/genrand.c:do_dirrand(93)
  do_dirrand: value from file /dev/dsk.
[2000/04/04 08:16:53, 10] lib/genrand.c:do_dirrand(93)
  do_dirrand: value from file /dev/fd.

-- 
Eric M. Boehm                               boehm at nortelnetworks.com


More information about the samba-technical mailing list