Problem starting the module mod_adhoc

I've compiled 2.1.6, installed and copied «var» stuff from my previous server which is 2.1.5 (paths are same /opt/ejabberd). ejabberdctl can't start server writing this to ejabberd.log:

=ERROR REPORT==== 2011-02-16 17:42:19 ===
E(<0.37.0>:gen_mod:73) : Problem starting the module mod_adhoc for host "mymcomm.net" with options:
  []
  exit: {noproc,
            {gen_server,call,
                [ejabberd_iq_sup,
                 {start_child,["mymcomm.net",mod_adhoc,process_local_iq]},
                 infinity]}}

=INFO REPORT==== 2011-02-16 17:42:19 ===
    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {noproc,
                         {gen_server,call,
                             [ejabberd_iq_sup,
                              {start_child,
                                  ["mymcomm.net",mod_adhoc,process_local_iq]},
                              infinity]}}}}}
    type: temporary

Could this be an interference from system-installed 2.1.3 from freebsd ports or something like that? I had to allow access for reading /usr/local/lib/ejabberd at compile-time which is weird.

Unfortunately the bug report

Unfortunately the bug report doesn't indicate me the exact error problem.

Try to start ejabberd with default config files and empty Mnesia spool dir.
If that works, then copy your old config files.
If that works, then copy your old Mnesia spool dir.
If that works, then copy anything else you had in /var
If that works, then you solved the problem without knowing it.

Problem starting the module mod_adhoc

i got the same error after i try to install this module https://svn.process-one.net/ejabberd-modules/ejabberd_xmlrpc/trunk/READM...
any ideas?

I don't install this module.

I don't install this module.

I ran into a similar problem

I ran into a similar problem that was caused by using one version of erlang to compile ejabberd, but a different version to actually run it. This was version 2.1.9 that I got from http://www.process-one.net/en/ejabberd/downloads. I used the Linux x86 installer package that included a copy of the erlang VM.

The copy of beam that was running ejabberd had the following info:

Erlang (BEAM) emulator version 5.6.4
Compiled on Wed Oct 8 15:34:26 2008

But if I ran erl from the command line I got the following info:

Erlang (BEAM) emulator version 5.8.5
Compiled on Sun Nov 20 03:34:05 2011

When I downloaded the source only version of 2.1.10, I was able to compile and start up ejabberd without a problem.

In my situation I was creating a mod so one additional hint was a line in the logfile stating that I was trying to use opcodes that the emulator does not support.

I use standard config

I use standard config file.

How can i remove all ejabberd from my computer and them reinstalling it?

Syndicate content