启动nginx:

      问题:nginx: [alert] could not open error log file: open() "/usr/local/nginx/logs/error.log" failed (13: Permission denied)
2018/09/13 14:50:07 [emerg] 49801#0: open() "/usr/local/nginx/logs/access.log" failed (13: Permission denied)

Nginx启动报错:could not open error log file: open() "/usr/local/nginx/logs/error.log" failed

解决方法:

 当前用户权限不够,使用root用户

Nginx启动报错:could not open error log file: open() "/usr/local/nginx/logs/error.log" failed

访问localhost,来到nginx欢迎页面,说明nginx安装成功。

Nginx启动报错:could not open error log file: open() "/usr/local/nginx/logs/error.log" failed

 

 

相关文章:

  • 2022-01-13
  • 2021-07-03
  • 2021-04-26
  • 2021-11-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-04
  • 2021-07-19
  • 2022-02-12
相关资源
相似解决方案