erlang, port_control,

Error

I have installed or updated ejabberd or updated Erlang, and I get this error when I try to start it:

=INFO REPORT==== 27-Aug-2007::12:54:26 ===
    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {badarg,
                         [{erlang,
                              port_control,
                              [stringprep_port,1,"jabber.example.org"]},
                          {stringprep,control,2},
                          {jlib,nameprep,1},
                          {ejabberd_auth,auth_modules,1},
                          {ejabberd_auth,'-start/0-fun-1-',1},
                          {lists,foreach,2},
                          {ejabberd_app,start,2},
                          {application_master,start_it_old,4}]}}}}
    type: temporary

Explanation

There are two probable reasons:

  • You have two different versions of Erlang/OTP installed.
  • Or you are trying to run ejabberd using an Erlang/OTP system too newer or too older than the version used to compile your ejabberd.

If you didn't update ejabberd or Erlang, but you updated ejabberd configuration, maybe your problem is this one: duplicate_child_name.

Solution

Make sure you only have an Erlang/OTP installed. Check you don't have directories with old Erlang libraries. Also, try to recompile ejabberd using the Erlang/OTP version you have currently installed.

Syndicate content