LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   cacti -configureation problem(fedora core5) (https://www.linuxquestions.org/questions/linux-server-73/cacti-configureation-problem-fedora-core5-543841/)

knockout_artist 04-06-2007 12:42 PM

cacti -configureation problem(fedora core5)
 
Good Day,
all that is install though yum

Quote:

Updating : mysql ####################### [ 1/15]
Updating : php ####################### [ 2/15]
Installing: net-snmp-libs ####################### [ 3/15]
Installing: php-pdo ####################### [ 4/15]
Installing: php-mysql ####################### [ 5/15]
Installing: lm_sensors ####################### [ 6/15]
Installing: net-snmp ####################### [ 7/15]
Installing: php-snmp ####################### [ 8/15]
Updating : mysql-server ####################### [ 9/15]
Updating : php-ldap ####################### [10/15]
Installing: cacti ####################### [11/15]
Cleanup : mysql-server ####################### [12/15]
Cleanup : php ####################### [13/15]
Cleanup : php-ldap ####################### [14/15]
Cleanup : mysql ####################### [15/15]

Installed: cacti.noarch 0:0.8.6i-5.fc5


Quote:

service mysqld start

Quote:

# # mysqladmin --user=root create cacti
Quote:

mysql cacti < /usr/share/doc/cacti-0.8.6i/cacti.sql
Quote:

vi /usr/share/cacti/include/config.ph


/* connect to the database server */
#db_connect_real(
#$database_hostname,
#$database_username,
#$database_password,
#$database_default,
#$database_type,
#$database_port);
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";

Quote:

chown -R root /usr/share/cacti/rra /usr/share/cacti/log/
Quote:

#vi /etc/crontab



# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/5 * * * * root php /usr/share/cacti/poller.php > /dev/null 2>&1

Quote:

service httpd restart
Quote:

# mkdir /var/www/html/cacti-me
Quote:

cp /etc/cacti/* /var/www/html/cacti-me/
didn't work so
Quote:

rm -f /var/www/html/cacti-me/*
Then I copied files from other cacti directory
Quote:

cp -v /usr/share/cacti/* /var/www/html/cacti-me/
now when i go to cacti page
http://127.0.0.1/cacti-me
I get this


Quote:

You are now logged into Cacti. You can follow these basic steps to get started.



when i click on any of those links

* Create devices for network
* Create graphs for your new devices
* View your new graphs
It shows me a blank page.

Any ideas?


Thanks


All times are GMT -5. The time now is 06:05 AM.