Avatar of rolandmy
rolandmy
Flag 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
NetworkingLinux NetworkingNetwork Management

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
giltjr

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?
gheist

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)
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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
gheist

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
rolandmy

ASKER
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
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rolandmy

ASKER
Works with CentOS 6.3, thanks for help :)
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
rolandmy

ASKER
Sorry for late acceptance of answer. Was having some internet access issues.
gheist

no problem, you have internet now and can upgrade to Centos 6.5 ;)