=====There is no error prompt in ZK here. Look for the logs. There is a logs directory on the upper layer of the bin directory. Check the logs===
Main error log information:
2022-07-28 15:31:50,793 [myid:] - ERROR [main:QuorumPeerMain@98] - Invalid config, exiting abnormally
========Solution information========
cd apache-zookeeper-3.6.2-bin/conf/
View the VIM zoo configuration file, view the dataDir directory defined by yourself, and view the ID information of zkServer.
CD to the dataDir directory,
echo “serverid” > myid
Go to the bin directory and start again, sh zkServer.sh start
check ZK application status: sh zkServer.sh status, (if the startup is successful and the status is wrong, you can wait until the cluster machine starts completely).
========================End=====================
Read More:
- The first installation of zookeeper on Linux failed to start
- Error: (serious: a child container failed during start) (server component failed to start so Tomcat is unable)
- Solve the problem of unable to start under zookeeper Linux
- Zookeeper start error [How to Solve]
- Ubuntu failed to start sshd with an error: failed to start OpenBSD secure shell server
- Net start mongodb failed to start: system error 5 has occurred. Access is denied
- MySQL failed to start prompt: job failed to start
- Tdengine failed to start, start request repeated too quickly for taosd.service
- The seahorse play simulator failed to start, start machine failed! error code = 3 and error code = 21
- Docker start error: failed to start docker application container engine.
- MySQL uses net start MySQL startup prompt (failed to start, the service did not report any error)
- [Solved] Tomcat Failed to Start Error: Server Tomcat v8.5 Server at localhost failed to start
- VirtualBox failed to start, prompt failed to open a session for the virtual machine windoze 7
- Mongodb failed to start: child process failed, exited with error number 100
- Centos7 executes the command service mysqld start and prompts Failed to start mysqld.service: Unit mysqld.service not loaded
- Nacos failed to start [How to Solve]
- The mongoDB service failed to start (exception: connect failed)
- Failed to start component [standardengine [Catalina]. Standardhost [localhost]. Standardcontext
- ZABBIX agent failed to start
- Application failed to start