سؤال

لقد قمت بتكوين (الافتراضي تقريبا) Supervisord.conf وبدأ المشرف. المهام التي تم إطلاقها واجهات xmlrpc تصل، ولكنxmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> على طلب Evey XMLRPC، حتى عند إطلاق 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
هل كانت مفيدة؟

المحلول

أظن أنك أزلت هذه الخطوط من ملف configisord.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