An nginx environment with multiple tomcat clusters always reports the following error: 2012/03/0715: 30: 39/opt/nginx/proxy_temp/4/31/0000000314 & quot; failed (13: Permissiondenied) whilereadingupstream, client: 172.16.1.33 ,... an nginx with multiple tomcat cluster environments always reports the following error:
15:30:39/opt/nginx/proxy_temp/4/31/0000000314 "failed (13: Permission denied) while reading upstream, client: 172.16.1.33, server: www.XXX.com, request:" POST/XXX. do HTTP/1.1 ", upstream:" http://xxx.com/XXXX.do ", host:" XXXX.com ", referrer:" http: // www.2cto.com/XXXX. do"
Check the nginx process ps aux | grep nginx
It is found that all processes are nobody, but the nginx directories are root users. In addition, the cluster tomcat is also a root user, and the root node is started. View nginx. conf:
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