Fails out of the box.

I am on Linux Mint 17 and Ubuntu based distro.

Ran the Ubuntu guide which basically is: apt-get install ejabberd

Then did the following minimal edits in the ejabberd.cfg per the docs that I can find. Then it is suppose to work.

Here are the edits I made, did not touch anything else:

57 %% Admin user
58 {acl, admin, {user, "admin", "Momentive"}}.
59
60 %% Hostname
61 {hosts, ["Momentive"]}.

Where I want my people to enter Momentive as an internal ip address, this is not connected to the internet.

I cannot get it started, it will not even make a log entry.

ejabberdctl start
Failed RPC connection to the node ejabberd@Momentive: nodedown

There is no entry in the /var/log/ejabberd/ejabberd.log, unless I do the following that someone in an online question site suggested:

ejabberd zap
Erlang R16B03 (erts-5.10.4) [source] [async-threads:10] [kernel-poll:false]

Eshell V5.10.4  (abort with ^G)
(ejabberd@Momentive)1>
=ERROR REPORT==== 16-Feb-2015::20:23:24 ===
E(<0.41.0>:ejabberd_config:554) : Error reading Mnesia database spool files:
The Mnesia database couldn't read the spool file for the table 'config'.
ejabberd needs read and write access in the directory:
   /var/lib/ejabberd
Maybe the problem is a change in the computer hostname,
or a change in the Erlang node name, which is currently:
   ejabberd@Momentive
Check the ejabberd guide for details about changing the
computer hostname or Erlang node name.

=INFO REPORT==== 16-Feb-2015::20:23:24 ===
    application: ejabberd
    exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
                         {'EXIT',"Error reading Mnesia database"}}}
    type: temporary

BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution

That ends up on the screen and in the log. What is mnesia, how do I get it setup?

What other problems are there here? None of the guides indicate there should be any problems.

Thanx

Bodger

Mint 17 has a horribly

Mint 17 has a horribly outdated ejabberd, 2.1.xxx

Download manually from the main site or use a PPA, https://launchpad.net/ubuntu/+source/ejabberd seems fine

Syndicate content