zookeeper启动异常

zookeeper启动报异常

java.io.EOFException  at java.io.DataInputStream.readInt(DataInputStream.java:392)

遇到这个问题

第一步先删除 缓存文件

打开 conf 文件夹

找到

zoo.cfg 文件

找到缓存数据文件夹

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo }
span.s1 { }

dataDir=/home349/vlan/zookeeper/data

rm -rf  version-2

再次尝试启动查看是否成功

如果还是不行

重新装 zookeeper吧。

编译即可,无需安装

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #5330e1 }
span.s1 { }
span.s2 { color: #000000 }

时间: 2024-10-10 12:21:10

zookeeper启动异常的相关文章

有内核造成的nginx启动异常

CentOS5.4之nginx启动异常 ###安装Nginx### [[email protected]_Mysql ~]#yum -y install nginx ###启动Nginx### [[email protected]_Mysql ~]#service nginx start -->无任何启动输出信息,当时可郁闷 ###查看端口###  [[email protected]_Mysql ~]# ss -tanlp | grep nginx   -->端口正常,郁闷消除 0     

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

zookeeper启动失败

集群中3个节点,第一个started,第二个说Starting zookeeper ... already running as process xxxx,第三个说Starting zookeeper ... already running as process yyyy. 原来是相应目录下残留的pid文件导致启动失败,打开那个文件一看里边的进程号正是提示出现的xxxx,yyyy.删除他们后重启,好了. zookeeper启动失败

hadoop namenode启动异常,死活失败

2014-05-12注定是春光灿烂猪八戒的一天,历史595无故障的hadoop服务器,终于还是出了问题,事前无人登陆操作服务器,此故障属于自发行为,目前未知发生原因. 细节描述: namenode无法启动. 先贴出错误信息 2014-05-12 07:17:39,447 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG: /**********************************************

Mac下Mysql启动异常["ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"]

在mac下使用brew安装mysql,之前没有使用过,今天启动的时候发现启动不了 huijundeMacBook-Pro:bin huijunzhang$ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 查看mysql的安装位置: huijundeMacBook-Pro:bin huijunzhang$ which mysql /usr/local

Zookeep启动异常:Error contacting service. It is probably not running.

Zookeep安装启动异常    异常提示: [[email protected] bin]# ./zkServer.sh status JMX enabled by default Using config: /usr/local/zk/bin/../conf/zoo.cfg Error contacting service. It is probably not running 解决方案: 网上问题答案有许多种,一一归纳: 1. zoo.cfg配置文件中指定目录却没有创建! 创建相应目录即可

pg启动异常could not open lock file "/tmp/.s.PGSQL.5432.lock":

今天安装postgres,启动异常:could not open lock file "/tmp/.s.PGSQL.5432.lock": 修改tmp权限,chown -R postgres:postgres /tmp 启动成功.

项目启动异常java.lang.OutOfMemoryError: PermGen space

java.lang.OutOfMemoryError: PermGen space 解决办法: Eclipse-->window-->Tomcat -->JVM setting  -->Append To JVM Parameters -->add 弹出框填写: -Xmx256M -Xms256M -XX:MaxPermSize=256m struts 项目启动时,在E:\apache-tomcat-6.0.26\conf\Catalina\localhost路径下必须制定项

Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)

Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans' 2008-09-07 22:41 今天把在线聊天室代码改了下, 想启动应用测试. 结果抛出一大堆异常: -------------------------------------------------------------------------------------------- org.springframework.beans.factory.x