i just moved my / from sda1 to an ide drive, hde1. i dont see how this could have caused any of these issues, but it did.
first my network card failed to start. i added a line in my rc.local file (where i put all of my additional programs, etc i want to start):
the above now starts my network card with my static ip configured. dhcpcd also worked but i wanted this static.
now samba will not start. i have the following line in my rc.local:
this used to work just fine. at first i thought that samba may be trying to start before my network card gets an ip, but the line is *after* the network startup line. just to make sure, i made an additional script called startsamba which contained a sleep 60 followed by samba start, to delay the startup of samba even further.
the message samba reports is very vague, something like failed - core dumped. most of the core dump log is garbage characters, but here is the beginning which seems like it might contain some info:
no-process-group log-stdout Log to stdout build-options Print build options Listen on the specified ports Common samba options: loaded services
Becoming a daemon.
smbd version %s started.
Changed root to %s
waiting for a connection
tdb_reopen_all failed. listen: %s
** sam sync message received, ignoring
received sam replication message, serial = 0x%04x
smb_conf_updated: Got message saying smb.conf was updated. Reloading.
Run interactive (not a daemon) Run daemon in foreground (for daemontools, etc.) Don't create a new process group Build-time configuration overrides: Copyright Andrew Tridgell and the Samba Team 1992-2006 standard input is not a socket, assuming -D option
open_sockets_smbd: Too many sockets to bind to
open_sockets_smbd: interface %d has NULL IP address !
open_sockets_smbd: accept: %s
allowable_number_of_smbd_processes: number of processes (%d) is over allowed limit (%d)
allowable_number_of_smbd_processes: can't open connection tdb.
allowable_number_of_smbd_processes: can't fetch INFO/total_smbds. Error %s
uid=%d gid=%d euid=%d egid=%d
ERROR: failed to setup guest info.
open_sockets_smbd: listen: %s
ERROR: Samba cannot create a SAM SID.
Could not open account policy tdb.
ERROR: smbd can not open secrets.tdb
ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or interactive (-i)
after the system starts, i can drop to a console and type "/etc/rc.d/init.d/samba start" and the service starts just fine. i've also tried starting samba manually with "smbd -d" which also produces the core dump when started from rc.local, but not when started from a console after startup.