LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-06-2007, 12:42 PM   #1
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
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

Last edited by knockout_artist; 04-06-2007 at 12:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti installation on Debian Sarge: create cacti database error Yahweee Debian 2 08-26-2008 06:35 AM
Fedora core5 install problem for ps3 maniosullivan Fedora - Installation 9 04-21-2008 10:35 PM
Problem of dual booting WinXP & Fedora core5 in two primary hard drives biswajit12 Fedora - Installation 5 11-07-2006 09:06 AM
Fedora Core5 Issue linuxali Fedora 2 08-31-2006 11:10 PM
fedora core5 comparing with suse10 samba4010 Linux - Distributions 1 08-06-2006 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration