Yesterday the power outage, this morning after the discovery of web anomalies, up to open Nginx, PHP-FPM, MySQL, etc., found that the request found abnormal ~
Nginx error log prompt
*82 FastCGI sent in stderr: ' Primary script unknown ' while reading response headers from upstream
Memcache's request is also abnormal
PHP notice:memcachepool::get (): Server 192.168.17.145 (TCP 11211, UDP 0) failed with:permission denied (13)
MySQL request prompt
Permissions Issues ~ ~ ~
Confused, before the good suddenly how to ~ ~ ~
Later found that it was restarted after the start of selinux caused by ~
Turn off SELinux to
View SELinux Status
/usr/sbin/sestatus-v
Temporarily closed
setenforce 0
Permanent shutdown requires modification of the
/etc/selinux/config file
Change Selinux=enforcing to Selinux=disabled
Linux exception, samba shared directory can not see the file, the native access to their own Mysql,nginx access prompt can not find