First, check whether more than half of the servers start zookeeper. If yes, use the JPS command and find that the quorumpeermain main class is not started
[atguigu@Hadoop103 zookeeper-3.5.7]$ jps
14850 Jps
The most likely cause: Zookeeper decompression path in the conf folder zoo.cfg (I am here after changing the name) configuration when adding the content after the addition of a space and the creation of myid up and down there are empty lines or left and right spaces, enter the file deleted, and then check the jps
#######################cluster##########################
server.2=hadoop102:2888:3888
server.3=hadoop103:2888:3888
server.4=hadoop104:2888:3888
Read More:
- [Solved] Error contacting service. It is probably not running.
- [Solved] ZooKeeper Configurate Error: Error contacting service. It is probably not running.
- [Solved] Zookeeper3.6.0 Error: Error contacting service. It is probably not running
- When installing zookeeper, you can view the process start, but the status display error: Error contacting service. It is probably not running
- How to Solve VMware Workstation Error: The VMware Authorization Service is not running.
- Vscode pylint reported an error of “no member”, but it is running normally
- Android studio can’t start, running error: warning: crash service did not start
- [Solved] Parcel Service Error: regeneratorRuntime is not defined
- It can be opened with localhost, but not with IP address. The request host name is invalid
- SharePoint site shows ‘Service Unavailable. HTTP Error 503. The service is unavailable’
- [Solved] Android Studio Error:This view is not constrained, it only has designtime positions
- [Solved] error during connect: This error may indicate that the docker daemon is not running
- K8S Master Initialize Error: [ERROR CRI]: container runtime is not running: output: E0812
- [ERROR Swap]: running with swap on is not supported. Please disable swap
- Start Docker Quickstart Terminal error This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated
- [Solved] Kettle Error: ../deploy does not exist, please create it.
- Mac Error: sh: vue-cli-service: command not found
- [Solved] Error running tomcat8: Address localhost:80 is already in use
- [Solved] Service Start Error When Horizon View Composer is Installing
- [Solved] Android Error: java.lang.IllegalStateException: Not allowed to start service Intent