About Us  |  Blog  |  Hosting Partners  |  Legal  |  Portal Login

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> HOWTO: Gpan's MRTG for RH 8 w/ CPanel!
Brandonk
post May 2 2003, 11:39 PM
Post #1


Fellow
**

Group: Members
Posts: 105
Joined: 9-September 01
Member No.: 289



FIXES! FIXES! FIXES!

Ok, after spending a lot of time looking for answers, I finally got MRTG to work! This is for REDHAT 8.0!!!!!!!!

Let's make sure we're on the same page by updating the MRTG RPM:

# rpm -e mrtg-2.9.17-4ct
# rpm http://download.cheetaweb.com/mrtg-2.9.17-...cpanel.i386.rpm -Uvh

Get rid of the ugly UTF error:

# pico /etc/sysconfig/i18n

change LANG to LANG="en_US"

# reboot

you need to reboot the machine for these changes to take place

# set | grep LANG

verify the changes took place

Clean up the libpng issues

# rpm -e gnome-libs-1.4.1.2.90-22

we have to remove this in order to remove the others (we'll put it back on, don't worry)

# rpm -e libpng10-1.0.13
# rpm -e libpng10-devel-1.0.13-6

Now we put the things we just removed back on, but we use the correct versions.

Login to WHM
Click on Install RPMs
Force install these:
libpng
libpng-devel
gnome-libs

Now we clean up another error that would surface

# cd /usr/lib
# ln -s libpng.so.3 libpng.so.2

Now let's restart MRTG and go look at those graphs!

# /etc/rc.d/init.d/mrtg restart


--------------------
Thanks,
Brandonk
Go to the top of the page
 
+Quote Post
Guest_cpanelrich_*
post May 3 2003, 01:19 AM
Post #2





Guests






did everything ya said

then tried to restart mrtg

got

WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'uptime'
Signal was 11, Returncode was 0
libpng warning: Application was compiled with png.h from libpng-1.2.2
libpng warning: Application is running with png.c from libpng-1.0.13
gd-png: fatal libpng error: Incompatible libpng version in application and

library
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'cpu'
Signal was 11, Returncode was 0
libpng warning: Application was compiled with png.h from libpng-1.2.2
libpng warning: Application is running with png.c from libpng-1.0.13
gd-png: fatal libpng error: Incompatible libpng version in application and

library
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'localhost.mem'
Signal was 11, Returncode was 0
libpng warning: Application was compiled with png.h from libpng-1.2.2
libpng warning: Application is running with png.c from libpng-1.0.13
gd-png: fatal libpng error: Incompatible libpng version in application and

library
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'mail-host-email-totals'


i checked rpm -qa on libpng, and libpng-1.0.13 isnt even install.... i did a rpm -e --nodeps libpng and got rid of it, and tried to force install libpng again

didnt help


any ideas?
Go to the top of the page
 
+Quote Post
phenx
post May 3 2003, 04:20 AM
Post #3


Computer Chip
***

Group: Members
Posts: 962
Joined: 17-February 02
Member No.: 1,394



NICE!

I'll point out that on my Redhat 9 boxes, this did NOT require a restart, and it also worked perfectly!

Thanks! icon_biggrin.gif
Go to the top of the page
 
+Quote Post
Brandonk
post May 3 2003, 08:50 AM
Post #4


Fellow
**

Group: Members
Posts: 105
Joined: 9-September 01
Member No.: 289



cpanel rich, you need to do these steps again:

QUOTE
Clean up the libpng issues

# rpm -e gnome-libs-1.4.1.2.90-22

we have to remove this in order to remove the others (we'll put it back on, don't worry)

# rpm -e libpng10-1.0.13
# rpm -e libpng10-devel-1.0.13-6

Now we put the things we just removed back on, but we use the correct versions.

Login to WHM
Click on Install RPMs
Force install these:
libpng
libpng-devel
gnome-libs

