Cacti Installation guide for Fedora 12

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
miono
Posts: 11
Joined: Mon Jan 11, 2010 9:20 am
Location: Romania
Contact:

Cacti Installation guide for Fedora 12

Post by miono »

Can someone post a guide for Cacti installation on Fedora 12 pls.
I tried the one for Fedora 10 but after finishing setup all I get at http://localhost/cacti is a blank page.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you install using yum or using our tar.gz and the instructions at the 1st link of my sig?
R
miono
Posts: 11
Joined: Mon Jan 11, 2010 9:20 am
Location: Romania
Contact:

Post by miono »

I installed using, yum and instructions from http://lurker.dyndns.org/Cacti Installation on Fedora 10.pdf from this post: http://forums.cacti.net/viewtopic.php?t ... highlight=

well I also compared them with those from your first link, they are 98% same...I didn't do the Setting Up SNMP part of your guide, but this is after the cacti welcome page loads I guess, so it shouldn't matter
the only difference I can highlight is that your guide has no rule in iptables for incoming connections on port 80 ( -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT)
and the crontab looks a bit different, but that shouldn't be a probl, since I can't get my cacti starting page even.
My Apache runs ok, I get a page for http://localhost, but blank page for http://localhost/cacti.
All the required packages are installed, I think there is a misconfiguration somewhere at cacti/php. :roll:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What about /var/log/httpd/error_log?
R
l33byt
Posts: 14
Joined: Wed Mar 24, 2010 9:47 am

Post by l33byt »

yes I get a blank page too and get this in my error logs.

[Wed Mar 24 16:56:50 2010] [error] [client x.x.x.x] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /usr/share/cacti/include/global_arrays.php on line 631
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

These WARNINGS are due to the latest PHP used. We will handle this with 088. Until then, you may safely ignore THESE warnings
R.
l33byt
Posts: 14
Joined: Wed Mar 24, 2010 9:47 am

Post by l33byt »

Ah ok. So these are not the cause of the blank screen when i go to

http://servername/cacti

The above error is the only one seen in the httpd log.

I do get a apache page come up if I just enter http://servername
Also just as a point nagios and nagiosql pages both come up.

Do I have a permissions issue on the cacti files some where?
kaotic
Posts: 7
Joined: Wed Mar 24, 2010 11:42 pm

Post by kaotic »

On my CentOS machine I was getting a blank page untill I changed the extensions dir in php.ini back to

Code: Select all

; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/lib/php/modules"
looks like on Fendora and CentOS that value does not need to be changed.
esu3
Posts: 3
Joined: Wed Sep 28, 2011 10:19 am

Re: Cacti Installation guide for Fedora 12

Post by esu3 »

I am writing a Document outlining installation on FC14 or greater. I believe it will work back to FC12.

in the document will be a full blown post OS install script to do it one fell swoop.

I will be testing the script on a clean VM of FC14 ...
I hope this helps.

the script will include edits to the ini and conf files after after a day or so weeding through the chaff in the simplistic notion of documentation. I've come to the conclusion good Open Source developers often do not know how to write technical documentation very well.

Those who are interested PM me.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests