Erlang version 18.0 and ejabberd nodename conflict -


i wanted install latest ejabberd https://github.com/processone/ejabberd. this, erlang/otp 18 required. too, have manually installed https://github.com/erlang/otp. then, need start ejabberd server command ejabberdctl start. there error in that. mnesia node name akash@akash-latitude-3450 , ejabberd nodename akash@localhost. due this, server not getting started. how resolve conflict ?

log ->

2016-01-07 18:38:20.410 [critical] <0.39.0>@ejabberd_app:db_init:125 node name mismatch: i'm [ejabberd@localhost], database owned ['ejabberd@akash-latitude-3450']

2016-01-07 18:38:20.410 [critical] <0.39.0>@ejabberd_app:db_init:127 either set erlang_node in ejabberdctl.cfg or change node name in mnesia

2016-01-07 18:38:20.410 [error] <0.38.0> crash report process <0.38.0> 0 neighbours exited reason: node_name_mismatch in ejabberd_app:db_init/0 line 129 in application_master:init/4 line 134

you have 2 options:

  1. name erlang node name matching mnesia database when start ejabberd. suggested error message, can changed in var erlang_node in ejabberdctl.cfg.
  2. backup mnesia database starting node under old name, fresh install , restore data node started new name.

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -