error: nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
solution:
sudo nginx -c /etc/nginx/nginx.conf # 指定nginx配置文件
sudo nginx -s reload # 重新启动nginx
p>
div>
Read More:
- Nginx startup error: nginx: [error] open() “/ var / run / nginx/ nginx.pid The solution of “failed (2: no such file or directory)”
- nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)
- nginx: [error] open() “/usr/local/var/run/nginx.pid” failed (2: No such file or directory)
- nginx: open() “/var/run/nginx.pid“ failed (2: No such file or directory)
- nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- /var/run/nginx/nginx.pid” failed (2: No such file or directory)
- Nginx error: nginx: [error] invalid PID number “” in “/run/nginx.pid”
- CentOS7 nginx Failed to read PID from file /run/nginx.pid: Invalid argument?
- nginx: [error] invalid PID number in /var/run/nginx.pid
- nginx: [error] invalid PID number ““ in “/data/nginx/logs/nginx.pid“
- Solve the problem of starting nginx nginx.pid error
- Nginx start error: job for nginx.service failed because the control process exited with error code
- Cannot open include file: ‘io.h‘: No such file or directory
- Importerror of [docker] error: libGL.so .1: cannot open shared object file: No such file or directory
- When Python Django creates a database, can’t open file ‘ manage.py ‘: [Errno 2] No such file or directory
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory