Re: Cacti Installation on CentOS 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
> Behalf Of Gabriel - IP Guys
> Sent: 02 September 2009 15:47
> To: CentOS mailing list
> Subject: Re:  Cacti Installation on CentOS 5
> 
> 
> 
> > -----Original Message-----
> > From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx]
On
> > Behalf Of Christoph Maser
> > Sent: 02 September 2009 13:38
> > To: CentOS mailing list
> > Subject: Re:  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux