zookeeper启动报 Unexpected exception, exiting abnormally 错误

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

通过查看zookeeper日志

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

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

再次启动zookeeper

完成!!!

原文地址:https://www.cnblogs.com/braveym/p/9037259.html

时间: 2024-10-30 03:40:29

zookeeper启动报 Unexpected exception, exiting abnormally 错误的相关文章

zookeeper启动报错(数据目录权限不对)

zookeeper启动报错日志: 2016-11-16 11:19:43,880 [myid:3] - INFO [WorkerReceiver[myid=3]:[email protected]] - Notification: 3 (n.leader), 0x200111a88 (n.zxid), 0x1 (n.round), LOOKING (n.state), 3 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state) 2016-11-16 11:1

烂泥:【解决】virtualbox启动报创建COM对象失败错误

本文由秀依林枫提供友情赞助,首发于烂泥行天下. 今天在启动virtualbox时,发现virtualbox报创建COM对象失败错误,如下图: 查找相关资料发现很有可能是virtualbox与OS不兼容造成. 调整virtualbox的兼容性,如下图: 然后再启动virtualbox,就可以了. 烂泥:[解决]virtualbox启动报创建COM对象失败错误

MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误解决办法

MyEclipse 打开后有时候莫名的在server窗口里抛出“Could not create the view: An unexpected exception was thrown”错误,解决办法: 打开myeclipse所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings 删除 com.genuitec.eclipse.ast.deploy.core.prefs 重启myeclipse即

MyEclipse server窗口 Could not create the view: An unexpected exception was thrown 错误解决

MyEclipse 打开后有时候莫名的在server窗口里抛出“Could not create the view: An unexpected exception was thrown”错误,解决办法: 打开myeclipse所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings 删除 com.genuitec.eclipse.ast.deploy.core.prefs 重启myeclipse即

myeclipse中启动时Tomcat出现Could not create the view: An unexpected exception was thrown错误解决方案

问题: 电脑突然断电,myeclipse非正常关闭,"Package Explorer"非正常显示,出现错误"Could not create the view: An unexpected exception was thrown."但是项目中的文件可以通过命令查看. 解决方式: 1.关闭myeclipse 2.删除文件".metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.

myEclipse 打不开struts-config.xml 报Could not open the editor: An unexpected exception was thrown 错误(转载)

出现错误如下: 提示错误信息:Could not open the editor: An unexpected exception was thrown. java.lang.NullPointerException at com.genuitec.eclipse.struts.editor.modeler.model.StrutsConfigDiagram.processAction(StrutsConfigDiagram.java:574) at com.genuitec.eclipse.s

logstash启动报错 Exception in thread ">output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]

部署ELK时候,logstash启动报错 Sending logstash logs to /var/log/logstash.log.Exception in thread ">output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]    at org.elasticsearch.action.support.master.TransportMasterNodeOper

Spring Boot 启动报错 Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 37

使用命令 java -jar springBoot.jar  启动项目,结果报错如下: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 37 at java.lang.String.substring(String.java:1963) at org.springframework.boot.loader.jar.JarFile.create

MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误的解决办法

打开myeclipse所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings删除 com.genuitec.eclipse.ast.deploy.core.prefs 然后重启myeclipse即可