Skip to content

ejabberd 14.05 - ejabberd initialization was aborted because a module start failed. #5

@igama

Description

@igama
  • Installed ejabberd 14.05 with ejabberd-14.05-linux-x86_64-installer.run
  • Updated Emakefile with the new paths :
    {'src/mod_offline_post', [{outdir, "ebin"},{i,"/opt/ejabberd/lib/ejabberd-14.05/include"}]}.
    {'src/mod_available_post', [{outdir, "ebin"},{i,"/opt/ejabberd/lib/ejabberd-14.05/include"}]}.
    {'src/mod_unavailable_post', [{outdir, "ebin"},{i,"/opt/ejabberd/lib/ejabberd-14.05/include"}]}.
  • Build process no errors:
ejabberd@external:~/mod_interact$ /build.sh
Recompile: src/mod_offline_post
Recompile: src/mod_available_post
Recompile: src/mod_unavailable_post

in ejabberd.yml

  mod_offline_post:
    auth_token: "offline_post_auth_token"
    post_url: "http://localhost:4567/offline_post"

running ejabberdctl live

12:50:51.700 [critical] Problem starting the module mod_offline_post for host <<"example.org">>
 options: [{auth_token,<<"offline_post_auth_token">>},
           {post_url,<<"http://localhost:4567/offline_post">>}]
 error: undef
[{p1_logger,info_msg,[mod_offline_post,45,"Starting mod_offline_post",[]],[]},
 {mod_offline_post,start,2,[{file,"src/mod_offline_post.erl"},{line,45}]},
 {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,69}]},
 {lists,foreach,2,[{file,"lists.erl"},{line,1323}]},
 {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,66}]},
 {application_master,start_it_old,4,
                     [{file,"application_master.erl"},{line,269}]}]
12:50:51.700 [critical] ejabberd initialization was aborted because a module start failed.

Crash dump was written to: /opt/ejabberd/logs/erl_crash_20140624-125049.dump
Problem starting the module mod_offline_post for host <<"example.org">>
 options: [{auth_token,<<"offline_post_auth_token">>},
           {post_url,<<"http://localhost:4567/offline_post">>}]
 error: un

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions