That’s what it seems like to me too, but the socket path in the database for Cacti is “/var/lib/mysql/mysql.sock”. I don’t see an option in any of the Cacti config files that would allow me to point it elsewhere other than what is noted in that database and the Cacti folk claim it isn’t their issue but a PHP one.
From: Jonathan Sundquist [mailto:jsundquist@xxxxxxxxx]
Sorry I meant to say your database config within the Cacti application. From the link that I sent previously it makes me think its looking for the socket to be in /tmp On Fri, Oct 26, 2012 at 1:19 PM, Stormont, Stephen (IMS) <StormontS@xxxxxxxxxx> wrote: mysql> status -------------- mysql Ver 14.14 Distrib 5.1.61, for redhat-linux-gnu (x86_64) using readline 5.1
Connection id: 16 Current database: Current user: root@localhost SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 5.1.61 Source distribution Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: latin1 Db characterset: latin1 Client characterset: latin1 Conn. characterset: latin1 UNIX socket: /var/lib/mysql/mysql.sock Uptime: 50 min 29 sec
From: Jonathan Sundquist [mailto:jsundquist@xxxxxxxxx]
When you look at your database configuration where does it say the socket is located? On Fri, Oct 26, 2012 at 1:12 PM, Stormont, Stephen (IMS) <StormontS@xxxxxxxxxx> wrote: I followed those steps which is what led us to the creation of the symbolic link, but I was attempting to find out why we would even need to do that. Was there some option that we missed at build time for PHP that would have bypassed this issue?
From: Jonathan Sundquist [mailto:jsundquist@xxxxxxxxx]
A quick google search turned up a few answers that might help you,
http://docs.cacti.net/manual:087:4_help.1_faq#database_setup_seems_to_fail On Fri, Oct 26, 2012 at 1:03 PM, Stormont, Stephen (IMS) <StormontS@xxxxxxxxxx> wrote: We have a new CentOS installation using PHP5 and MySQL. We were having an issue getting Cacti running, but the problem appears to boil down to a PHP issue.
Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error. |
- Follow-Ups:
- Re: Symbolic link needed with mysql and PHP?
- From: Jonathan Sundquist
- Re: Symbolic link needed with mysql and PHP?
- References:
- Symbolic link needed with mysql and PHP?
- From: Stormont, Stephen (IMS)
- Re: Symbolic link needed with mysql and PHP?
- From: Jonathan Sundquist
- RE: Symbolic link needed with mysql and PHP?
- From: Stormont, Stephen (IMS)
- Re: Symbolic link needed with mysql and PHP?
- From: Jonathan Sundquist
- RE: Symbolic link needed with mysql and PHP?
- From: Stormont, Stephen (IMS)
- Re: Symbolic link needed with mysql and PHP?
- From: Jonathan Sundquist
- Symbolic link needed with mysql and PHP?
- Prev by Date: Re: Symbolic link needed with mysql and PHP?
- Next by Date: Re: Symbolic link needed with mysql and PHP?
- Previous by thread: Re: Symbolic link needed with mysql and PHP?
- Next by thread: Re: Symbolic link needed with mysql and PHP?
- Index(es):