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 Utilizadores acharam útil
Esta resposta foi útil?

Related Articles

Fix Lame Nameserver Error

A lame server, is one that is specifed at the registrar to be authoritative for a domain, but...

Create PostgreSQL user account

It is advisable to run PostgreSQL under a separate user account. This user account should only...

Create a backup file of a SQL Server database?

Open Enterprise Manager and expand the registered SQL Server Expand Databases Right-click on...

Copy MySQL database to another server through shell?

Copying MySQL Databases to another server If you are using MySQL 3.23 or later, you can copy the...

How does memory overcommit affect PostgreSQL?

In Linux 2.4 and later, the default virtual memory behavior is not optimal for PostgreSQL....