ragraph and cron/shell problems?

Carter Bullard carter at qosient.com
Thu Sep 27 13:06:53 EDT 2007


Hey Wolfgang,
Right now, we don't have a perl INSTALL strategy for ragraph.pl,
and so having the path to rabins updated at install time is not going
to happen until after argus-3.0.0 is released.  (not sure how to pass
Makefile variable declarations into the perl script, outside of the
standard perl INSTALL strategies. Sure we can do some sed
call, but I'm not tooooo comfortable with that).

So, ..., I made the path for RABINS "/usr/local/bin/rabins", which
is the default install path.  I also put in a check and an error  
statement
in ragraph,  so that it will explain why its in trouble,  and I'll  
put some
documentation to explain in the INSTALL file.

Hopefully that will be enough for now?

Carter


On Sep 25, 2007, at 1:59 PM, Carter Bullard wrote:

> Yes, this is very bad, and I'll correct it immediately.
> Carter
>
> Wolfgang Barth wrote:
>> Hey Carter,
>>
>> im running in big trouble with my periodically graph scripts after  
>> upgrade
>> ragraph to a current version.
>> The scripts works perfectly if they are running from command line,  
>> but not
>> as cron job. After a long search I found the problem:
>>
>> my $RABINS = `which rabins`;
>>
>> Hey, what the heck is this?
>>
>> If rabins is not in the path, rabins would not be found.
>>
>> First, you should check $RABINS if there is an executable found and
>> second, why not coding the correct path during make? The make  
>> procedure
>> knows the path where it installs the the binary.
>>
>> The first point is a must, the second a nice to have ;-)
>>
>> Wolfgang
>> "I love Argus 8-)"
>>
>
>
>



More information about the argus mailing list