|
Cannot connect to localhost after selinux install
I'm in the process of setting up a new Debian box as a web server. It needs to be as secure as I can get it. I had apache2 and mysql set up and all of the SSl taken care of.
After installing selinux I noticed that my browser and ftp in the terminal wont connect to localhost, other computers on my network can connect to the apache server via a global ip, but it wasn't pulling database info. When I checked, I found that mysql was stopped. When I try to start it, it times out.
After some googling and trying a bunch of setsebools I finally just disabled selinux in /etc/selinux/config. I rebooted and confirmed selinux was disabled, but still the same issues.
What is the best way to debug this?
If it helps the error php throws when trying to connect to mysql is "can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
|