[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)

Hendrik Saly phps at gmx.de
Mon Apr 26 13:30:41 BST 2010


same for me but samba exits with a core dump, so i think its not
wishlist, its a bug

I configured in smb.conf

interfaces = vmnet8 vmnet1
bind interfaces only = yes

so that samba is only accessable by the vmware guest. 
BTW: In /etc/rc2.d vmware (S19) starts prior to samba (S20), thats the next strange thing

grep -ri smb  /var/log/daemon.log

Apr 26 14:10:07 fringe init: smbd main process (1222) killed by ABRT signal
Apr 26 14:10:07 fringe init: smbd main process ended, respawning
Apr 26 14:10:07 fringe smbd[1233]: [2010/04/26 14:10:07,  0] printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1233]:   Unable to connect to CUPS server localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1234]: [2010/04/26 14:10:07,  0] printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1234]:   Unable to connect to CUPS server localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] lib/interface.c:550(load_interfaces)
Apr 26 14:10:07 fringe smbd[1232]:   WARNING: no network interfaces found
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] smbd/server.c:1115(main)
Apr 26 14:10:07 fringe smbd[1232]:   standard input is not a socket, assuming -D option
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] smbd/server.c:616(open_sockets_smbd)
Apr 26 14:10:07 fringe smbd[1232]:   open_sockets_smbd: No sockets available to bind to.
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] smbd/server.c:837(exit_server_common)
Apr 26 14:10:07 fringe smbd[1232]:   ===============================================================
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] smbd/server.c:839(exit_server_common)
Apr 26 14:10:07 fringe smbd[1232]:   Abnormal server exit: open_sockets_smbd() failed
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] smbd/server.c:840(exit_server_common)
Apr 26 14:10:07 fringe smbd[1232]:   ===============================================================
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] lib/util.c:1584(log_stack_trace)
Apr 26 14:10:07 fringe smbd[1232]:   BACKTRACE: 6 stack frames:
Apr 26 14:10:07 fringe smbd[1232]:    #0 smbd(log_stack_trace+0x1a) [0x7f7c7d2de7aa]
Apr 26 14:10:07 fringe smbd[1232]:    #1 smbd(+0x5a9cc0) [0x7f7c7d56dcc0]
Apr 26 14:10:07 fringe smbd[1232]:    #2 smbd(+0x5a9e91) [0x7f7c7d56de91]
Apr 26 14:10:07 fringe smbd[1232]:    #3 smbd(main+0x90d) [0x7f7c7d56ebed]
Apr 26 14:10:07 fringe smbd[1232]:    #4 /lib/libc.so.6(__libc_start_main+0xfd) [0x7f7c79a6cc4d]
Apr 26 14:10:07 fringe smbd[1232]:    #5 smbd(+0xc0a49) [0x7f7c7d084a49]
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] lib/fault.c:326(dump_core)
Apr 26 14:10:07 fringe smbd[1232]:   dumping core in /var/log/samba/cores/smbd
Apr 26 14:10:07 fringe smbd[1232]: 
Apr 26 14:10:07 fringe init: smbd main process (1232) killed by ABRT signal
Apr 26 14:10:07 fringe init: smbd main process ended, respawning
Apr 26 14:10:07 fringe smbd[1240]: [2010/04/26 14:10:07,  0] printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1240]:   Unable to connect to CUPS server localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1241]: [2010/04/26 14:10:07,  0] printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1241]:   Unable to connect to CUPS server localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] lib/interface.c:550(load_interfaces)
Apr 26 14:10:07 fringe smbd[1239]:   WARNING: no network interfaces found
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] smbd/server.c:1115(main)
Apr 26 14:10:07 fringe smbd[1239]:   standard input is not a socket, assuming -D option
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] smbd/server.c:616(open_sockets_smbd)
Apr 26 14:10:07 fringe smbd[1239]:   open_sockets_smbd: No sockets available to bind to.
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] smbd/server.c:837(exit_server_common)
Apr 26 14:10:07 fringe smbd[1239]:   ===============================================================
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] smbd/server.c:839(exit_server_common)
Apr 26 14:10:07 fringe smbd[1239]:   Abnormal server exit: open_sockets_smbd() failed
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] smbd/server.c:840(exit_server_common)
Apr 26 14:10:07 fringe smbd[1239]:   ===============================================================
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] lib/util.c:1584(log_stack_trace)
Apr 26 14:10:07 fringe smbd[1239]:   BACKTRACE: 6 stack frames:
Apr 26 14:10:07 fringe smbd[1239]:    #0 smbd(log_stack_trace+0x1a) [0x7f6684ba67aa]
Apr 26 14:10:07 fringe smbd[1239]:    #1 smbd(+0x5a9cc0) [0x7f6684e35cc0]
Apr 26 14:10:07 fringe smbd[1239]:    #2 smbd(+0x5a9e91) [0x7f6684e35e91]
Apr 26 14:10:07 fringe smbd[1239]:    #3 smbd(main+0x90d) [0x7f6684e36bed]
Apr 26 14:10:07 fringe smbd[1239]:    #4 /lib/libc.so.6(__libc_start_main+0xfd) [0x7f6681334c4d]
Apr 26 14:10:07 fringe smbd[1239]:    #5 smbd(+0xc0a49) [0x7f668494ca49]
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] lib/fault.c:326(dump_core)
Apr 26 14:10:07 fringe smbd[1239]:   dumping core in /var/log/samba/cores/smbd
Apr 26 14:10:07 fringe smbd[1239]:

-- 
Samba fails to start at boot when not connected to network (and specific interfaces are configured)
https://bugs.launchpad.net/bugs/374589
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list