欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

nginx 错误记录 nginx apache nginx php nginx rewrite

程序员文章站 2022-05-10 23:34:45
...
错误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]# 

以上就介绍了nginx 错误记录,包括了nginx方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

相关标签: nginx