Help - Search - Members - Calendar
Full Version: MRTG on RH Enterprise 3 cPanel ??
The Planet Forums > Control Panels > cPanel/WHM
adstreamer
I searched the forum but did not find an answer as to whether someone did yet succeed in installing MRTG on a RedHat Enterprise 3 server with cPanel - and if so, HOW...

Any help is highly appreciated.

Thanks in advance.

Karen
LighthousePoint
yes, you can use MRTG on RHEL.

If you need the MRTG RPM, try the RH9 one.
adstreamer
Thanks LighthousePoint. I appreciate your fast answer.

Just three more questions:

1. When I run MRTG I get an error message as follows:

[PHP]ERROR: Mrtg will most likely not work propperly when the environment variable LANG is set to UTF-8. Please run mrtg in an environment where this is not the case:

env LANG=C /usr/bin/mrtg ...[/PHP]

Sorry for such silly question (I guess I was fighting too long with the server today, can't thing clearly anymore :confused: ), but WHERE are the environment variables like LANG set? I.e. where can I fix that?

On the other hand I noticed that MRTG does despite this error message work... ?!?!?


2. How about Mailscanner-MRTG? Is there a recommendation as regards RH Enterprise 3 with cPanel?

3. Since installing the MRTG....I noticed that every couple of minutes I get the following message through SSH:

ls: /var/spool/exim/input/*-H: No such file or directory

What does this mean and how can fix that?



Thanks again and in advance for any help!

Karen
:confused:
LighthousePoint
the Mailscanner-MRTG how-to should work fine.

UTF-8 is a two-byte character encoding which has largly replaced the various other 1-byte "western" encodings. MRTG pops up a warning about it, but you have nothing to worry about, because the original ASCII characters are mapped the same in UTF-8.
adstreamer
QUOTE
Originally posted by LighthousePoint
the Mailscanner-MRTG how-to should work fine.


Unless...
[php]"root@myhost [/]# tar -xzvf mailscanner-mrtg-0.07.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors"[/php]

as in my case...

:confused:

Karen
LighthousePoint
that's not a RHEL-specific problem. That means a corrupt packge.

1) Is it in-fact gzipped? try tar xvf instead of xvfz
2) Re-download the package
3) Make sure you're getting it from a reputable source.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.