xmlrpc error

Hello all, I try to configure xmlrpc in my ejabberd server but the server doesnt seem to start after configuring xmlrpc. My ejabberd config is :

{listen,[
{{4560, "127.0.0.1"}, ejabberd_xmlrpc, [
    {access_commands, [
      %% This bot can only execute the command 'register',
      %% and if argument 'host' is provided, it must be "example.org":
      {xmlrpcaccess, [register], [{host, "myhost.com"}]}
    ]}
  ]},
//many modules here
]}.
{acl, xmlrpcbot, {user, "USER", "myhost.com"}}.
{access, xmlrpcaccess, [{allow, xmlrpcbot}]}.

and when I start service, I get the below log:

=INFO REPORT==== 2014-04-08 17:26:45 ===
    application: ejabberd
    exited: {bad_return,
             {{ejabberd_app,start,[normal,[]]},
              {'EXIT',
               {noproc,
                {gen_server,call,
                 [ejabberd_sup,
                  {start_child,
                   {ejabberd_odbc_sup_localhost,
                    {ejabberd_odbc_sup,start_link,["localhost"]},
                    transient,infinity,supervisor,
                    [ejabberd_odbc_sup]}},
                  infinity]}}}}}
    type: temporary

And If I comment out the whole xmlrpc block, the server starts fine. Any solution? Thanks

1. Whats your ejabberd

1. Whats your ejabberd version?
2. Try to simply load the ejabberd_xmlrpc without any parameters. Does the node start without errors?

digitaldude wrote: 1. Whats

digitaldude wrote:

1. Whats your ejabberd version?
2. Try to simply load the ejabberd_xmlrpc without any parameters. Does the node start without errors?

Hello,
Thanks for replying. ejabberd -version
Returns "Erlang beam emulator Version 5.9.1"
Will try running it with out parameters tomorrow as I'm not home now.

So I tried to run xmlrpc

So I tried to run xmlrpc without any arguments but it still failed. The only way I could run ejabberd is without xmlrpc. Any solutions?

EDIT: BTW, the ejabberd version is 2.1.10

I installed ejabberd 2.1.13,

I installed ejabberd 2.1.13, and modified the default configuration with your lines, then ejabberd started correctly.

It looks strange that the error mentions a problem calling the odbc process, because the lines you add/remove are not related to ODBC storage.

@vijai ,I was also facing the

@vijai ,I was also facing the same problem and solved it succesfully, i suggest you to go through below link:

http://stackoverflow.com/questions/22940797/error-while-starting-ejabber...

hopefull you will find solution !!!!

Devwrat Lad
Sentiinel Tech

Syndicate content