문제

(거의 기본값) Supervisord.conf를 구성하고 Supervisord를 시작했습니다. 실행 된 작업 및 XMLRPC 인터페이스가 UP이지만xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> SupervisorCTL 자체를 시작할 때에도 evey xmlrpc 요청에.

로그에는 동일한 메시지가 있습니다.

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 config 파일 에서이 라인을 제거한 것으로 보입니다.

; 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