1. Problem description
Zookeeper has been able to start normally before, but an error is reported in a startup. Already running as process
2. Problem description
Enter the command JPS to check whether it is really started. It is found that it is not started (the process name of zookeeper is QuorumPeerMain)
This is usually caused by the machine abnormally closing the residual PID file in the cache directory (forced shutdown for the closing process, etc.)
just clean up the cache directory
3. Problem handling
Enter the file directory (this directory is the dataDir directory when setting zoo.cfg(cd /export/server/zookeeper-3.4.9/conf)):
(base) [ root@node2 zkdatas]# cd /export/server/apache-zookeeper-3.5.6-bin/zkdatas
(base) [ root@node2 zkdatas]# ll
Clean up cache files
(base) [root@node2 zkdatas]# rm -rf zookeeper_server.pid
Restart andyou can start normally
(base) [root@node2 apache-zookeeper-3.5.6-bin]# bin/zkServer.sh start
Read More:
- When installing zookeeper, you can view the process start, but the status display error: Error contacting service. It is probably not running
- [Solved] Zookeeper3.6.0 Error: Error contacting service. It is probably not running
- [Solved] ZooKeeper Configurate Error: Error contacting service. It is probably not running.
- [Solved] hbase Startup Error: ERROR: Can’t get master address from ZooKeeper; znode data == null
- [Solved] zookeeper Error: OperationTimeoutException: KeeperErrorCode = OperationTimeout
- [Solved] kubeflow pipeline visualization component Error: WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager…
- [Solved] mongodb Startup Error: ERROR: child process failed, exited with error number 14
- [Solved] Error–dubbo Connect zk Error: zookeeper not connected
- Yaml is installed, and the error YAMLLoadWarning is reported as soon as the code runs: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.
- [Solved] Springboot Project Startup Error: Error running XXX. Command line is too long.
- Remember an android app startup error Error running: Default Activity not found
- [Solved] Error contacting service. It is probably not running.
- [Solved] Error contacting service. It is probably not running.
- [Solved] kafka startup Error: java.net.ConnectException: Connection refused
- Docker service startup error: Job for docker.service failed because the control process exited with error code.
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- [Solved] RuntimeError: An attempt has been made to start a new process before the current process…
- [Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.
- Docker run Error: container_linux.go:235: starting container process caused “process_linux.go:258: appl
- [Solved] kafka Startup Error: Fatal error during KafkaServer startup