Skip to content

Module doesn't export mod_opt_type/1 #12

@rrigoni

Description

@rrigoni

I compiled the module from ejabberd source 15.07 and everything is ok.
But, the ejabberd fails to start and I get this log:

ejabberd_1 | 02:47:11.988 [warning] module 'mod_offline_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.988 [warning] module 'mod_offline_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.988 [info] Starting mod_offline_post
ejabberd_1 | 02:47:11.988 [warning] module 'mod_available_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.994 [warning] module 'mod_available_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.995 [info] Starting mod_available_post
ejabberd_1 | 02:47:12.001 [warning] module 'mod_unavailable_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:12.009 [warning] module 'mod_unavailable_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:12.015 [critical] Problem starting the module mod_unavailable_post for host <<"tribbeapp.com">>
ejabberd_1 | options: [{auth_token,<<"unavailable_post_auth_token">>},
ejabberd_1 | {post_url,<<"http://localhost:4567/unavailable_post">>}]
ejabberd_1 | error: undef
ejabberd_1 | [{mod_unavailable_post,start,
ejabberd_1 | [<<"tribbeapp.com">>,
ejabberd_1 | [{auth_token,<<"unavailable_post_auth_token">>},
ejabberd_1 | {post_url,<<"http://localhost:4567/unavailable_post">>}]],
ejabberd_1 | []},
ejabberd_1 | {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,99}]},
ejabberd_1 | {lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
ejabberd_1 | {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,72}]},
ejabberd_1 | {application_master,start_it_old,4,
ejabberd_1 | [{file,"application_master.erl"},{line,272}]}]
ejabberd_1 | 02:47:12.015 [critical] ejabberd initialization was aborted because a module start failed.
ejabberd_1 |
ejabberd_1 | Crash dump was written to: //var/log/ejabberd/erl_crash_20150906-024705.dump
ejabberd_1 | Problem starting the module mod_unavailable_post for host <<"tribbeapp.com">>
ejabberd_1 | options: [{auth_token,<<"unavailable_post_auth_token">>},
ejabberd_1 | {post_url,<<"http://localhost:4567/unavailable_pos

Any suggestion of how I can get it fixed?
Kind regards.

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