After the server is restarted, it is OK to execute nginx-T, but an error is reported when executing nginx-S Reload
nginx: [error] invalid PID number “” in “/run/nginx.pid”
Solutions:
You need to do it first
Nginx – c/etc/nginx/nginx. Conf
The path to the nginx.conf file can be found in the return of nginx-t.
nginx -s reload
nginx: [error] invalid PID number “” in “/run/nginx.pid”
Solutions:
You need to do it first
Nginx – c/etc/nginx/nginx. Conf
The path to the nginx.conf file can be found in the return of nginx-t.
nginx -s reload
Read More:
- nginx: [error] invalid PID number in /var/run/nginx.pid
- nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- nginx: [error] invalid PID number ““ in “/data/nginx/logs/nginx.pid“
- /var/run/nginx/nginx.pid” failed (2: No such file or directory)
- nginx: [error] open() “/run/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)
- CentOS7 nginx Failed to read PID from file /run/nginx.pid: Invalid argument?
- nginx: open() “/var/run/nginx.pid“ failed (2: No such file or directory)
- 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 installation in MAC
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- Resolve nginx startup failure
- Solve the problem of starting nginx nginx.pid error
- Nginx upload error 413 request entity too large
- [error] OpenEvent(“Global\ngx_reload_11812“) failed (2: The system cannot find the file specified
- Error! Failed to start nginx
- ginx-1.10.0\index/**“ failed (123: The filename, directory name, orvolume label syntax is incorrect)
- Nginx start error: job for nginx.service failed because the control process exited with error code
- Nextcloud error: “access forbidden CSRF check failed”