ejabberd - Comments for "CRASH REPORT Process with 0 neighbours crashed" https://www.ejabberd.im/forum/28646/crash-report-process-0-neighbours-crashed en You can also try: $ https://www.ejabberd.im/forum/28646/crash-report-process-0-neighbours-crashed#comment-67258 <p>You can also try:</p> <pre> $ ejabberdctl status The node ejabberd@localhost is started with status: started ejabberd 16.12.12 is running in that node </pre><p>And also the less detailed:</p> <pre> $ epmd -names epmd: up and running on port 4369 with data: name ejabberd at port 38074 </pre> Fri, 06 Jan 2017 13:03:32 +0000 badlop comment 67258 at https://www.ejabberd.im thanks. in order to keep https://www.ejabberd.im/forum/28646/crash-report-process-0-neighbours-crashed#comment-67257 <p>thanks.<br /> in order to keep ejabbed running, I've tried to run script that keeps checking ejabberd service status in order to run it when it stops, but the problem was that when you want to test ejabberd status using(service ejabberd status) thes output appears</p> <p>Starting ejabberd...<br /> Attempting to create directory /opt/ejabberd-16.01/perl5<br /> Unable to create /opt/ejabberd-16.01/perl5: Permission denied at /usr/local/share/perl5/local/lib.pm line 678.<br /> BEGIN failed--compilation aborted.<br /> ERROR: The ejabberd node 'ejabberd@localhost' is already running.</p> <p>so how to solve this issue ?</p> <p>thanks for your rapid reply :)</p> Thu, 05 Jan 2017 20:17:46 +0000 joe1987 comment 67257 at https://www.ejabberd.im Check in the listen section, https://www.ejabberd.im/forum/28646/crash-report-process-0-neighbours-crashed#comment-67256 <p>Check in the listen section, the ejabberd_http service, what you have nabled but not used, like http_bind, websocket or register:</p> <pre> - port: 5280 module: ejabberd_http request_handlers: "/websocket": ejabberd_http_ws ## "/pub/archive": mod_http_fileserver web_admin: true http_bind: true register: true captcha: true </pre><p> In my case the crash dumps are left in the same place that the ejabberd logs.</p> Thu, 05 Jan 2017 18:06:44 +0000 badlop comment 67256 at https://www.ejabberd.im actually /this problem was https://www.ejabberd.im/forum/28646/crash-report-process-0-neighbours-crashed#comment-67252 <p>actually /this problem was repeated 4 times with the same error message before I decide to ask </p> <p>if the first point was the real reason, then how to block web clients, is it possible to block it ?</p> <p>When ejabberd crashed, did it provide an erland crash dump file (a binary file)?<br /> where is the default lication of dumped files? in order to check it</p> <p>thanks</p> Tue, 03 Jan 2017 07:00:56 +0000 joe1987 comment 67252 at https://www.ejabberd.im That code parses an HTTP https://www.ejabberd.im/forum/28646/crash-report-process-0-neighbours-crashed#comment-67249 <p>That code parses an HTTP query sent by some web client, or a BOSH Jabber client, etc.</p> <p>Just quickly thinking, I see three possibilities:<br /> 1. A client found a bug in ejabberd, a very rare bug that crashes all the server. Usually bugs simply close the client connection, not all the server.</p> <p>2. An attacker found a way to crash ejabberd, by sending some malformed or problematic HTTP query.</p> <p>3. That error line is not related to the problem, it's just a coincidence. If ejabberd stops more times, and that line is also present at the end of the log, then go to 1. or 2.</p> <p>When ejabberd crashed, did it provide an erland crash dump file (a binary file)?</p> Tue, 03 Jan 2017 00:54:07 +0000 badlop comment 67249 at https://www.ejabberd.im