我正在尝试使用主管在监督下运行zookeeper。这是我正在使用的命令。
[program:zookeeper]
command=/usr/share/zookeeper/bin/zkServer.sh start-foreground
autostart=true
autorestart=true
startsecs=10
startetries=999
stopsignal=KILL
stopasgroup=true
log_stdout=true
log_stderr=true
logfile=/var/log/zookeeper/zookeeper.out
logfile_maxbytes=20MB
logfile_backups=10
错误:
zookeeper FATAL Exited too quickly (process log may have details)
日志:
2015-11-09 12:28:35,326 INFO spawned: 'zookeeper' with pid 6769
2015-11-09 12:28:35,344 INFO exited: zookeeper (exit status 1; not expected)
2015-11-09 12:28:36,347 INFO spawned: 'zookeeper' with pid 6778
2015-11-09 12:28:36,364 INFO exited: zookeeper (exit status 1; not expected)
2015-11-09 12:28:38,368 INFO spawned: 'zookeeper' with pid 6791
2015-11-09 12:28:38,385 INFO exited: zookeeper (exit status 1; not expected)
2015-11-09 12:28:41,390 INFO spawned: 'zookeeper' with pid 6797
2015-11-09 12:28:41,407 INFO exited: zookeeper (exit status 1; not expected)
2015-11-09 12:28:42,408 INFO gave up: zookeeper entered FATAL state, too many start retries too quickly