LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2006, 06:40 AM   #1
Braynid
Member
 
Registered: May 2006
Location: Romania
Distribution: CentOS
Posts: 140

Rep: Reputation: 15
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?

Last edited by Braynid; 10-05-2006 at 06:51 AM.
 
Old 10-05-2006, 10:21 AM   #2
Braynid
Member
 
Registered: May 2006
Location: Romania
Distribution: CentOS
Posts: 140

Original Poster
Rep: Reputation: 15
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...
 
Old 10-05-2006, 10:32 AM   #3
Braynid
Member
 
Registered: May 2006
Location: Romania
Distribution: CentOS
Posts: 140

Original Poster
Rep: Reputation: 15
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 ?
 
  


Reply



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 Problem mblames Fedora 3 08-20-2007 04:42 AM
Another cacti problem Braynid Linux - Newbie 8 10-05-2006 06:35 AM
SNMP not in use - Cacti Zetec Ubuntu 2 07-16-2006 03:49 PM
Installing cacti Braynid Linux - Newbie 4 06-13-2006 12:55 PM
Problem with cacti. ARCIS_house Linux - Newbie 1 05-26-2006 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 PM.

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