View Single Post
  #163 (permalink)  
Old 10-08-2009, 09:56 PM
chewitt chewitt is offline
Active Member
 
Posts: 30
Default

Quote:
Originally Posted by borngunners View Post
What am I missing in this script for the dar to have problem. Also, what is it about line 127: mail: command not found?
The section of script that is throwing the error looks like this:

Code:
nice -19 $DAR_BIN -s $ARCHIVESIZE -z$COMPRESS......
The only way I can see 'nice' being sent an '-s' operator is if the content of the $DAR_BIN variable is null so the command becomes 'nice -19 -s'

Do you have DAR installed? ..what is the output of:

Code:
whereis dar | awk '{print $2}'
For the line 127 issue.. what do you get if you run the following command?

Code:
whereis mail | awk '{print $2}'
I suspect you don't have a dummy mta (e.g. mailx package) installed for the script's 'mail' commands to use. If you do, check $paths etc. for the root user to make sure it's found.

Christian
Reply With Quote