gpt4 book ai didi

Ubuntu无法重新启动主管

转载 作者:行者123 更新时间:2023-12-04 18:55:23 24 4
gpt4 key购买 nike

关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。












我们不允许在 Stack Overflow 上提出有关通用计算硬件和软件的问题。您可以编辑问题,使其成为 on-topic对于堆栈溢出。


2年前关闭。







Improve this question




我试过了:

sudo service supervisor restart

我有:

Job for supervisor.service failed because the control process exited with error code. See "systemctl status supervisor.service" and "journalctl -xe" for details.



然后我运行:
systemctl status supervisor.service

结果:
supervisor.service - supervisord - Supervisor process control system
Loaded: loaded (/etc/systemd/system/supervisor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-04-29 13:37:02 EDT; 27s ago
Docs: http://supervisord.org
Process: 23929 ExecStart=/edx/app/supervisor/venvs/supervisor/bin/supervisord --configuration /edx/ap

Apr 29 13:37:02 vu supervisord[23929]: handlers.append(RotatingFileHandler(filename,'a',maxbytes,ba
Apr 29 13:37:02 vu supervisord[23929]: File "/edx/app/supervisor/venvs/supervisor/local/lib/python2.7
Apr 29 13:37:02 vu supervisord[23929]: FileHandler.__init__(self, filename, mode)
Apr 29 13:37:02 vu supervisord[23929]: File "/edx/app/supervisor/venvs/supervisor/local/lib/python2.7
Apr 29 13:37:02 vu supervisord[23929]: self.stream = open(filename, mode)
Apr 29 13:37:02 vu supervisord[23929]: IOError: [Errno 13] Permission denied: '/edx/var/log/supervisor/
Apr 29 13:37:02 vu systemd[1]: supervisor.service: Control process exited, code=exited status=1
Apr 29 13:37:02 vu systemd[1]: Failed to start supervisord - Supervisor process control system.
Apr 29 13:37:02 vu systemd[1]: supervisor.service: Unit entered failed state.
Apr 29 13:37:02 vu systemd[1]: supervisor.service: Failed with result 'exit-code'.

最佳答案

我解决了我的问题如下
首先删除/etc/supervisor/conf.d中的所有配置并使用命令 sudo service supervisor restart 重新启动主管.
更新主管进程组 1. 将配置文件移动到 /etc/supervisor/conf.d/目录,2.运行命令sudo supervisorctl reread它将检查语法并将进程添加到主管组。

其他方法是卸载并重新安装主管。

关于Ubuntu无法重新启动主管,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50089534/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com