line 651 ... x/y/z is a directory

Help
2010-11-16
2013-05-29
  • when i have email mode set to "files", i always get notified of an error.  the contents of the attached error log is:
    ./automysqlbackup-2.5.1-01.sh: line 651: /home/icauto/backups/daily/information_schema: is a directory
    ./automysqlbackup-2.5.1-01.sh: line 651: /home/icauto/backups/daily/icauto_drupal: is a directory
    ./automysqlbackup-2.5.1-01.sh: line 651: /home/icauto/backups/daily/icauto_intercon: is a directory

    any ideas?

     
  • i wonder if it's related to this notification that i get at the bash prompt when i run the script:
    /usr/bin/which: no find in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/icauto/bin)

     
  • Hello Brian,
    the latest version requires the which command to determine the full path fo required binaries. This will change in later versions, because it's not the standard on every operating system.