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) [ [email protected] zkdatas]# cd /export/server/apache-zookeeper-3.5.6-bin/zkdatas
(base) [ [email protected] zkdatas]# ll
Clean up cache files
(base) [[email protected] zkdatas]# rm -rf zookeeper_server.pid
Restart andyou can start normally
(base) [[email protected] apache-zookeeper-3.5.6-bin]# bin/zkServer.sh start
Read More:
- [Solved] kafka startup Error: java.net.ConnectException: Connection refused
- Wildfly (JBoss) startup error: ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“add”) failed
- 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.
- Hbase Error: Regions In Transition [How to Solve]
- [Solved] Zookeeper3.6.0 Error: Error contacting service. It is probably not running
- [Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.
- [Solved] Android Studio Change Project Error: Error while executing: am start
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- HBase shell Find ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- git error: The following untracked working tree files would be overwritten by checkout
- [Solved] NPM Error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- [Solved] Vite Bulk Import import.meta.glob Error: ERR_ABORTED 403 (Forbidden)
- [Solved] eclipse Error: org.apache.hadoop.hbase.NotServingRegionException:
- [Solved] Nacos Cluster startup error: error=‘Cannot allocate memory‘ (errno=12)
- NFS startup error: restart failed [How to Solve]
- [Solved] jenkins-deleteDir Error (FilePath is missing)
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- [Solved] hbase Create Sheet Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing