Linux exception, samba shared directory can not see the file, the native access to their own Mysql,nginx access prompt can not find

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.