ejabberd - Comments for "erlang crashes when starting ejabberd after adding a host in ejabberd.cfg" https://www.ejabberd.im/node/6937 en Hello folks, Just to let you https://www.ejabberd.im/node/6937#comment-59037 <p>Hello folks,</p> <p>Just to let you know that I found my mistake and I'm now up and running with the new node name.<br /> Basically, I forgot to make the corresponding change in the ejabberdctl script:</p> <p>[root@cp-linux1 ~]# which ejabberdctl<br /> /sbin/ejabberdctl<br /> [root@cp-linux1 ~]# vi /sbin/ejabberdctl<br /> Here I just need to change the value of the HOST variable (under the section # define default environment variables).</p> <p>After the above change I killed process beam and epmd. Then I deleted all the files in the database spool dir: //var/lib/ejabberd. Please be aware that if you delete those files, you will have to recreate all the registrations at the minimum. In my case, since I started from fresh and do not have any registrations, deleting the spool files has no detrimental effect.<br /> A new "ejabberdctl start/status" confirmed that the process is running under the new node name.</p> <p>What helped me was this post:<br /> <a href="http://www.ejabberd.im/node/3964" title="http://www.ejabberd.im/node/3964">http://www.ejabberd.im/node/3964</a></p> <p>Thank you all for the contribution. I learned a lot from reading the posts.</p> <p>Steve</p> Mon, 03 Sep 2012 18:22:16 +0000 sh2kus comment 59037 at https://www.ejabberd.im