mac supervisor error :Another program is already listening on a port that one of our HTTP servers is

  • 错误 Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord. For help, use /usr/local/bin/supervisord -h
  • 解决方案
    • 好像是supervisor已经在运行了,现在要再启动就得把之前的kill掉
$ ps -ef | grep supervisord
    0  5622     1   0  2:33上午 ??         0:00.84 /usr/bin/python /usr/local/Cellar/supervisor/3.2.1/libexec/bin/supervisord -c /etc/supervisor/supervisord.conf
  501  7459  5853   0  3:26上午 ttys003    0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn supervisord
$ sudo kill -9 5622
$ supervisord

就OK了

  • 错误 Unlinking stale socket /tmp/supervisor.sock *解决方案
$ sudo unlink /tmp/supervisor.sock
$ ps -ef | grep supervisord
$ sudo kill -9 5622
$ supervisord

转载于:https://my.oschina.net/michao/blog/738593

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
根据您提供的引用内容,我可以为您提供以下解决方案: 针对引用中的问题"AttributeError: module 'tensorflow.compat.v1' has no attribute 'contrib'",您可以尝试以下解决方法: 1. 确保您的TensorFlow版本是兼容的。在较新的TensorFlow版本中,'contrib'模块已被移除。您可以尝试使用较旧的TensorFlow版本或者使用其他替代方法来解决您的问题。 2. 如果您确实需要使用'contrib'模块中的功能,您可以尝试安装TensorFlow的旧版本,例如1.15.0版本。您可以使用以下命令安装特定版本的TensorFlow: ```shell pip install tensorflow==1.15.0 ``` 3. 如果您的代码中使用了'contrib'模块的特定功能,您可以尝试查找替代的方法或库来实现相同的功能。TensorFlow社区中有许多开源项目和库可以提供类似的功能。 针对引用中的问题"AttributeError: module 'supervisor' has no attribute 'client'",您可以尝试以下解决方法: 1. 确保您已正确安装了supervisor模块。您可以使用以下命令安装supervisor模块: ```shell pip install supervisor ``` 2. 如果您已经安装了supervisor模块但仍然出现该错误,可能是因为您的代码中使用了supervisor模块中不存在的'client'属性。您可以检查您的代码并确保正确使用了supervisor模块的功能和属性。 3. 如果您的代码中确实需要使用'supervisor.client'属性,您可以尝试查找替代的方法或库来实现相同的功能。可能有其他的Python模块或库可以提供类似的功能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值