Link to home
Create AccountLog in
Avatar of rolandmy
rolandmyFlag for Malaysia

asked on

MRTG Rateup can't exec

I ran a "/home/apps/mrtg/bin/mrtg /home/apps/bbhbsys/data/list-det.mrtg" in centos 6.4

Below is my problem. Help? :(

Possible precedence problem on bitwise | operator at /home/apps/mrtg/bin/../lib/mrtg2/BER.pm line 619.
Can't exec "/home/apps/mrtg/bin/rateup": No such file or directory at /home/apps/mrtg/bin/mrtg line 674.
WARNING: rateup (/home/apps/mrtg/bin/rateup /home/apps/httpd/ 172.16.253.1 1389669276 -Z u 0 0 1250000 c #00cc00 #0000ff #006600 #ff00ff k 1000 i /home/apps/httpd/172.16.253.1-day.png -1250000 -1250000 400 100 1 1 1 300 1 4 1 i /home/apps/httpd/172.16.253.1-week.png -1250000 -1250000 400 100 1 1 1 1800 1 4 1 i /home/apps/httpd/172.16.253.1-month.png -1250000 -1250000 400 100 1 1 1 7200 1 4 1 i /home/apps/httpd/172.16.253.1-year.png -1250000 -1250000 400 100 1 1 1 86400 1 4 1) did not work: No such file or directory
Avatar of giltjr
giltjr
Flag of United States of America image

Based on the error something one of the following does not exist

     /home/apps/mrtg/bin/rateup
    /home/apps/httpd

Do both of these exist?
mrtg is provided in base centos repositories. try using that one with your data files.... (if you install that rateup will be in your path all the time)
Avatar of rolandmy

ASKER

Hi giltjr,

Yes, both exist and yet the error still exists.

Hi gheist,

I will try that and get back to here later in the day.
Basic philosophy behind enterprise linux is that they maintain somewhat older versions of software with security/stability patches, so you are expected to enjoy stable environment with minimal downtimes. Building own httpd and mrtg just adds extra burden to you.
Just consider spending extra day to move in to system httpd and mrtg with your configs - maybe trying first on desktop virtual machine. You will have much less work in future.
hint: yum provides */httpd ; yum provides */rateup
Hello experts. Just got back from a long holiday. So sorry.

How do I "move in to system httpd and mrtg with my configs"?
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Works with CentOS 6.3, thanks for help :)
Sorry for late acceptance of answer. Was having some internet access issues.
no problem, you have internet now and can upgrade to Centos 6.5 ;)