Jump to content

Lobby Server error.


gameboy
 Share

Recommended Posts

@fcxSanya  here add it ?
%%%   =======
%%%   MODULES
%%
%% Modules enabled in all ejabberd virtual hosts.
%%
{modules,
 [
  {mod_ipstamp, []}
  {mod_adhoc,    []},
  {mod_announce, [{access, announce}]}, % requires mod_adhoc
  {mod_caps,     []},
  {mod_configure,[]}, % requires mod_adhoc
  {mod_admin_extra, []},
  {mod_disco,    []},
 
Link to comment
Share on other sites

4 hours ago, gameboy said:
@fcxSanya  here add it ?

Yes, and then you need to restart ejabberd and check out the ejabberd log (/var/log/ejabberd/ejabberd.log), if you installed the module properly you should see something like:

=INFO REPORT==== 2017-06-14 09:08:27 ===
I(<0.42.0>:ejabberd_app:72) : ejabberd 2.1.11 is started in the node ejabberd@desktop

Otherwise there should be an error like:

=ERROR REPORT==== 2017-06-14 09:06:08 ===
C(<0.39.0>:gen_mod:75) : Problem starting the module mod_ipstamp for host "localhost" 
 options: []
 error: undef

=ERROR REPORT==== 2017-06-14 09:06:08 ===
C(<0.39.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.

 

Link to comment
Share on other sites

=INFO REPORT==== 2017-06-14 19:27:53 ===
I(<0.38.0>:mod_ipstamp:29) : mod_ipstamp starting
=ERROR REPORT==== 2017-06-14 19:27:53 ===
E(<0.302.0>:ejabberd_listener:512) : Failed to open socket:
  {7777,mod_proxy65_stream,[inet,{ip,{192,168,3,10}}]}
Reason: IP address not available: 192.168.3.10
=ERROR REPORT==== 2017-06-14 19:27:53 ===
C(<0.38.0>:gen_mod:75) : Problem starting the module mod_proxy65 for host "192.168.3.10"
 options: [{access,local},{shaper,c2s_shaper}]
 error: {error,
            {{eaddrnotavail,{7777,{192,168,3,10},tcp}},
             {child,undefined,
                 {7777,{192,168,3,10},tcp},
                 {ejabberd_listener,start,
                     [{7777,{192,168,3,10},tcp},
                      mod_proxy65_stream,
                      ["192.168.3.10",{access,local},{shaper,c2s_shaper}]]},
                 transient,brutal_kill,worker,
                 [ejabberd_listener]}}}
=ERROR REPORT==== 2017-06-14 19:27:53 ===
C(<0.38.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.
Edited by gameboy
Link to comment
Share on other sites

@fcxSanya I've got a whole new IP from the DHCP server, but that's still a problem. Please help me.
 
=ERROR REPORT==== 2017-06-18 14:42:57 ===
E(<0.428.0>:ejabberd_hooks:335) : {badarg,
                                   [{lists,keyfind,[ip,1,offline],[]},
                                    {mod_ipstamp,on_filter_packet,1,
                                     [{file,"mod_ipstamp.erl"},{line,50}]},
                                    {ejabberd_hooks,run_fold1,4,
                                     [{file,"ejabberd_hooks.erl"},{line,331}]},
                                    {ejabberd_router,do_route,3,
                                     [{file,"ejabberd_router.erl"},
                                      {line,315}]},
                                    {ejabberd_router,route,3,
                                     [{file,"ejabberd_router.erl"},{line,68}]},
                                    {ejabberd_c2s,session_established2,2,
                                     [{file,"ejabberd_c2s.erl"},{line,1112}]},
                                    {p1_fsm,handle_msg,10,
                                     [{file,"p1_fsm.erl"},{line,544}]},
                                    {proc_lib,init_p_do_apply,3,
                                     [{file,"proc_lib.erl"},{line,239}]}]}
running hook: {filter_packet,[]}
=INFO REPORT==== 2017-06-18 14:43:13 ===
I(<0.413.0>:ejabberd_c2s:1502) : ({socket_state,gen_tcp,#Port<0.3189>,<0.412.0>}) Close session for bbc@192.168.3.14/0ad

56.png

Edited by gameboy
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...