[CentOS] Cacti Installation on CentOS 5

Gabriel - IP Guys Gabriel at impactteachers.com
Wed Sep 2 15:07:38 UTC 2009



> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at 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 at centos.org [mailto:centos-bounces at 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?!




More information about the CentOS mailing list