Client login error -- Impossible to list registered users

Hi, I've installed ejabberd (debian wheezy, x86, hosted by vmware), I can access admin web page.

I added some users using "ejabberdctl register" command. But, when I try to connect from jitsi client on windows, I got an connection error.

If i run the command "ejabberdctl registered_users", i got this error :

Problem 'error {case_clause,
                   {'EXIT',
                       {function_clause,
                           [{lists,zip,
                                [[{host,string}],[]],
                                [{file,"lists.erl"},{line,321}]},
                            {ejabberd_ctl,format_args,2,
                                [{file,"ejabberd_ctl.erl"},{line,319}]},
                            {ejabberd_ctl,call_command,3,
                                [{file,"ejabberd_ctl.erl"},{line,290}]},
                            {ejabberd_ctl,try_call_command,3,
                                [{file,"ejabberd_ctl.erl"},{line,269}]},
                            {ejabberd_ctl,process2,3,
                                [{file,"ejabberd_ctl.erl"},{line,215}]},
                            {ejabberd_ctl,process,1,
                                [{file,"ejabberd_ctl.erl"},{line,200}]},
                            {rpc,'-handle_call_call/6-fun-0-',5,
                                [{file,"rpc.erl"},{line,203}]}]}}}' occurred executing the command.
Stacktrace: [{ejabberd_ctl,call_command,3,
                           [{file,"ejabberd_ctl.erl"},{line,290}]},
             {ejabberd_ctl,try_call_command,3,
                           [{file,"ejabberd_ctl.erl"},{line,269}]},
             {ejabberd_ctl,process2,3,[{file,"ejabberd_ctl.erl"},{line,215}]},
             {ejabberd_ctl,process,1,[{file,"ejabberd_ctl.erl"},{line,200}]},
             {rpc,'-handle_call_call/6-fun-0-',5,
                  [{file,"rpc.erl"},{line,203}]}]

Thanks for your help :)

Strange. If you run the

Strange. If you run the command without arguments, you should get an error explanation:

$ ejabberdctl registered_users

Error: the command "registered_users" requires 1 more argument.

  Command Name: registered_users

  Arguments: host::binary
             
  Returns: users::[ username::string ]

  Tags:  accounts

  Description:  List all registered users in HOST

  Note: This command cannot be executed using ejabberdctl. Try ejabberd_xmlrpc.

Error: the command "registered_users" requires 1 more argument.

$ ejabberdctl registered_users localhost
user1
user5
Syndicate content