LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cacti problem #2 (https://www.linuxquestions.org/questions/linux-newbie-8/cacti-problem-2-a-489649/)

Braynid 10-05-2006 06:40 AM

Cacti problem #2
 
Hey guys,
For some 4 months i've got this idea of installing cacti on my ubuntu 6.06 server. I even tried it a couple of times but no luck...

So, i have tried to compile it manually but i've got some problems with some additional packages, so i used the mighty
Code:

apt-get install cacti
When i try http://host.com/cacti i get:
Code:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'cacti'@'localhost' (using password: YES) in /usr/share/adodb/drivers/adodb-mysql.inc.php on line 319

Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.

I user:
Code:

Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a
So what is to be done?

Braynid 10-05-2006 10:21 AM

Ok, so i have created user 'cacti' in MYSQL and used GRANT with this user on the 'cacti' database and now it says:


Code:

Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 853

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/adodb/adodb.inc.php:853) in /usr/share/cacti/include/auth.php on line 31

So i'm a little lost...

Braynid 10-05-2006 10:32 AM

Success, i have deleted the cacti database, reinstalled cacti, and now it shows me the login page, but i cannot login with the username provided by me in ' /usr/share/cacti/include/config.php' this user has acces on the cacti database... so what should i do ?


All times are GMT -5. The time now is 10:58 AM.