Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /webData/hua/www.ascwh.com/var/Typecho/Feed.php on line 221
ASCWH - supervisord https://ascwh.com/tag/supervisord/ supervisor unix:///tmp/supervisor.sock no such file 问题 https://ascwh.com/400.html 2022-07-21T15:29:34+08:00 1、打开配置文件vim /etc/supervisord.conf这里把所有的 /tmp 路径改掉/tmp/supervisor.sock 改成 /var/run/supervisor.sock/tmp/supervisord.log 改成/var/log/supervisor.log/tmp/supervisord.pid 改成 /var/run/supervisor.pid要不容易被 linux 自动清掉2、修改权限sudo chmod 777 /run sudo chmod 777 /var/log 如果没改,启动报错 IOError: [Errno 13] Permission denied: '/var/log/supervisord.log'3、创建 supervisor.socksudo touch /var/run/supervisor.sock sudo chmod 777 /var/run/supervisor.sock4、启动supervisord,启动之前的实例或杀死进程