Home  >  Article  >  Backend Development  >  nginx error record nginx apache nginx php nginx rewrite

nginx error record nginx apache nginx php nginx rewrite

WBOY
WBOYOriginal
2016-07-29 08:52:101046browse

Error 1: nginx: [emerg] mkdir() "/var/tmp/nginx/client/" failed (2: No such file or directory)

[root@localhost nginx-1.6.2]# nginx
nginx: [emerg] mkdir() "/var/tmp/nginx/client/" failed (2: No such file or directory)
目录不存在  或权限的问题 下面我们创建一下
[root@localhost nginx-1.6.2]# cd /var/tmp/
[root@localhost tmp]# mkdir -p /var/tmp/nginx/{client,proxy,fastcgi,uwsgi,scgi}
[root@localhost tmp]# nginx
[root@localhost tmp]# ps -ef |grep nginx
root      10711      1  0 17:39 ?        00:00:00 nginx: master process nginx
nginx     10712  10711  0 17:39 ?        00:00:00 nginx: worker process
root      10714   1115  0 17:39 pts/0    00:00:00 grep nginx
[root@localhost tmp]# 

The above introduces the nginx error record, including nginx content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn