Dear All,
I am attempting to install cacti on CentOS 5.3 64 bit, and I checked the wiki, only to find that the instructions are a bit out of date. Have these instructions been updated somewhere, or does anyone have updated instructions, maybe with known gotchas etc?
---
Kind Regards,
Mr Gabriel
On Wed, Sep 2, 2009 at 7:51 AM, Gabriel - IP GuysGabriel@impactteachers.com wrote:
Dear All,
I am attempting to install cacti on CentOS 5.3 64 bit, and I checked the wiki, only to find that the instructions are a bit out of date. Have these instructions been updated somewhere, or does anyone have updated instructions, maybe with known gotchas etc?
I've had luck with http://linux.com/learn/tutorials/38270-installing-cacti-on-centos-5
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Eduardo Grosclaude Sent: 02 September 2009 13:12 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
On Wed, Sep 2, 2009 at 7:51 AM, Gabriel - IP GuysGabriel@impactteachers.com wrote:
Dear All,
I am attempting to install cacti on CentOS 5.3 64 bit, and I checked
the
wiki, only to find that the instructions are a bit out of date. Have
these
instructions been updated somewhere, or does anyone have updated instructions, maybe with known gotchas etc?
I've had luck with http://linux.com/learn/tutorials/38270-installing-cacti-on-centos-5
Thank you for your response - I went through those instructions, and again, I got the same error as below.
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
The database configuration in config.php is correct, and is readable, because if I change the hostname, the error message changes accordingly. I can connect to the MySQL database just fine with the configuration information that is in config.php. Any ideas would be appreciated - If this become too off topic, someone feel free to say so.
Am Mittwoch, den 02.09.2009, 14:36 +0200 schrieb Gabriel - IP Guys:
Thank you for your response - I went through those instructions, and again, I got the same error as below.
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
The database configuration in config.php is correct, and is readable, because if I change the hostname, the error message changes accordingly. I can connect to the MySQL database just fine with the configuration information that is in config.php. Any ideas would be appreciated - If this become too off topic, someone feel free to say so.
If you have selinux enabled as you should you need to set sebool httpd_can_network_connect_db on.
Chris
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Christoph Maser Sent: 02 September 2009 13:38 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
Am Mittwoch, den 02.09.2009, 14:36 +0200 schrieb Gabriel - IP Guys:
Thank you for your response - I went through those instructions, and again, I got the same error as below.
FATAL: Cannot connect to MySQL server on 'localhost'. Please make
sure
you have specified a valid MySQL database name in
'include/config.php'
The database configuration in config.php is correct, and is readable, because if I change the hostname, the error message changes
accordingly.
I can connect to the MySQL database just fine with the configuration information that is in config.php. Any ideas would be appreciated -
If
this become too off topic, someone feel free to say so.
If you have selinux enabled as you should you need to set sebool httpd_can_network_connect_db on.
Chris
OHH DAMN!!!! Of course! SE Linux!! Man, I hate SE Linux sometimes! I'll look into that, and hopefully, it would fix it. Thank you Chris
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Gabriel - IP Guys Sent: 02 September 2009 15:47 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]
On
Behalf Of Christoph Maser Sent: 02 September 2009 13:38 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
Am Mittwoch, den 02.09.2009, 14:36 +0200 schrieb Gabriel - IP Guys:
Thank you for your response - I went through those instructions,
and
again, I got the same error as below.
FATAL: Cannot connect to MySQL server on 'localhost'. Please make
sure
you have specified a valid MySQL database name in
'include/config.php'
The database configuration in config.php is correct, and is
readable,
because if I change the hostname, the error message changes
accordingly.
I can connect to the MySQL database just fine with the
configuration
information that is in config.php. Any ideas would be appreciated
-
If
this become too off topic, someone feel free to say so.
If you have selinux enabled as you should you need to set sebool httpd_can_network_connect_db on.
Chris
OHH DAMN!!!! Of course! SE Linux!! Man, I hate SE Linux sometimes!
I'll
look into that, and hopefully, it would fix it. Thank you Chris
SE Linux is already configured properly,
/usr/sbin/getsebool httpd_can_network_connect_db returns httpd_can_network_connect_db => on
So now, I'm more confused that before?!
It seems that there is a bug in cacti for centos x64 - version 0.8.7e
I have commented out line 41 in /var/www/cacti/lib/database.php which solves the problem (with the limitation of using the default MySQL port every time)
How can I report this so that others can recreate it. This happened on a production server, so I'm well, pretty pissed off actually! But hopefully sharing this info will help in the future
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Gabriel - IP Guys Sent: 02 September 2009 16:08 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]
On
Behalf Of Gabriel - IP Guys Sent: 02 September 2009 15:47 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]
On
Behalf Of Christoph Maser Sent: 02 September 2009 13:38 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
Am Mittwoch, den 02.09.2009, 14:36 +0200 schrieb Gabriel - IP
Guys:
Thank you for your response - I went through those instructions,
and
again, I got the same error as below.
FATAL: Cannot connect to MySQL server on 'localhost'. Please
make
sure
you have specified a valid MySQL database name in
'include/config.php'
The database configuration in config.php is correct, and is
readable,
because if I change the hostname, the error message changes
accordingly.
I can connect to the MySQL database just fine with the
configuration
information that is in config.php. Any ideas would be
appreciated
If
this become too off topic, someone feel free to say so.
If you have selinux enabled as you should you need to set sebool httpd_can_network_connect_db on.
Chris
OHH DAMN!!!! Of course! SE Linux!! Man, I hate SE Linux sometimes!
I'll
look into that, and hopefully, it would fix it. Thank you Chris
SE Linux is already configured properly,
/usr/sbin/getsebool httpd_can_network_connect_db returns httpd_can_network_connect_db => on
So now, I'm more confused that before?!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.75/2340 - Release Date: 09/01/09 20:03:00
Am Donnerstag, den 03.09.2009, 14:07 +0200 schrieb Gabriel - IP Guys:
It seems that there is a bug in cacti for centos x64 - version 0.8.7e
In case you use the rpmforge package, please report on the rpmforge Mailinglist.
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
It seems that there is a bug in cacti for centos x64 - version 0.8.7e
I have commented out line 41 in /var/www/cacti/lib/database.php which solves the problem (with the limitation of using the default MySQL port every time)
How can I report this so that others can recreate it. This happened on a production server, so I'm well, pretty pissed off actually! But hopefully sharing this info will help in the future
rpm -q --qf '%{vendor}' cacti
If you are using the rpmforge package, then please see
https://rpmrepo.org/RPMforge/Feedback
Alexander
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Alexander Dalloz Sent: 03 September 2009 13:29 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
It seems that there is a bug in cacti for centos x64 - version
0.8.7e
I have commented out line 41 in /var/www/cacti/lib/database.php
which
solves the problem (with the limitation of using the default MySQL
port
every time)
How can I report this so that others can recreate it. This happened
on a
production server, so I'm well, pretty pissed off actually! But hopefully sharing this info will help in the future
rpm -q --qf '%{vendor}' cacti
If you are using the rpmforge package, then please see
Dag Apt Repository, http://dag.wieers.com/apt/
This is the feedback that I got from that RPM command, I do have rpmforge repo added to my system, I'll have to go a check a bit closer now.
From: Gabriel - IP Guys Gabriel@impactteachers.com
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
The database configuration in config.php is correct, and is readable, because if I change the hostname, the error message changes accordingly. I can connect to the MySQL database just fine with the configuration information that is in config.php. Any ideas would be appreciated - If this become too off topic, someone feel free to say so.
Checked about hostname vs socket connection to mysql? http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html
JD
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of John Doe Sent: 02 September 2009 14:13 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
From: Gabriel - IP Guys Gabriel@impactteachers.com
FATAL: Cannot connect to MySQL server on 'localhost'. Please make
sure
you have specified a valid MySQL database name in
'include/config.php'
The database configuration in config.php is correct, and is
readable,
because if I change the hostname, the error message changes
accordingly.
I can connect to the MySQL database just fine with the configuration information that is in config.php. Any ideas would be appreciated -
If
this become too off topic, someone feel free to say so.
Checked about hostname vs socket connection to mysql? http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to- server.html
JD
Thank you JD! (But I can't do this all on my own, no I know, I'm no superman!) In case this doesn't make sense, Google the words in brackets
I can connect locally from the CLI to mysql, and I have a number of website using the mysql also running on that system. But thank you for the tips
Am Mittwoch, den 02.09.2009, 12:51 +0200 schrieb Gabriel - IP Guys:
Dear All,
I am attempting to install cacti on CentOS 5.3 64 bit, and I checked the wiki, only to find that the instructions are a bit out of date. Have these instructions been updated somewhere, or does anyone have updated instructions, maybe with known gotchas etc?
Kind Regards,
Mr Gabriel
The cacti packackage from rpmforge works out of the box for me.
Chris
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Christoph Maser Sent: 02 September 2009 13:32 To: CentOS mailing list Subject: Re: [CentOS] Cacti Installation on CentOS 5
Am Mittwoch, den 02.09.2009, 12:51 +0200 schrieb Gabriel - IP Guys:
Dear All,
I am attempting to install cacti on CentOS 5.3 64 bit, and I checked the wiki, only to find that the instructions are a bit out of date. Have these instructions been updated somewhere, or does anyone have updated instructions, maybe with known gotchas etc?
Kind Regards,
Mr Gabriel
The cacti packackage from rpmforge works out of the box for me.
Chris
That is the package that I used - *sigh* so many projects to work on, and so little time!