Hi, everybody,
I've just installed ejabberd-2.0 on a Gentoo machine, hoping to play around with it for a while. I've configured the server and it starts without errors, but I cannot use ejabberdctl to create an user. I get the following:
newguy jabber # ejabberdctl {error_logger,{{2008,4,9},{16,45,9}},"inet_config: file ~s not found~n",["/usr/etc/ejabberd/inetrc"]} =ERROR REPORT==== 9-Apr-2008::16:45:09 === inet_config: file /usr/etc/ejabberd/inetrc not found RPC failed on the node ejabberd@localhost: 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: /usr/etc/ejabberd/ejabberd.cfg --ctl-config file Config file of ejabberdctl: /usr/etc/ejabberd/ejabberdctl.cfg --logs dir Directory for logs: /usr/var/log/ejabberd/ --spool dir Database spool dir: /usr/var/lib/ejabberd/db/ejabberd
The ejabberd log says the following:
=ERROR REPORT==== 2008-04-09 16:45:09 === ** Connection attempt from disallowed node ejabberdctl@localhost **
Am I missing something?
Thanks,
Vlad
ejabberd ebuild for 2.0
ejabberd ebuild for 2.0 broken, ejabberd started by old /usr/bin/ejabberd, but by default command 'ejabberctl' run new version of script - /usr/sbin/ejabberdctl. you need run old version:
/usr/bin/ejabberdctl ejabberd@nodename
where nodename = 'hostname -s'
fixed
bug #207586
http://bugs.gentoo.org/show_bug.cgi?id=207586
------- Comment #18 From Caleb Tennis 2008-04-13 12:22:14 0000 [reply] -------
I committed these versions into portage. Please try them out and let me know
if I missed something or more changes are needed.
so, emerge --sync & emerge ejabberd