首页 > 代码库 > 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,启动时报错:

# /etc/init.d/php-fpm start

Starting php-fpm [15-Apr-2017 13:21:13] ERROR: unable to bind listening socket for address ‘127.0.0.1:9000‘: Address already in use (98)

[15-Apr-2017 13:21:13] ERROR: FPM initialization failed

 failed


解决方法:

# netstat -anp | grep 9000

# killall php-fpm

# /etc/init.d/php-fpm start

Starting php-fpm  done    成功启动

本文出自 “Always” 博客,请务必保留此出处http://sentu.blog.51cto.com/1653591/1916366

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