Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

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
0
rolandmy
Asked:
rolandmy
  • 4
  • 4
1 Solution
 
giltjrCommented:
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?
0
 
gheistCommented:
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)
0
 
rolandmyAuthor Commented:
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.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
gheistCommented:
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
0
 
rolandmyAuthor Commented:
Hello experts. Just got back from a long holiday. So sorry.

How do I "move in to system httpd and mrtg with my configs"?
0
 
gheistCommented:
install mrtg ans httpd from centos and use that.
at least they are in default paths....
0
 
rolandmyAuthor Commented:
Works with CentOS 6.3, thanks for help :)
0
 
rolandmyAuthor Commented:
Sorry for late acceptance of answer. Was having some internet access issues.
0
 
gheistCommented:
no problem, you have internet now and can upgrade to Centos 6.5 ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now