Domanda

Ho configurato (quasi default) supervisord.conf e ha iniziato supervisord. Compiti lanciati e le interfacce XMLRPC sono in su, ma dà xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> su richiesta Evey XMLRPC, anche quando il lancio supervisorctl stesso.

C'è un stesso messaggio nel registro:

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
È stato utile?

Soluzione

Ho il sospetto è stato rimosso queste righe dal file di configurazione 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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top