1. 程式人生 > >php-fpm啟動失敗

php-fpm啟動失敗

-- Unit php-fpm.service has begun starting up.
1月 16 11:23:09 localhost.localdomain php-fpm[12472]: [16-Jan-2014 11:23:09] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
1月 16 11:23:09 localhost.localdomain php-fpm[12472]: [16-Jan-2014 11:23:09] ERROR: FPM initialization failed
1月 16 11:23:09 localhost.localdomain systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
1月 16 11:23:09 localhost.localdomain systemd[1]: Failed to start The PHP FastCGI Process Manager.

-- Subject: Unit php-fpm.service has failed

解決:

netstat -ntlp | grep 9000
kill -9 1614
service php-fpm start