Install Cacti (Network Monitoring) on RHEL/CentOS 7.x/6.x/5.x and Fedora 24-12

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

363 Responses

  1. Tolga says:

    Hi Ravi,

    Great article, thank you.

    It is just that I got stuck in running the Cacti installer. When I go to, I got the infamous “You don’t have permission to access /cacti/ on this server” error.

    I read through the documentation and various forums but it seems I cannot understand what is wrong and cannot get pas this error.

    My /etc/httpd/conf.d/cacti.conf is:

    Alias /cacti    /usr/share/cacti
                    # httpd 2.4
                    Require all granted
                    # httpd 2.2
                    Order allow,deny
                    # Deny from all
                    Allow from

    My network is 192.168.1.x network and I am running Fedora 27 on x86_64.

    Any ideas on what I am missing?

    Thank you.

    • Ravi Saive says:


      Please add the following lines to your cacti.conf file and restart the apache server.

      Alias /cacti    /usr/share/cacti
      <Directory /usr/share/cacti/>
              <IfModule mod_authz_core.c>
                      # httpd 2.4
                      Require all granted
              <IfModule !mod_authz_core.c>
                      # httpd 2.2
                      Order deny,allow
                      Deny from all
                      Allow from all
  2. Raju says:

    mysql -u cacti -p raju < /usr/share/doc/cacti-1.1.28/cacti.sql
    Enter password:
    ERROR 1044 (42000): Access denied for user 'cacti'@'localhost' to database 'raju'

    hi. I am getting the above error. can you please help me with this?

    • Ravi Saive says:


      Better to import Cacti.sql to Cacti database using root and then grant permission to whole Cacti database as cacti user..

  3. omar sanyang says:

    i want a guide to install the cacti

  4. sanmao says:


    Getting below error, please advise, thanks

    # mysql -u cacti -p cacti < /usr/share/doc/cacti-1.1.24/cacti.sql
    Enter password:
    ERROR 1045 (28000): Access denied for user 'cacti'@'localhost' (using password: YES)


    You don't have permission to access /cacti on this server.

  5. Arpit says:

    Hi, I am install cacti successfully, but when i install plug-ins, it can’t work and i am install older version of cacti it is work fine please resolve this issue.

  6. Hkimleang says:

    ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding.

  7. Danza says:

    If I want use domain-name to access to my cacti server, instead of ip address. How could we do this?

    For example:, instead of typing my ip address 192.168.X.X.


    • Ravi Saive says:


      Create a local virtualhost on Apache and point DocumentRoot to Cacti directory and in your desktop machine add local domain to hosts file.

  8. Maurin says:

    when i tape ‘yum install cacti’ it says that no package cacti are available. What should i do ?!

    • Ravi Saive says:


      First, you need to enable EPEL Repository in your system to install Cacti package.

      # yum install epel-release
      # yum install cacti
  9. sAm IT says:

    when entering on browser

    http://myIP/cacti then it’s showing

    This page isn’t working is currently unable to handle this request.
    HTTP ERROR 500

    but when I enter
    then install screen appears.

    what could be the problem, and how to get rid of it.
    Note: I turned off my firewall still the same problem.

  10. sAm IT says:

    hey Brother..
    i have done everything .
    only problem i am facing now is that when i enter
    http://103.xx.101.10/cacti – its shows
    This page isn’t working
    103.xx.101.10 is currently unable to handle this request.
    HTTP ERROR 500

    but if i enter
    then the install screen is working.

    what could be the problem and how to solve it ?

Leave a Reply to Arpit Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.