supervisord 启动失败

来源:互联网 发布:中国期刊中文数据库 编辑:程序博客网 时间:2024/05/16 12:07

今天安装supervisord之后,启动失败,如下所示:

[host ~]$ sudo /bin/systemctl start  supervisord.serviceJob for supervisord.service failed. See 'systemctl status supervisord.service' and 'journalctl -xn' for details.[host ~]$ systemctl status supervisord.servicesupervisord.service - Process Monitoring and Control Daemon   Loaded: loaded (/usr/lib/systemd/system/supervisord.service; enabled)   Active: failed (Result: exit-code) since Fri 2016-03-11 16:42:31 CST; 12s ago  Process: 23386 ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf (code=exited, status=2) [host ~] journalctl -xn -- Logs begin at Thu 2016-01-28 09:53:59 CST, end at Fri 2016-03-11 17:05:55 CST. --Mar 11 17:05:13 vpcz-dt-dev-3.vm sudo[27254]: bosun : unknown user: fangyu.+Mar 11 17:05:13 vpcz-dt-dev-3.vm scollector[6314]: error: program.go:127: sudo: unknown user: fangyu.+Mar 11 17:05:13 vpcz-dt-dev-3.vm scollector[6314]: error: program.go:127: sudo: unable to initialize policy pluginMar 11 17:05:13 vpcz-dt-dev-3.vm sudo[27258]: bosun : TTY=unknown ; PWD=/ ; USER=bosun ; COMMAND=/etc/alternatives/jps -lMar 11 17:05:55 vpcz-dt-dev-3.vm systemd[1]: Starting Process Monitoring and Control Daemon...-- Subject: Unit supervisord.service has begun with start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel---- Unit supervisord.service has begun starting up.Mar 11 17:05:55 vpcz-dt-dev-3.vm supervisord[27312]: Error: Another program is already listening on a port that one of our HTTP servers is configured to uMar 11 17:05:55 vpcz-dt-dev-3.vm supervisord[27312]: For help, use /usr/bin/supervisord -hMar 11 17:05:55 vpcz-dt-dev-3.vm systemd[1]: supervisord.service: control process exited, code=exited status=2Mar 11 17:05:55 vpcz-dt-dev-3.vm systemd[1]: Failed to start Process Monitoring and Control Daemon.-- Subject: Unit supervisord.service has failed-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel---- Unit supervisord.service has failed.---- The result is failed.Mar 11 17:05:55 vpcz-dt-dev-3.vm systemd[1]: Unit supervisord.service entered failed state.

最后终于在stackoverflow找到解决方法:

sudo unlink /run/supervisor.sock
0 0
原创粉丝点击