I've got an Ubuntu server. I installed Samba to share files with Windows clients and it started off fine. I recently added some shares that are based on UnionFS and now the samba server will not start at boot and I have to launch it manually (/etc/init.d/samba start works without error)
It's annoying and it's going to cause problems when the server gets restarted when I'm not there. Can anybody suggest an idea why it's not booting and/or give me a way to make sure it does.
Edit: Just restarted. Here's the log for the boot-up.
[2009/05/15 10:04:21, 0] smbd/server.c:main(1260)
smbd version 3.3.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/05/15 10:04:21, 0] printing/print_cups.c:cups_connect(103)
Unable to connect to CUPS server localhost:631 - Connection refused
[2009/05/15 10:04:21, 0] printing/print_cups.c:cups_connect(103)
Unable to connect to CUPS server localhost:631 - Connection refused
[2009/05/15 10:04:21, 0] lib/interface.c:load_interfaces(546)
WARNING: no network interfaces found
[2009/05/15 10:04:22, 0] smbd/server.c:open_sockets_smbd(554)
open_sockets_smbd: No sockets available to bind to.
I realise I need to clean out some CUPS nonsense.. The "no network interfaces" part is really odd because it will start up (albeit manually).
Here's the log when I run /etc/init.d/samba start
[2009/05/15 10:09:03, 0] smbd/server.c:main(1260)
smbd version 3.3.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
No grief about CUPS. No moaning about network interfaces. No nagging about sockets. How I like it.