After the ZooKeeper download and decompression configuration is successfully started, the execution of zkServer.sh start reports the following error.
The reason why I report an error is that the 2 and 3 node jdks do not set environment variables, resulting in an error contacting service It is probably not running.
I only configured JDK environment variables on node 1, and did not configure JDK environment variables on nodes 2 and 3. (I have three machines configured here)
Execute the VIM /etc/profile command to set the environment variables.
After setting the environment variable, use the command: source /etc/profile to make it effective
After the JDK environment variables of the three machines are set successfully.
Check zookeeper status at startup: zkServer.sh status three nodes started successfully
Successfully resolved.
Read More:
- [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
- [Solved] Error contacting service. It is probably not running.
- [Solved] Error contacting service. It is probably not running.
- [Solved] zookeeper Startup Error: already running as process
- 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
- K8S Master Initialize Error: [ERROR CRI]: container runtime is not running: output: E0812
- [Solved] Parcel Service Error: regeneratorRuntime is not defined
- [Solved] Error–dubbo Connect zk Error: zookeeper not connected
- [ERROR Swap]: running with swap on is not supported. Please disable swap
- 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
- It can be opened with localhost, but not with IP address. The request host name is invalid
- [Solved] error during connect: This error may indicate that the docker daemon is not running
- Start Docker Quickstart Terminal error This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated
- [Solved] zookeeper Error: OperationTimeoutException: KeeperErrorCode = OperationTimeout
- Mac Error: sh: vue-cli-service: command not found
- Database App.config configurate file Error & Solution