今天在启动PHP时出现下面的错误:


service php-fpm start



错误:

Starting php-fpm [09-Aug-2014 00:45:40] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address 


already in use (98)

[09-Aug-2014 00:45:40] ERROR: FPM initialization failed

 failed



解决方法:


netstat -lntup | grep 9000


killall php-fpm


[root@www ~]# service php-fpm start

Starting php-fpm  done                            启动成功