Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.46k stars 1.24k forks source link

supervisord[18564]: Error: 'ascii' codec can't decode byte 0xe7 in position 112: ordinal not in range(128) #1531

Open mark2021blue opened 2 years ago

mark2021blue commented 2 years ago

[root@ip-172- supervisord.d]# python3 -V Python 3.6.8 [root@ip-172- supervisord.d]# supervisord -v 4.2.2 [root@ip-172-* supervisord.d]# systemctl status supervisord.service ● supervisord.service - Process Monitoring and Control Daemon Loaded: loaded (/usr/lib/systemd/system/supervisord.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2022-08-07 14:40:37 UTC; 1min 12s ago Process: 18564 ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf (code=exited, status=2)

Aug 07 14:40:37 ip-172-.ap-northeast-1.compute.internal systemd[1]: Starting Process Monitoring and Control Daemon... Aug 07 14:40:37 ip-172-.ap-northeast-1.compute.internal supervisord[18564]: Error: 'ascii' codec can't decode byte 0xe7 in position 112: ordinal not in range(128) Aug 07 14:40:37 ip-172-.ap-northeast-1.compute.internal supervisord[18564]: For help, use /usr/bin/supervisord -h Aug 07 14:40:37 ip-172-.ap-northeast-1.compute.internal systemd[1]: supervisord.service: Control process exited, code=exited status=2 Aug 07 14:40:37 ip-172-.ap-northeast-1.compute.internal systemd[1]: supervisord.service: Failed with result 'exit-code'. Aug 07 14:40:37 ip-172-.ap-northeast-1.compute.internal systemd[1]: Failed to start Process Monitoring and Control Daemon.

[root@ip-172-* supervisord.d]# cat /usr/lib/systemd/system/supervisord.service [Unit] Description=Process Monitoring and Control Daemon After=rc-local.service

[Service] Type=forking ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf RuntimeDirectory=supervisor RuntimeDirectoryMode=755

[Install] WantedBy=multi-user.target

mark2021blue commented 2 years ago

CentOS Linux release 8.2.2004 (Core)

mnaberez commented 2 years ago

This is the error message from supervisord:

/usr/bin/supervisord -c /etc/supervisord.conf

Error: 'ascii' codec can't decode byte 0xe7 in position 112: ordinal not in range(128) For help, use /usr/bin/supervisord -h

It seems to occur very early when supervisord tries to start. It may be caused by something in /etc/supervisord.conf. What are the contents of that file?