首页 >
文章列表 > Linux重启后nginx服务启动报错nginx: [emerg] open() 怎么解决
Linux重启后nginx服务启动报错nginx: [emerg] open() 怎么解决
linux
nginx
110
2023-05-18
Linux重启后nginx服务启动报错nginx: [emerg] open() 怎么解决
问题:
Linux重启后,启动nginx服务器报错
解决:
1.使用命令 cd /usr/local/nginx/conf 进入指定目录
2.使用命令 vi nginx.conf修改配置文件 去掉图示处的 # 号

3.改为 pid /usr/local/nginx/logs/nginx.pid;
