installation starts today PHP when the following error occurs:
[Email protected] etc]#/APPLICATION/PHP/SBIN/PHP-FPM
Error:
[03-aug-2017 21:30:29] error:failed to open Error_log (/app/logs/php-fpm.log): No such file or directory (2)
[03-aug-2017 21:30:29] Error:failed to post process the configuration
[03-aug-2017 21:30:29] ERROR:FPM initialization failed
Workaround:
[Email protected] etc]# Netstat-lntup | grep 9000
TCP 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 12810/php-fpm
[Email protected] etc]# Killall PHP-FPM
Start again without error
[Email protected] etc]#/APPLICATION/PHP/SBIN/PHP-FPM
[Email protected] etc]#
[Email protected] etc]# Ps-ef|grep PHP-FPM
Root 12885 1 0 21:33? 00:00:00 Php-fpm:master Process (/application/php5.3.27/etc/php-fpm.conf)
Nginx 12886 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12887 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12888 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12889 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12890 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12891 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12892 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12893 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12894 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12895 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12896 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12897 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12898 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12899 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12900 12885 0 21:33? 00:00:00 Php-fpm:pool www
Nginx 12901 12885 0 21:33? 00:00:00 Php-fpm:pool www
Root 12915 0 21:44 pts/0 00:00:00 grep php-fpm
About PHP-FPM appears 127.0.0.1:9000 has been occupied