line 139 command not found

Help
2012-01-07
2013-05-29
  • Christos Pras
    Christos Pras
    2012-01-07

    Hi all,

    I get an error when I try to run it in a Debian machine.

    automysqlbackup /etc/automysqlbackup/myserver.conf
    Parsed config file "/etc/automysqlbackup/automysqlbackup.conf"

    # Checking for permissions to write to folders:
    base folder /home/backups … exists … ok.
    backup folder /home/backups/db … exists … writable? yes. Proceeding.
    /usr/local/bin/automysqlbackup: line 139: mutt: command not found

    Anyone please…

    I run the install.sh and configure as the readme….

    Regards
    Christos

     
  • PittaGurneyi
    PittaGurneyi
    2012-01-08

    Please set
    CONFIG_mailcontent='stdout'
    in your config file and try again from your console. The output should directly be displayed. It seems some error occured before the check for config variables could determine whether there is a need for checking if mutt (mail program) is installed and can be used. Therefore the error handler tried to mail the errors using mutt (your configuration choice), which isn't there.

    Please post the output you get when you run this.

     
  • Christos Pras
    Christos Pras
    2012-01-09

    Hi again,

    As soon as I change the CONFIG_mailcontent='stdout'  everything is OK.

    Thank you so much

    Regards
    Christos