unable to bind listening socket for address '127.0.0.1:9000': Address already in use
2017-06-16 14:22
2601 查看
启动php-fpm报错:
原因是9000端口已经被占用。
或者直接reload一下,一般是重新加载配置文件php.ini:
[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
相关文章推荐
- 关于启动php-fpm报错 ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already
- ERROR: unable to bind listening socket for address ’127.0.0.1:9000′
- Unable to open debugger port (127.0.0.1:59842): java.net.BindException "Address already in use: JVM
- Unable to open debugger port (127.0.0.1:49688): java.net.BindException "Address already in use: JVM_
- Unable to open debugger port (127.0.0.1:63777): java.net.BindException "Address already in use: JVM
- Unable to open debugger port (127.0.0.1:63777): java.net.BindException "Address already in use: JVM
- Unable to open debugger port (127.0.0.1:63777): java.net.BindException "Address already in use: JVM
- commBind: Cannot bind socket FD 15 to *:3401: (48) Address already in use
- 【tomcat】启动报错:Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"] java.lang.Exception: Socket bind failed 和java.net.BindException: Address already in use: JVM_Bind错误解决
- ERROR: unable to bind listening socket for address ’127
- Unable to open debugger port : java.net.BindException "Address already in use: JVM_Bind(IDEA13.0)
- Unable to open debugger port : java.net.BindException "Address already in use: JVM_Bind
- 开启redis-server提示 # Creating Server TCP listening socket *:6379: bind: Address already in use--解决方法
- Redis 启动报错: Creating Server TCP listening socket *:6379: bind: Address already in use
- socket 关闭但端口占用问题 Bind: Address Already in Use Or How to Avoid this Error when Closing TCP Connections
- 开启redis-server报错 # Creating Server TCP listening socket *:6379: bind: Address already in use--解决方法
- Apache Address already in use: make_sock: could not bind to port 80 or 443 error and solution
- apache重启报错:Address already in use: make_sock: could not bind to address的解决
- Linux下Socket编程的端口问题( Bind error: Address already in use )
- (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80