ejabberd fails to load after apt-get update

Hello,

Yesterday an automated apt-get upgraded ejabberd from 2.1.11-1ubuntu2 to 2.1.11-1ubuntu2.1 (running on Ubuntu server 14.04)

Now, ejabberd fails to start. Trying to start it manually produces the following message:

================================================================================================

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

Eshell V5.10.4 (abort with ^G)
(ejabberd@Stormwind)1>
=ERROR REPORT==== 7-May-2014::09:23:02 ===
beam/beam_load.c(1050): Error loading module mnesia_schema:
form size 127560 greater than size 12280 of binary

=ERROR REPORT==== 7-May-2014::09:23:02 ===
Loading of /usr/lib/erlang/lib/mnesia-4.11/ebin/mnesia_schema.beam failed: badfile

=INFO REPORT==== 7-May-2014::09:23:02 ===
application: ejabberd
exited: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{undef,
[{mnesia_schema,ensure_no_schema,
[[ejabberd@Stormwind]],
[]},
{mnesia_bup,create_schema,1,
[{file,"mnesia_bup.erl"},{line,317}]},
{ejabberd_app,db_init,0,
[{file,"ejabberd_app.erl"},{line,150}]},
{ejabberd_app,start,2,
[{file,"ejabberd_app.erl"},{line,46}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,269}]}]}}}}
type: temporary

================================================================================================

Does anybody have any suggestions as to how to fix this, or what may be causing it? I assume it has something to do w/ mnesia, but that package hasn't been modified since installation, approx 3 weeks ago. Up until I upgraded ejabberd it was working smoothly. Any ideas?

Nevermind, fixed it. The fix

Nevermind, fixed it. The fix was to force re-install erlang-mnesia

apt-get install --reinstall erlang-mnesia

Feel free to delete this thread or leave it around if anybody else has the same problem, I don't see a place on here to delete. :)

What a useless

What a useless application.

I've never been to a program forum and saw so many glaring issues with zero supportive responses.

Why do you bother creating new software if it doesn't work.

I haven't found a single post of someone successfully installing on Ubuntu or Centos. All have the same errors and not a single response with helpful troubleshooting tips.

I've now done 4 new installs of Centos 6, Ubuntu 14, Ubuntu 12. None work.

ejabberd sucks, I'm using something else now.

Genuinely curious - what have

Genuinely curious - what have you selected to use?

Syndicate content