Running ejabberd without root

Hi

i compiled ejabberd withe the "jabber" user (a user i created before), and though the files are owned by him, i can't launch ejabberd with this user, but i can with root.

Here is the command line I use to launch ejabberd :
erl -s ejabberd -sname ejabberd (when i'm in the repertory where i compiled it).

Even if I use :
the erl -s ejabberd -name ejabberd -ejabberd config '\"ejabberd.cfg\"', i get a 'CRASH REPORT'
(see at http://pastebin.com/415381 for the entire log)

The beam process is still running, but not the server.
When i run it with the root, no problem.

I precise that the jabber user can execute the program 'erl'.

Thanks

keke

what the shame...
that's just that the Mnesia directory owned to root, because i started it first with root... sorry ;D

Syndicate content