5

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 /RPC2 HTTP/1.1" 200 391
Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
wiz
  • 499
  • 4
  • 17

1 Answers1

11

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
Chris McDonough
  • 2,479
  • 18
  • 18
  • this works. i was writing config entirely from scratch and didn't knew about this section. thanks. – wiz Nov 12 '09 at 13:42