时间:2021-07-01 10:21:17 帮助过:6人阅读
[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教程有兴趣的朋友有所帮助。