首页 > 代码库 > ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address   already in use (98)

ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address   already in use (98)

今天在启动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                            启动成功


本文出自 “不变的时光” 博客,转载请与作者联系!