开发者

Supervisord RPC - UNKNOWN_METHOD on any request

开发者 https://www.devze.com 2022-12-11 06:38 出处:网络
I\'ve configured (almost default) supervisord.conf and started supervisord. Tasks launched and xmlrpc interfaces are up, but gives

I've configured (almost default) supervisord.conf and started supervisord. Tasks launched and xmlrpc interfaces are up, but gives xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> on evey xmlrpc request, even when launching supervisorctl itself.

There is a same message in the log:

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 /R开发者_开发知识库PC2 HTTP/1.1" 200 391


I suspect you removed these lines from the supervisord.conf config file:

; 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
0

精彩评论

暂无评论...
验证码 换一张
取 消