如果我使用supervisord -n
启动主管,则可以正常工作。但是,如果我尝试将其作为服务启动,则会弹出err。它无法生成conf中列出的进程。
如果输入超级用户,则具有在服务中注册的超级用户和进入的超级用户的交叉验证路径
如果是-sudo service supervisord start
Jun 07 08:56:40 ip-172-31-67-184 systemd[1]: Started Supervisor process control system for UNIX.
Jun 07 08:56:40 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:40,923 INFO Included extra file "/etc/supervisor/conf.d/demo.conf" during
Jun 07 08:56:40 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:40,924 INFO Set uid to user 1000 succeeded
Jun 07 08:56:40 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:40,932 INFO RPC interface 'supervisor' initialized
Jun 07 08:56:40 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:40,932 CRIT Server 'unix_http_server' running without any HTTP authentica
Jun 07 08:56:40 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:40,932 INFO supervisord started with pid 26617
Jun 07 08:56:41 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:41,934 INFO spawnerr: unknown error making dispatchers for 'go-server': E
Jun 07 08:56:42 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:42,935 INFO spawnerr: unknown error making dispatchers for 'go-server': E
Jun 07 08:56:44 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:44,938 INFO spawnerr: unknown error making dispatchers for 'go-server': E
Jun 07 08:56:44 ip-172-31-67-184 supervisord[26617]: 2019-06-07 08:56:44,938 INFO gave up: go-server entered FATAL state, too many start retrie
lines 1-20/20 (END)
以防万一,我们执行supervisord -n
就像魅力一样。
两者都应以类似的方式工作。