supervisord 启动失败

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

[host ~]$ sudo /bin/systemctl start  supervisord.service
Job for supervisord.service failed. See 'systemctl status supervisord.service' and 'journalctl -xn' for details.
[host ~]$ systemctl status supervisord.service
supervisord.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 plugin
Mar 11 17:05:13 vpcz-dt-dev-3.vm sudo[27258]: bosun : TTY=unknown ; PWD=/ ; USER=bosun ; COMMAND=/etc/alternatives/jps -l
Mar 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 u
Mar 11 17:05:55 vpcz-dt-dev-3.vm supervisord[27312]: For help, use /usr/bin/supervisord -h
Mar 11 17:05:55 vpcz-dt-dev-3.vm systemd[1]: supervisord.service: control process exited, code=exited status=2
Mar 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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值