Today's website suddenly appears as follows:
The page you are are looking for is temporarily unavailable. Please try again later.
Very strange, I am not very familiar with the server side of the technology, so I queried the next Google, in the Https://wiki.archlinux.org/index.php/Nginx
The solution above:
Error:the page you are are looking for is temporarily unavailable. Please try again later.
This is because the FastCGI server has not been started.
How to solve it.
At first I doubted if Nginx hung up, and I started by PS aux | grep nginx, the result appears:
Root 3769 0.0 0.0 5760 692? Ss Apr21 0:00 Nginx:master Process/usr/local/nginx/sbin/nginx
www 3770 0.0 0.1 18680 14252? S Apr21 0:03 Nginx:worker Process
www 3771 0.0 0.1 18680 14252? S Apr21 0:03 Nginx:worker Process
www 3772 0.0 0.1 18712 14276? S Apr21 0:03 Nginx:worker Process
www 3774 0.0 0.1 18680 14248? S Apr21 0:03 Nginx:worker Process
www 3776 0.0 0.1 18712 14240? S Apr21 0:03 Nginx:worker Process
www 3777 0.0 0.1 18680 14252? S Apr21 0:03 Nginx:worker Process
www 3778 0.0 0.1 18680 14232? S Apr21 0:02 Nginx:worker Process
Root 24068 0.0 0.0 5196 756 pts/1 s+ 14:33 0:00 grep nginx
Visible Nginx is normal, originally intended to restart the Nginx:
/usr/local/nginx/sbin/nginx-t-c/usr/local/nginx/conf/nginx.conf,
Suddenly feel that there is no other way, there are colleagues prompted first in a directory run under test.html and test.php, resulting in HTML can run, PHP will not run.
Confirmed that PHP did not start, I have just also detected the process of PHP, there is no PHP process, this server I am not familiar with, colleagues to help view the next
CD/ETC/INIT.D, is the Web administrator often look at the place, with the system automatically start the service, programs and so on. Can look at:
Http://blog.wgzhao.com/2008/12/27/talk-about-rc-local.html's "Talk." /etc/rc.d/rc.local "
Found it:
/USR/LOCAL/PHP/SBIN/PHP-FPM start, what is php-fpm first?
is fastcgi Process Manager, an optional PHP fastgci execution mode, with a very specific application, especially in a busy Web site:
(1) Adaptable for regeneration (new!)
(2) Basic statistical functions (Apache ' s mod_status)
(3) Advanced process management function, able to gracefully stop/start
(4) Able to use different working users and different php.ini
(5) input, output log record ...
After the opening, everything returned to normal. Its server-side technology is still not enough to use in many places. Need to learn more use.