安装supervisord走的弯路
来源:http://www.tudoupe.com时间:2022-03-06
在启动supervisord的时候,报错
Job for supervisord.service failed because the control process exited with error code. See "systemctl status supervisord.service" and "journalctl -xe" for details.
查看日志(指令是journalctl -xe)
-- Unit session-9.scope has finished starting up.
--
-- The start-up result is done.
3月 06 18:46:46 qianfeng01 sshd[8917]: pam_unix(sshd:session): session opened fo
3月 06 18:46:46 qianfeng01 sshd[8917]: Received disconnect from ::1 port 58012:1
3月 06 18:46:46 qianfeng01 sshd[8917]: Disconnected from ::1 port 58012
3月 06 18:46:46 qianfeng01 sshd[8917]: pam_unix(sshd:session): session closed fo
3月 06 18:46:46 qianfeng01 systemd-logind[992]: Removed session 9.
-- Subject: Session 9 has been terminated
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID 9 has been terminated.
3月 06 18:46:59 qianfeng01 polkitd[982]: Registered Authentication Agent for uni
3月 06 18:46:59 qianfeng01 systemd[1]: Starting Process Monitoring and Control D
-- Subject: Unit supervisord.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit supervisord.service has begun starting up.
3月 06 18:46:59 qianfeng01 supervisord[9080]: Error: could not find config file
3月 06 18:46:59 qianfeng01 supervisord[9080]: For help, use /usr/bin/supervisord
3月 06 18:46:59 qianfeng01 systemd[1]: supervisord.service: control process exit
3月 06 18:46:59 qianfeng01 systemd[1]: Failed to start Process Monitoring and Co
-- 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.
3月 06 18:46:59 qianfeng01 systemd[1]: Unit supervisord.service entered failed s
3月 06 18:46:59 qianfeng01 systemd[1]: supervisord.service failed.
3月 06 18:46:59 qianfeng01 polkitd[982]: Unregistered Authentication Agent for u
lines 2152-2187/2187 (END)
--
-- Unit session-9.scope has finished starting up.
--
-- The start-up result is done.
3月 06 18:46:46 qianfeng01 sshd[8917]: pam_unix(sshd:session): session opened fo
3月 06 18:46:46 qianfeng01 sshd[8917]: Received disconnect from ::1 port 58012:1
3月 06 18:46:46 qianfeng01 sshd[8917]: Disconnected from ::1 port 58012
3月 06 18:46:46 qianfeng01 sshd[8917]: pam_unix(sshd:session): session closed fo
3月 06 18:46:46 qianfeng01 systemd-logind[992]: Removed session 9.
-- Subject: Session 9 has been terminated
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID 9 has been terminated.
3月 06 18:46:59 qianfeng01 polkitd[982]: Registered Authentication Agent for uni
3月 06 18:46:59 qianfeng01 systemd[1]: Starting Process Monitoring and Control D
-- Subject: Unit supervisord.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit supervisord.service has begun starting up.
3月 06 18:46:59 qianfeng01 supervisord[9080]: Error: could not find config file
3月 06 18:46:59 qianfeng01 supervisord[9080]: For help, use /usr/bin/supervisord
3月 06 18:46:59 qianfeng01 systemd[1]: supervisord.service: control process exit
3月 06 18:46:59 qianfeng01 systemd[1]: Failed to start Process Monitoring and Co
-- 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.
3月 06 18:46:59 qianfeng01 systemd[1]: Unit supervisord.service entered failed s
3月 06 18:46:59 qianfeng01 systemd[1]: supervisord.service failed.
3月 06 18:46:59 qianfeng01 polkitd[982]: Unregistered Authentication Agent for u
~
~
~
Failed to start Process Monitoring and Co
-- Subject: Unit supervisord.service has failed
在网上找了多种方法解决未果
最后解决方法是自己琢磨出来的少了一个文件
学习搭建supervisord的步骤是
但是,supervisord.conf是主配置文件,不能缺少
以上第三步应该改成
cp /etc/supervisord.conf /etc/supervisord.conf.bak
我把之前/etc/supervisord.conf.bak复制成了/etc/supervisord.conf
然后再启动supervisord,一切都在顺利的方向

上一篇:OpenCV学习(62)
相关新闻
- 2023-05-06 微pe怎么初始化U盘(微pe怎么恢复初
- 2023-05-06 Xp系统boot 进入pe(boot manager 怎么进入
- 2023-05-06 win pe修复bcdboot(pe修复系统)
- 2023-05-06 win7更新失败 pe(win7更新失败还原更
- 2023-05-06 u盘装了pe读取不了(u盘能进pe读取不
- 2023-05-06 u盘pe 发热(u盘发热烫手)
- 2023-05-06 u盘pe下看不到硬盘(u盘启动pe看不到
- 2023-05-06 pe盘 ntfs(u盘ntfs格式)
- 2023-05-06 sony笔记本进入pe模式(联想笔记本怎
- 2023-05-06 pe启动盘进不去(pe启动盘进不去系统
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
