使用 supervisor 管理进程遇到的问题

ぐ巨炮叔叔 提交于 2019-12-03 18:12:03

# supervisorctl status
unix:///var/tmp/supervisor.sock refused connection

# supervisord -c /etc/supervisord.conf
Error: could not find config file /etc/supervisor/supervisord.conf
For help, use /usr/bin/supervisord -h

# whereis supervisord.conf
supervisord: /usr/bin/supervisord /etc/supervisord.conf /etc/supervisord

# supervisord -c /etc/supervisord.conf
Unlinking stale socket /var/tmp/supervisor.sock

# unlink /tmp/supervisor.sock
unlink: cannot unlink `/tmp/supervisor.sock’: No such file or directory

# unlink /var/tmp/supervisor.sock

# supervisorctl status
unix:///var/tmp/supervisor.sock no such file

# supervisord -c /etc/supervisord.conf

# supervisorctl status
m-tomcat RUNNING pid 11125, uptime 0:00:03
platform RUNNING pid 11124, uptime 0:00:03
rap-tomcat RUNNING pid 11123, uptime 0:00:03
redis_6379 BACKOFF Exited too quickly (process log may have details)
tomcat RUNNING pid 11130, uptime 0:00:03

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!