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

服务器重启后 启动php-fpm报错:

[root@localhost bin]# /etc/init.d/php-fpm start
Starting php-fpm [11-Jun-2018 11:26:20] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)

[11-Jun-2018 11:26:20] ERROR: FPM initialization failed 

failed

9000端口被占用 

1查看是否php-fpm 处于开启状态,服务器并未杀死php-fpm的进程。

netstat -lntup | grep 9000

2 停止原来php-fpm的进程,重启开启

[root@localhost ~]# killall php-fpm
[root@localhost ~]# /etc/init.d/php-fpm start
Starting php-fpm  done


你可能感兴趣的:(LAMP)