The first installation of zookeeper on Linux failed to start

error is as follows:
[root @ hecs 2 – Linux – 20200625134441 – x – medium – bin] #./zkServer sh start
ZooKeeper JMX enabled by default
Using the config:/home/they/they/bin /…/conf/zoo. CFG
Starting zookeeper… Zookeep’s default START port is also 8080
. Therefore, we need TO modify the zookeeper’s port
solution:
. ./ zkserver.sh start-foreground


, so my port 8080 was taken up, causing zookeeper to fail to launch
. Add
admin.serverport =8123

3, restart
./ zkserver.sh start
perfectly fixed.

Read More: