我已配置(几乎默认)supervisord.conf并开始supervisord。任务发布和XML-RPC接口都在涨,但给 上埃维XMLRPC请求xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'>,即使发动supervisorctl本身时。

有是在日志中相同的消息:

TRAC XML-RPC method called: supervisor.getAllProcessInfo()
TRAC XML-RPC method supervisor.getAllProcessInfo() returned fault: [1] UNKNOWN_METHOD
TRAC 127.0.0.1:44458 - - [11/Nov/2009:09:51:02 +0300] "POST /RPC2 HTTP/1.1" 200 391
有帮助吗?

解决方案

我怀疑你删除从supervisord.conf配置文件这些行:

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top