Steve, try this as root:

setsebool -P httpd_can_network_connect=1

Alternatively, you can also disable SELinux.

Steve Miller
Sr. Systems Administrator
NACA - National Office | Boston, MA

From: Stephen Ingram [mailto:[email protected]]
Sent: Friday, August 23, 2013 2:44 AM
To: [email protected]
Subject: SELinux rules for MailPiler

I read about issue #122 (Error: SQLSTATE[HY000] [2003] Can't connect to MySQL 
server on '127.0.0.1' (13) on database: sphinx) and the resolution seemed to be 
a SELinux rule change. May I ask what that change was? I'm getting the same 
error and nothing else seems to fix the problem.

Steve
-------------------------------------------------------------------------------------------
This email is the property of NACA and/or its relevant affiliate
and may contain confidential and privileged material for the sole use of
the intended recipient(s).  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient
(or authorized to receive for the recipient), please contact the sender
and delete all copies of the message.  Any views expressed in this message
are those of the individual sender, except where the sender specifies, and
with authority, states them to be the views of NACA.

Reply via email to