Today, as always, I opened the web page. At first, there was nothing wrong with it, and then it suddenly appeared:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
Is it a familiar mistake?
Check out the error page of nginx.
This 50x. Html is found to be the error on the web page.
Then check the port
through the command: netstat – tnlp to view the opened TCP port.
Found that the 9000 port PHP is not on.
Then restart the PHP service, and the problem is solved.
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() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)
- nginx: [error] invalid PID number ““ in “/data/nginx/logs/nginx.pid“
- Nginx error: nginx: [error] invalid PID number “” in “/run/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: open() “/var/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?
- 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
- nginx: [error] invalid PID number in /var/run/nginx.pid
- Boot nginx flash back under Windows
- Resolve nginx startup failure
- Error! Failed to start nginx
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- The garbled problem of hot deployment in nginx
- Nginx reverse proxy MySQL
- Nginx installation in MAC