error message at boot
I've installed Samba-3.0.22 and inorder to have Samba server start up automatically at boot, I've added the following two lines to my system startup scripts:
after reboot I got the following error message:
/usr/share/samba/panic-action: line 48: mail: command not found
what is the reason for this error ?
thanks in advance
Which distro are you using? Normally you'd use the System V init scripts to turn samba on. You can manipulate these with the chkconfig command (see it's manpage) for your runlevel. Many of the newer distros give you a graphical service editor too. If you're not using System V stuff, it can still be a useful reference to make sure you get your startup scripts getting everything going in the right order.
I would remove the entries in the startup scrpts and configure the Samba daemon(s) to run at the appropriate run level(s), (i.e. 3 and/or 5).