Friday, 4 September 2015

Ejabberd is not running in that node error

Hi, I'm trying to configure ejabberd without success.
Service is running at Debian Sid and when i type: # ejabberdctl register willian 123456
I get the output:

The node 'ejabberd@willian-notebook' is started with status: started
ejabberd is not running in that node
Check for error messages: ejabberd.log
or other files in that directory.
Error in ejabberd ctl process: 'error' badarg

LOGS
cat /var/log/ejabberd/ejabberd.log

C(<0.192.0>:ejabberd_captcha:331) : The option captcha_cmd is not configured, but some module wants to use the CAPTCHA feature.
=ERROR REPORT==== 2010-04-22 15:04:50 ===
E(<0.467.0>:ejabberd_listener:463) : Failed to open socket:
  {5222,ejabberd_c2s,[inet,{ip,{0,0,0,0}}]}
Reason: IP address and port number already used: 0.0.0.0 5222

    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {{eaddrinuse,{5222,{0,0,0,0},tcp}},
                  {child,undefined,
                      {5222,{0,0,0,0},tcp},
                      {ejabberd_listener,start,
                          [{5222,{0,0,0,0},tcp},
                           ejabberd_c2s,
                           [{access,c2s},
                            {shaper,c2s_shaper},
                            {max_stanza_size,65536},
                            starttls,
                            {certfile,"/etc/ejabberd/ejabberd.pem"}]]},
                      transient,brutal_kill,worker,
                      [ejabberd_listener]}}}}





Solution :



    I have encounter same problem many times. after some times i analysis that

 first run this command

ejabberdctl register admin localhost password

 
then configure ejabberd.cfg file
 
 ,so i remove the ejabberd from linux. and install again but my problem comes again.
 
after try 2-3 times i used purge( see what is difference between purge and remove )command for remove ejabberd and insall again and follow these 
 
tutorial . and it works 
 
 
 

 



No comments:

Post a Comment