Now we clean up another error that would surface

# cd /usr/lib
# ln -s libpng.so.3 libpng.so.2


--------------------
Thanks,
Brandonk
Go to the top of the page
 
+Quote Post
Guest_cpanelrich_*
post May 3 2003, 11:06 AM
Post #5





Guests






i did i did!

even made sure i forced em out (libpng was complaining about dependencies so i did an rpm -e --nodeps libpng

the others removed fine

and rpm -qa 'ed all 3 to make sure they were gone.

then re-installed

still get the weird png.c / png.h error (damn libpng!)

i'll keep working on it, will keep you update, if you have any other ideas, shoot em here.
Go to the top of the page
 
+Quote Post
Brandonk
post May 3 2003, 07:34 PM
Post #6


Fellow
**

Group: Members
Posts: 105
Joined: 9-September 01
Member No.: 289



Remove every single libpng and then when you reinstall, make sure you DO NOT install the ones with "10" next to them.


--------------------
Thanks,
Brandonk
Go to the top of the page
 
+Quote Post
gpan
post May 3 2003, 08:08 PM
Post #7


SuperGeek
****

Group: Members
Posts: 1,668
Joined: 23-October 02
Member No.: 4,512



I guess I should rebuild it against current libpng icon_razz.gif


--------------------
Geoffrey Pan
Red Hat Certified Engineer (RHCE), VMWare Certified Professional (VCP)
Certified Information Security Systems Professional (CISSP)

We can help you with your server! - including PHP 4 & 5, Ensim & Parallels Pro X, cPanel and Interworx. Our services include 24/7 server monitoring and management, upgrades, server migrations, security hardening, virtualization under VMWare & Xen, load balanced clusters and custom software installation.
www.cheetaweb.com
Go to the top of the page
 
+Quote Post
Guest_cpanelrich_*
post May 3 2003, 08:10 PM
Post #8





Guests






i went ahead and just installed it from scratch, always fun... rpm -Uvh is just way easier :-D
Go to the top of the page
 
+Quote Post
romer
post Jun 4 2003, 07:30 PM
Post #9


Newbie


Group: Members
Posts: 7
Joined: 3-May 03
Member No.: 7,442



Wonderfull, works fine.


Romero, Ricardo ( Brazil )


--------------------
Ricardo Romero ( Brazil )
Go to the top of the page
 
+Quote Post
LighthousePoint
post Jun 4 2003, 08:21 PM
Post #10


SuperGeek
****

Group: Members
Posts: 4,469
Joined: 25-May 02
Member No.: 2,403



Any word on if/when RS is offering some RH8/9 boxes? Okay, I know Ensim is the most picky-piece-of-software ever, and will not run on it, but what about the plain boxes? I've been messing around with RH9 recently, and truly love it.


--------------------
There once was a Devil that forced a Penguin to throw an Apple through a Window -- and Netware just sat there because it's crap.
------------------------
[11:01:50] Yea! The server stopped responding!
[11:01:55] haha
[11:01:56] * sirtwist realizes that sounds really weird
Go to the top of the page
 
+Quote Post
steve248
post Jun 12 2003, 05:15 PM
Post #11


Fellow
**

Group: Members
Posts: 156
Joined: 13-March 03
Member No.: 6,566



Will this work with RH 7.3?
Go to the top of the page
 
+Quote Post
indyjon
post Jun 13 2003, 08:29 AM
Post #12


Computer Chip
***

Group: Members
Posts: 501
Joined: 15-August 01
Member No.: 71



QUOTE
Originally posted by gpan
I guess I should rebuild it against current libpng icon_razz.gif


Did you by chance build this with libpng?

I am assuming it will work on a plain redhat 8 box....


--------------------
Respectfully,
Jon Marler
Go to the top of the page
 
+Quote Post
Guest_jruyle_*
post Jul 16 2003, 10:13 PM
Post #13





Guests






I got this error:

-------------------------------------------------------

Shutting down MRTG: [FAILED]
Starting MRTG: Daemonizing MRTG ...

root@water [/usr/lib]# ls: /var/spool/exim/input/*-H: No such file or directory
ls: /var/spool/exim/input/*-H: No such file or directory
ls: /var/spool/exim/input/*-H: No such file or directory

-------------------------------------------------------

What do you suggest?
Go to the top of the page
 
+Quote Post
Guest_Urban_*
post Jul 25 2003, 03:31 PM
Post #14





Guests






Is there any Red Hat 9.0 version of this MRTG RPM available?
Go to the top of the page
 
+Quote Post
indyjon
post Jul 25 2003, 03:48 PM
Post #15


Computer Chip
***

Group: Members
Posts: 501
Joined: 15-August 01
Member No.: 71



I used the stock mrtg that came with RH9. I just copied and slightly modified the config files that gpan's ensim rpm created on to my rh9 box. ... all is well.


--------------------
Respectfully,
Jon Marler
Go to the top of the page
 
+Quote Post
Guest_Urban_*
post Jul 25 2003, 11:59 PM
Post #16





Guests






Sorry to sound like an idiot, I am rather new to this. However, how would I go about using the one that comes with RH 9? Thanks for any help in advance icon_smile.gif
Go to the top of the page
 
+Quote Post
phenx
post Jul 26 2003, 10:12 AM
Post #17


Computer Chip
***

Group: Members
Posts: 962
Joined: 17-February 02
Member No.: 1,394



QUOTE
Originally posted by jruyle
I got this error:

-------------------------------------------------------

Shutting down MRTG:                                        [FAILED]
Starting MRTG: Daemonizing MRTG ...

root@water [/usr/lib]# ls: /var/spool/exim/input/*-H: No such file or directory
ls: /var/spool/exim/input/*-H: No such file or directory
ls: /var/spool/exim/input/*-H: No such file or directory

-------------------------------------------------------

What do you suggest?


that is perfectly normal.
Go to the top of the page
 
+Quote Post
ramprage
post Aug 12 2003, 10:50 PM
Post #18


Computer Chip
***

Group: Members
Posts: 439
Joined: 24-September 02
Member No.: 4,087



QUOTE
Originally posted by steve248
Will this work with RH 7.3?


So will it?


--------------------
Need Server Help? Hire an Expert
WebHostGear.com - Server Tutorials, Web Server Guides, Hosting Tutorials
Introducing ServerProgress.com - Server Administration and Management Services
New Server Setup, Security Enhancements, Anti-Spam and Custom Soutions
Go to the top of the page
 
+Quote Post
gpan
post Aug 12 2003, 10:55 PM
Post #19


SuperGeek
****

Group: Members
Posts: 1,668
Joined: 23-October 02
Member No.: 4,512



Its built on and supposed to work on 7.3 by default.


--------------------
Geoffrey Pan
Red Hat Certified Engineer (RHCE), VMWare Certified Professional (VCP)
Certified Information Security Systems Professional (CISSP)

We can help you with your server! - including PHP 4 & 5, Ensim & Parallels Pro X, cPanel and Interworx. Our services include 24/7 server monitoring and management, upgrades, server migrations, security hardening, virtualization under VMWare & Xen, load balanced clusters and custom software installation.
www.cheetaweb.com
Go to the top of the page
 
+Quote Post
Guest_ricu5_*
post Aug 15 2003, 06:43 PM
Post #20





Guests






Installed without a problem as far as I can tell

everytime cron runs I get this error
Daemonizing MRTG ...
ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid

I only see one running..probably the one it is complaining about...
I can access the stats page..no problem

I kill the process and she still produces the error

mrtg is set to activate at boot
and cron runs at 5 min intervals

any ideas

Thanks Rich
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd November 2009 - 04:42 AM
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us