How to Install MRTG

Solution

Steps for MRTG installation are documented as

MRTG Installation

Make sure MRTG is NOT installed.
Type: rpm -e mrtg
It should come back with: error: package mrtg is not installed.
download mrtg-2.9.17-1cpanel.i386.rpm

We now need to remove some things that are not compatible.

Type:
rpm -e --nodeps libpng10

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

Now we are ready to start MRTG for the first time.

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

This will most likely cause errors, and you will have to run

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

probably 3-5 more times to eliminate all of the errors.
If after restarting 5 times you receive this error: ls: /var/spool/exim/input/*-H: No such file or directory Exit SSH, and then reconnect to your server as root and

Type:
/etc/rc.d/init.d/mrtg restart

That should fix the problem, if not give it 1 day and then restart again and see if the error is fixed. This error is related to files not being created yet

  • Email, SSL
  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Related Articles

Installation of Geotrust True Site Icon

Installation of True Site icon: Per the subscriber agreement, you are required to install the...

ColdFusion DSN parameters are not updated

SYMPTOMS New CF DSN records are created.  Even the set of parameters is tried to be updated...

Manage Query Cache

You can check whether the query cache is present in your MySQL server using the following...

After restoring a SQL Server database, it show a status of “Loading”

Getting the database out of LOADING state When restoring multiple backups, each backup needs...

Manage Tablespaces

Tablespaces in PostgreSQL allow database administrators to define locations in the file system...