Hello, I just installed ejabberd 2.0.5 in a red hat 5 based distribution, and I'm having some problems that I didn't have before while doing the same operations in Ubuntu.
Basically, I get the RPC failed on the node mydomain: nodedown all the time. If I try to start the server there is no problem (so far I checked the logs and they seem to be ok), but if I try to stop it or just to create a user I get the same error:
/etc/init.d/ejabberd start
Starting ejabberd: [ OK ]
[root@pcuds72 /]# /etc/init.d/ejabberd stop
Shutting down ejabberd: RPC failed on the node ejabberd@pcuds72: nodedown
Commands to start an ejabberd node:
start Start an ejabberd node in server mode
debug Attach an interactive Erlang shell to a running ejabberd node
live Start an ejabberd node in live (interactive) mode
Optional parameters when starting an ejabberd node:
--config file Config file of ejabberd: /etc/ejabberd/ejabberd.cfg
--ctl-config file Config file of ejabberdctl: /etc/ejabberd/ejabberdctl.cfg
--logs dir Directory for logs: /var/log/ejabberd/
--spool dir Database spool dir: /var/lib/ejabberd/spool
--node nodename ejabberd node name: ejabberd@pcuds72
[FAILED]
Any ideas?
Thanks!
New info, I removed ejabberd
New info, I removed ejabberd and installed it again, using the default configuration file. Even though I have the very same problem...
Maybe a problem in the RedHat package?
So, you installed ejabberd 2.0.5 from Ubuntu packages and all worked. But now you install ejabberd 2.0.5 from Redhat5 packages and ejabberdctl doesn't work. Maybe that RedHat package doesn't install ejabberd correctly.
It looks pretty much like
It looks pretty much like that. In the end I tried just to download the code and compile it, and this way it worked. I guess there was some issue with that package!