Zookeeper startup failed FAILED TO START
First check whether there is a problem with the data path
After checking my configuration, there is no problem
Then check the log file
Reading configuration from: /usr/local/zookeeper/bin/../conf/zoo.cfg
2020-10-28 20:13:51,564 [myid:] - ERROR [main:QuorumPeerMain@98] - Invalid config, exiting abnormally
Reading the log can understand that an error occurred after reading the configuration file zoo.cfg, Invalid config, exiting abnormally, and invalid configuration.
Then I found that the name of the configuration file under my conf is zoo_sample.cfg (default), and the name of the file that starts reading is zoo.cfg
So the problem is solved after modifying the configuration file name
mv zoo_sample.cfg zoo.cfg