I have tried to use the guide posted in this message board called: Debian Sarge Cacti Install Howto (http://forums.cacti.net/post-40892.html) to install cacti but still cant seem to get it to work. So it seems Im missing something. Here is what I think needs to be done to install Cacti on a fresh Debian install. If something looks wrong or there is a better way please let me know.
aptitude install cacti
- Installs all the required packages for cacti
Default on all questions and use cacti for any and all names and passwords during setup.
- Get prompt about “libsensors3 not functional”
-Get prompt that “MySQL installs and upgrades must be performed
manually” and to see /usr/share/doc/cacti/README.Debian.gz
-Get prompt about "libphp-adodb isn't longer installed in /usr/lib/adodb.
etc." (according to the other guide this is not valid and should be
ignored)
adduser cacti
- Adds a user to Debian and prompts for additional info about user
mysqladmin --user=root create cacti
mysql -u root -e "grant all privileges on cacti.* to cacti@localhost identified by 'cacti'; flush privileges;"
-not sure if “localhost” here should be replaced with your Debians IP
address
zcat /usr/share/doc/cacti/cacti.sql.gz | mysql -u cacti --password=cacti
echo "extension=mysql.so" >> /etc/php4/apache/php.ini
-don’t know if this is needed
FINISHED
That should be it according to the howto but when I browse to http://192.168.1.8/cacti I get nothing but errors like:
“Warning: mysql_connect(): Host 'localhost.localdomain' is not allowed to connect to this MySQL server”
What if anything am I missing. I’m on Debian install number 2 and am willing to go for number 3 if need be but I want to make sure I am doing the cacti install properly first.
Thanks in advance for any help you can provide. Time to go and continue banging my head against the wall for a bit.
Help with Debain cacti install
Moderators: Developers, Moderators
cacti on debian install
Don't use the package that comes with debian, instead download the tar.gz file from cacti.net and read the unix install package.
Use apt or aptitude to install apache, mysql-server, mysql-client, php4, etc.
The following are the php4 packages I have installed.
nms:~/cacti# dpkg -l | grep php
3ii php4 4.3.10-15 server-side, HTML-embedded scripting languag
ii php4-cgi 4.3.10-15 server-side, HTML-embedded scripting languag
ii php4-cli 4.3.10-15 command-line interpreter for the php4 script
ii php4-common 4.3.10-15 Common files for packages built from the php
ii php4-curl 4.3.10-15 CURL module for php4
ii php4-gd 4.3.10-15 GD module for php4
ii php4-ldap 4.3.10-15 LDAP module for php4
ii php4-mysql 4.3.10-15 MySQL module for php4
ii php4-odbc 4.3.10-15 ODBC module for php4
ii php4-pear 4.3.10-15 PEAR - PHP Extension and Application Reposit
ii php4-rrdtool 1.04-11 RRD module for php4
ii php4-snmp 4.3.10-15 SNMP module for php4
ii php4-xslt 4.3.10-15 XSLT module for php4
ii phpmyadmin 2.6.2-3 set of PHP-scripts to administrate MySQL ove
ii phpsysinfo 2.3-4 PHP based host information
Use apt or aptitude to install apache, mysql-server, mysql-client, php4, etc.
The following are the php4 packages I have installed.
nms:~/cacti# dpkg -l | grep php
3ii php4 4.3.10-15 server-side, HTML-embedded scripting languag
ii php4-cgi 4.3.10-15 server-side, HTML-embedded scripting languag
ii php4-cli 4.3.10-15 command-line interpreter for the php4 script
ii php4-common 4.3.10-15 Common files for packages built from the php
ii php4-curl 4.3.10-15 CURL module for php4
ii php4-gd 4.3.10-15 GD module for php4
ii php4-ldap 4.3.10-15 LDAP module for php4
ii php4-mysql 4.3.10-15 MySQL module for php4
ii php4-odbc 4.3.10-15 ODBC module for php4
ii php4-pear 4.3.10-15 PEAR - PHP Extension and Application Reposit
ii php4-rrdtool 1.04-11 RRD module for php4
ii php4-snmp 4.3.10-15 SNMP module for php4
ii php4-xslt 4.3.10-15 XSLT module for php4
ii phpmyadmin 2.6.2-3 set of PHP-scripts to administrate MySQL ove
ii phpsysinfo 2.3-4 PHP based host information
-
- Posts: 3
- Joined: Mon Sep 12, 2005 9:13 pm
Who is online
Users browsing this forum: No registered users and 1 guest