Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    error message at boot

    Hello all!
    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:

    /usr/sbin/nmbd -D
    /usr/sbin/smbd -D

    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

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    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.
    Linux user #126863 - see

  3. #3
    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).

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts