Odd Installation Problem
Moderators: Developers, Moderators
Odd Installation Problem
Hello,
I'm trying to install cacti on my openbsd3.7 box, I have installed mysql-server-4.0.23p1 , also have installed apache, php4 and php4-mysql , rrdtool,net-snmp. But when I enter to http://myhost/cacti , I receive this error :
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
I have done this page:
http://www.cacti.net/downloads/docs/htm ... _unix.html
,
here is the nmap results:
open ports:
80 apache
3306 mysql
--
Result of trying plain mysql command:
Error: 1405: Access denied for use root@localhost ( using password: no )
---
Could someone please help me to install cacti ?
Thanks.
I'm trying to install cacti on my openbsd3.7 box, I have installed mysql-server-4.0.23p1 , also have installed apache, php4 and php4-mysql , rrdtool,net-snmp. But when I enter to http://myhost/cacti , I receive this error :
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
I have done this page:
http://www.cacti.net/downloads/docs/htm ... _unix.html
,
here is the nmap results:
open ports:
80 apache
3306 mysql
--
Result of trying plain mysql command:
Error: 1405: Access denied for use root@localhost ( using password: no )
---
Could someone please help me to install cacti ?
Thanks.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Have you added and configured the cacti database in mysql? Have you granted rights to the user that will use that database?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
okay while installation,
it shows the paths of the binaries. But it didnt recognized php,netsnmp and rrdtool.
but when I type locate rrdtool, it shows as /usr/local/bin/rrdtool, but cacti installation cant recognize it ?
also
while login screen, it wont accept admin/admin as username and password, what might be wrong ?
it shows the paths of the binaries. But it didnt recognized php,netsnmp and rrdtool.
but when I type locate rrdtool, it shows as /usr/local/bin/rrdtool, but cacti installation cant recognize it ?
also
while login screen, it wont accept admin/admin as username and password, what might be wrong ?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ok, what happens when you attempt to login with admin/admin. Do you get any red text?
Confirm that rrdtool is installed in that location, functioning and executable by the web server.
What OS are you running?
What version of the following are installed:
Cacti
NET-SNMP
mySQL
php
apache
Confirm that rrdtool is installed in that location, functioning and executable by the web server.
What OS are you running?
What version of the following are installed:
Cacti
NET-SNMP
mySQL
php
apache
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
nope, it acts like that I didnt entered any information... no red warnings..
RRDtool: 1.0.49 is installed
Mysql: 4.0.23p1
Php: 4.3.10p1
Apache: 1.3.29
Net-SNMP:5.1.2p0
Cacti: 0.8.6g
OS: OpenBSD 3.7
--
paths:
rrdtool: /usr/local/bin/rrdtool
mysql: /usr/local/bin/mysqld_safe
php: /usr/local/bin/php
netsnmp things are under /usr/local/bin.
cacti is located in /var/www/htdocs/cacti
RRDtool: 1.0.49 is installed
Mysql: 4.0.23p1
Php: 4.3.10p1
Apache: 1.3.29
Net-SNMP:5.1.2p0
Cacti: 0.8.6g
OS: OpenBSD 3.7
--
paths:
rrdtool: /usr/local/bin/rrdtool
mysql: /usr/local/bin/mysqld_safe
php: /usr/local/bin/php
netsnmp things are under /usr/local/bin.
cacti is located in /var/www/htdocs/cacti
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Make sure you have sessions installed/enabled for PHP....
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ok, sessions are enabled, please double check the permissions on your /tmp directory.
FYI, stop PM'ing me, post info here, results of the URL's you are sending me.
FYI, stop PM'ing me, post info here, results of the URL's you are sending me.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
chmod 777 /tmp
That should do it.
That should do it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Anything that would give a clue in your apache error log?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 1 guest