unable to bind listening socket for address '127.0.0.1:9000': Address already in use

2083 단어
시작 php-fpm 오류:
[root@localhost init.d]# /usr/sbin/php-fpm
[16-Jun-2017 14:09:15] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
[16-Jun-2017 14:09:15] ERROR: FPM initialization failed

9000 포트가 이미 점용되었기 때문이다.

1. 9000 포트를 사용하는 프로그램을 보려면 다음과 같이 하십시오.

[root@localhost init.d]# netstat -lntup | grep 9000
tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      3043/php-fpm: maste

2, 원래 php-fpm 중지:

[root@localhost init.d]# killall php-fpm
[root@localhost init.d]# service php-fpm start

아니면 직접reload를 해보세요. 보통 프로필 php를 다시 불러옵니다.ini:
service php-fpm reload

좋은 웹페이지 즐겨찾기