supervisord -c /etc/supervisord.d/ffmpeg.conf 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 /bin/supervisord -h
root@DS918:/etc# python3 get-pip.py Collecting pip WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection bro ken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /packages/d4/55/90db48d85f7 689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl.metadata Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB) Collecting setuptools Downloading setuptools-72.1.0-py3-none-any.whl.metadata (6.6 kB) Collecting wheel Downloading wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB) Downloading pip-24.2-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 40.6 kB/s eta 0:00:00 Downloading setuptools-72.1.0-py3-none-any.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 38.3 kB/s eta 0:00:00 Downloading wheel-0.44.0-py3-none-any.whl (67 kB) Installing collected packages: wheel, setuptools, pip Successfully installed pip-24.2 setuptools-72.1.0 wheel-0.44.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing an d want to suppress this warning.
root@DS918:/etc# pip3 -V pip 24.2 from /usr/lib/python3.8/site-packages/pip (python 3.8)
root@DS918:/etc# pip3 install supervisor Collecting supervisor Downloading supervisor-4.2.5-py2.py3-none-any.whl.metadata (86 kB) Requirement already satisfied: setuptools in /usr/lib/python3.8/site-packages (from supervisor) (72.1.0) Downloading supervisor-4.2.5-py2.py3-none-any.whl (319 kB) Installing collected packages: supervisor Successfully installed supervisor-4.2.5 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment i nstead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
1 2 3
supervisord -c /etc/supervisord.d/ffmpeg.conf Error: .ini file does not include supervisord section For help, use /bin/supervisord -h
错误解决办法: 在配置文件中添加supervisord section/章节
1 2
supervisorctl start ffmpeg unix:///tmp/supervisor.sock no such file
解决办法是:
运行时使用:
1
supervisord -c /etc/supervisord.d/ffmpeg.conf
1 2 3
vi /etc/supervisord.d/ffmpeg.conf 1. 使用默认的模版 2. 在最后面添加一个章节 [program:ffmpeg]