Gentoo + Ejabberd

Howdy,

I'm trying to get Ejabberd to run on a Gentoo machine.

I installed ejabber from ports.

Quote:

box ejabberd # equery uses ejabberd
[ Searching for packages matching ejabberd... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-im/ejabberd-0.7.5 ]
U I
+ + mod_pubsub : Pubsub support in ejabberd
+ + mod_irc : Irc support in ejabberd
+ + mod_muc : Multi user chat support in ejabberd
- - ldap : Adds LDAP support (Lightweight Directory Access Protocol)
+ + web : Web support in ejabberd
+ + ssl : Adds support for Secure Socket Layer connections
box ejabberd #

I have OpenSSL installed and erlang-10.2.10 (also from ports).

Quote:

box ejabberd # /etc/init.d/ejabberd start
* Starting eJabberd ... [ !! ]
box ejabberd #

Nothing in the logs that could be of any assistance. I'll start it from the command line and see..

Quote:

box ejabberd # ejabberd
Erlang (BEAM) emulator version 5.4.13 [64-bit] [source] [hipe] [threads:0]

Eshell V5.4.13 (abort with ^G)
(ejabberd@hamilton)1>
=INFO REPORT==== 17-Apr-2006::15:47:43 ===
application: ejabberd
exited: "invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT',\n {{badmatch,{aborted,{no_exists,acl}}},\n [{ejabberd_config,set_opts,1},\n {ejabberd_app,start,2},\n {application_master,start_it_old,4}]}}"
type: temporary

Does anybody know how I can fix this? I can't read that error message too well.
Thanks in advance.

Check write access on Mnesia spool dir

It seems ejabberd was not started because 'acl' database table does not exist. The first time you start ejabberd, the Mnesia database tables are created automatically. Maybe ejabberd could not create 'acl' (and probably any of them) for some reason.

Is the Mnesia spool directory writable by the system user that runs ejabberd? Check this page too.

Syndicate content