0
点赞
收藏
分享

微信扫一扫

zookeeper启动报 Unexpected exception, exiting abnormally 错误

Mhhao 2022-06-20 阅读 83

当我们在集群里启动zookeeper的时候,通过jps查看没有发现zookeeper进程

 zookeeper启动报 Unexpected exception, exiting abnormally 错误_zookeeper

 

通过查看zookeeper日志

zookeeper启动报 Unexpected exception, exiting abnormally 错误_zookeeper_02

 

 

其实是因为2181端口被占用的原因!!!

 

通过命令sudo netstat -nltp | grep 2181查看是那个进程占用了2181端口,然后把相应的进程kill掉

zookeeper启动报 Unexpected exception, exiting abnormally 错误_zookeeper_03

 

 再次启动zookeeper

zookeeper启动报 Unexpected exception, exiting abnormally 错误_zookeeper_04

 

 

zookeeper启动报 Unexpected exception, exiting abnormally 错误_zookeeper_05

 

完成!!!

 

举报

相关推荐

0 条评论