badarg, [{erlang, register

Error

=ERROR REPORT==== 11-Nov-2004::19:08:02 ===
E(<0.38.0>:gen_mod:43): {badarg,[{erlang,
                                     register,
                                     [ejabberd_mod_muc,<0.256.0>]},
                                 {mod_muc,start,1},
                                 {gen_mod,start_module,2},
                                 {lists,foreach,2},
                                 {ejabberd_app,start,2},
                                 {application_master,start_it_old,4}]}

Explanation

You have a module defined twice in the modules section of your ejabbed.cfg configuration file. You can only define a module once.

Solution

Check your ejabberd.cfg file. In our example:

  {mod_disco,     []},
  {mod_muc,       []},
  {mod_stats,     []},
  {mod_muc,       [{access, muc},
		   {access_create, muc},
		   {access_admin, muc_admin}]},

We must remove one declaration of mod_muc:

  {mod_disco,     []},
  {mod_stats,     []},
  {mod_muc,       [{access, muc},
		   {access_create, muc},
		   {access_admin, muc_admin}]},
Syndicate content