使用 root用户 vi /etc/rc.d/rc.local 添加 启动服务路径 比如:

/usr/soft/zookeeper-3.4.6/bin/zkServer.sh start或者

su /usr/soft/zookeeper-3.4.6/bin/zkServer.sh start