ejabberd - Comments for "Startup fails: crypto_server_table port message." https://www.ejabberd.im/node/1080 en crypto_serv crashes https://www.ejabberd.im/node/1080#comment-5075 <p>Though it works quite well with ejabberd-1.1.2</p> Sun, 27 May 2007 12:42:33 +0000 Ygrex comment 5075 at https://www.ejabberd.im crypto_server https://www.ejabberd.im/node/1080#comment-5071 <p>I have right a problem described above:</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>=PROGRESS REPORT==== 26-May-2007::11:19:40 ===<br /> application: mnesia<br /> started_at: ejabberd@localhost</p> <p>=PROGRESS REPORT==== 26-May-2007::11:19:41 ===<br /> supervisor: {local,crypto_sup}<br /> started: [{pid,&lt;0.192.0&gt;},<br /> {name,crypto_server},<br /> {mfa,{crypto_server,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=CRASH REPORT==== 26-May-2007::11:19:41 ===<br /> crasher:<br /> pid: &lt;0.192.0&gt;<br /> registered_name: crypto_server<br /> error_info: {port_died,normal}<br /> initial_call: {gen,init_it,<br /> [gen_server,<br /> &lt;0.191.0&gt;,<br /> &lt;0.191.0&gt;,<br /> {local,crypto_server},<br /> crypto_server,<br /> [],<br /> []]}<br /> ancestors: [crypto_sup,&lt;0.190.0&gt;]<br /> messages: []<br /> links: [&lt;0.191.0&gt;]<br /> dictionary: []<br /> trap_exit: true<br /> status: running<br /> heap_size: 987<br /> stack_size: 21<br /> reductions: 691<br /> neighbours: </p></div> <p>Therefore nobody can log in, though one can register. Apps:<br /> ejabberd-1.1.3<br /> otp_src_R11B-4</p> Sat, 26 May 2007 07:44:39 +0000 Ygrex comment 5071 at https://www.ejabberd.im here: https://www.ejabberd.im/node/1080#comment-2827 <p>here: <noindex><a href="https://launchpad.net/ubuntu/+source/erlang/+bug/68163" title="https://launchpad.net/ubuntu/+source/erlang/+bug/68163" rel="nofollow" >https://launchpad.net/ubuntu/+source/erlang/+bug/68163</a></noindex> comment from p2k tells exactely what to do ;)</p> <p>I've taken packages sources from ubuntu repository (apt-get source erlang-base), added "-fno-stack-protector" to CFLAGS in debian/rules file and recompiled the package (dpkg-buildpackage). Install packages erlang-base and erlang-nox and then install ejabberd. Should work. </p> <p>To prevent automatic update of these two packages you could do something like this:</p> <pre>echo "erlang-base hold" | dpkg --set-selections echo "erlang-nox hold" | dpkg --set-selections</pre><p> works for me :) good luck!</p> Mon, 08 Jan 2007 19:19:40 +0000 koniczynek comment 2827 at https://www.ejabberd.im Thanks! I will see whether https://www.ejabberd.im/node/1080#comment-2318 <p>You got it in one. Erlang R10 fixes the problem. THANK YOU!</p> Sun, 24 Sep 2006 13:32:02 +0000 seebs comment 2318 at https://www.ejabberd.im Can you try with Erlang R10 https://www.ejabberd.im/node/1080#comment-2317 <p>Can you try with Erlang R10 instead of R11? R11 is a relative new Erlang release that is not yet so well tested with ejabberd.</p> <p>--<br /> sander</p> Sun, 24 Sep 2006 08:27:19 +0000 sander comment 2317 at https://www.ejabberd.im I found more information. https://www.ejabberd.im/node/1080#comment-2316 <p>I found more information. Earlier in the log file:</p> <p>=PROGRESS REPORT==== 23-Sep-2006::21:35:22 ===<br /> supervisor: {local,crypto_sup}<br /> started: [{pid,&lt;0.165.0&gt;},<br /> {name,crypto_server},<br /> {mfa,{crypto_server,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>=PROGRESS REPORT==== 23-Sep-2006::21:35:22 ===<br /> application: crypto<br /> started_at: ejabberd@guild</p> <p>=CRASH REPORT==== 23-Sep-2006::21:35:22 ===<br /> crasher:<br /> pid: &lt;0.165.0&gt;<br /> registered_name: crypto_server<br /> error_info: {port_died,normal}<br /> initial_call: {gen,init_it,<br /> [gen_server,<br /> &lt;0.164.0&gt;,<br /> &lt;0.164.0&gt;,<br /> {local,crypto_server},<br /> crypto_server,<br /> [],<br /> []]}<br /> ancestors: [crypto_sup,&lt;0.163.0&gt;]<br /> messages: []<br /> links: [&lt;0.164.0&gt;]<br /> dictionary: []<br /> trap_exit: true<br /> status: running<br /> heap_size: 610<br /> stack_size: 21<br /> reductions: 774<br /> neighbours:</p> <p>=SUPERVISOR REPORT==== 23-Sep-2006::21:35:22 ===<br /> Supervisor: {local,crypto_sup}<br /> Context: child_terminated<br /> Reason: {port_died,normal}<br /> Offender: [{pid,&lt;0.165.0&gt;},<br /> {name,crypto_server},<br /> {mfa,{crypto_server,start_link,[]}},<br /> {restart_type,permanent},<br /> {shutdown,2000},<br /> {child_type,worker}]</p> <p>So it looks as though the real problem is that, for some reason, the crypto server isn't staying up, but I don't know much about erlang's crypto server.</p> Sun, 24 Sep 2006 02:48:19 +0000 seebs comment 2316 at https://www.ejabberd.im