[ejabberd] error while creating admin user

Gabriel Rossetti gabriel.rossetti at arimaz.com
Tue Jan 5 13:02:11 MSK 2010


Hi, sorry for the reply being late, I was on vacation :-).

That may be it, I have to re-build my server before I can test it, I'll 
keep you up to date, thanks

Kirill Bychkov wrote:
> if your ejabberd runs from "ejabberd" user, you must run ejabberdctl 
> from "ejabberd" too.
>
> #su ejabberd -c "ejabberdctl"
>
> 2009/12/23 Augustine Ike <augustineike at gmail.com 
> <mailto:augustineike at gmail.com>>
>
>     Hi,
>        I ran this on Debian Etch, Debian Lenny and Ubuntu without any
>     problems. Note the following:
>     [1] Debian and Ubuntu have their preferred methods and you MUST use
>     them to avoid
>         problems in the future. Check these sites
>         a.
>     http://sysmonblog.co.uk/2008/06/ot-installing-ejabberd-on-debian-ubuntu.html
>         b. http://www.ejabberd.im/tuto-install-ejabberd
>     [2] Before doing this, please, uninstall what you currently have and
>     re-install using the
>         recommended methods from the site.
>         [1] sudo apt-get remove --purge ejabberd
>         [2] if you compiled from source, cd to it and type
>              ./uninstall
>         [3] NOTE: Delete all ejabberd directories to clean up.
>     [3] Finally, check your configuration in /etc/ejabberd/ejabberd.cfg
>     for every entry.
>         well over 65% of my errors were a result of syntax errors in the
>     config files.
>         when this is resolved, it works great.
>     [4] If you are installing from source, make sure you have the full
>     erlang libraries installed.
>         This helped me during my deployment.
>         sudo apt-get install erlang.
>     Hope this helps.
>
>     Augustine
>
>     On Mon, Dec 21, 2009 at 12:17 PM, Konstantin Khomoutov
>     <flatworm at users.sourceforge.net
>     <mailto:flatworm at users.sourceforge.net>> wrote:
>     > On Mon, 21 Dec 2009 17:52:10 +0100
>     > Gabriel Rossetti <gabriel.rossetti at arimaz.com
>     <mailto:gabriel.rossetti at arimaz.com>> wrote:
>     >
>     >> >> ~# ejabberdctl register admin test.com <http://test.com> 12345
>     >> >> RPC failed on the node ejabberd at srv1: {'EXIT',
>     >> >>                                        {badarg,
>     >> >>                                         [{erlang,port_control,
>     >> >>                                          
>     [stringprep_port,1,"test.com <http://test.com>"]},
>     >> >>                                          {stringprep,control,2},
>     >> >>                                          {jlib,nameprep,1},
>     >> >>                                        
>      {ejabberd_auth,auth_modules,1},
>     >> >>                                        
>      {ejabberd_auth,is_user_exists,2},
>     >> >>                                        
>      {ejabberd_auth,try_register,3},
>     >> >>                                        
>      {ejabberd_ctl,process,1},
>     >> >>                                        
>      {rpc,'-handle_call/3-fun-0-',5}]}}
>     >> >>
>     >> >> The logs don't contain anything more, I am using version
>     2.0.1-2 and I
>     >> >> checked to make sure ejabberd was running.
>     >> >> Does anyone know what is wrong?
>     >> >>
>     >> >
>     >> > Looks like this one:
>     http://www.ejabberd.im/node/3698#comment-54762
>     >> >
>     >> >
>     >> Hmmm, strange because I have another server with "Erlang R13B01
>     >> (erts-5.7.2) [source] [smp:2:2] [rq:2] [async-threads:0]
>     >> [kernel-poll:false]" and ejabberd 2.0.5-1.1 and it works great,
>     maybe
>     >> the ubuntu team applied the patch though. I will keep on searching,
>     >> thank you.
>     >
>     > This problem has nothing to do with the version of Erlang runtime;
>     > it looks like a failure to load a shared library written in C which
>     > implements STRINGPREP Unicode profile support for ejabberd.
>     > I might be wrong, of course, but I've seen this several times
>     > (mostly from Gentoo and other source-based distros), and the
>     forum posts
>     > I gave links to suggest the same.
>     >
>     > P.S.
>     > I doubt Ubuntu team applied anything, as ejabberd in Ubuntu
>     seems to be
>     > unmaintained, and hence they just copy packages from Debian, and
>     there
>     > ejabberd does not have such problem.
>     >
>     > Also your setup now appears to be a bit weird to me: at the time
>     Debian
>     > packaged ejabberd 2.0.1, there were no R13 Erlang/OTP release yet.
>     > Did you really mean you're using ejabberd 2.1.0-2 Ubuntu package?
>     > _______________________________________________
>     > ejabberd mailing list
>     > ejabberd at jabber.ru <mailto:ejabberd at jabber.ru>
>     > http://lists.jabber.ru/mailman/listinfo/ejabberd
>     >
>     _______________________________________________
>     ejabberd mailing list
>     ejabberd at jabber.ru <mailto:ejabberd at jabber.ru>
>     http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
>
>
> -- 
> С уважением, Кирилл.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>   


More information about the ejabberd mailing list