ERROR: unable to bind listening socket for address ‘127.0.0.1:9000’: Address already in use

[root@bogon ~]# /usr/local/php5/sbin/php-fpm

[31-Jul-2013 05:22:24] ERROR: unable to bind listening socket for address ‘127.0.0.1:9000’: Address already in use (98)

[31-Jul-2013 05:22:24] ERROR: FPM initialization failed

解决办法:

WIN:

netstat -ntlp | grep 9000
killall php-pfm

mac :

ps aux|grep php-pfm

or

lsof -i:9000

kill -9 9000
启动php-pfm

Posted in 未分类