ejabberd - Comments for "Upgrade 2.0.5 to 2.1.x, can&amp;#039;t start" https://www.ejabberd.im/node/3821 en Thank you for that https://www.ejabberd.im/node/3821#comment-55164 <p>Thank you for that information. I'll try it in an free minute. </p> <p>BR</p> Sun, 17 Jan 2010 19:45:35 +0000 sascha@kruszka.de comment 55164 at https://www.ejabberd.im It was bug in ejabberd; try patch. https://www.ejabberd.im/node/3821#comment-55160 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Is the bad arg "otp_release" in that case?</p></div> <p>Right, it seems Erlang R10 and R11 didn't implement yet that argument. So it is a bug in ejabberd for expecting all versions to support it.</p> <p>I've fixed in ejabberd SVN/Git, so the next ejabberd release (planned for the next weeks) will work correctly. Or you can apply the simple patch to your source code:<br /> <noindex><a href="http://github.com/processone/ejabberd/commit/2de9eac1e305f4ad39d31d1be5947cd9a2a28e95" title="http://github.com/processone/ejabberd/commit/2de9eac1e305f4ad39d31d1be5947cd9a2a28e95" rel="nofollow" >http://github.com/processone/ejabberd/commit/2de9eac1e305f4ad39d31d1be59...</a></noindex></p> Sat, 16 Jan 2010 12:36:00 +0000 mfoss comment 55160 at https://www.ejabberd.im unless I don't have a https://www.ejabberd.im/node/3821#comment-55159 <p>unless I don't have a something wrong im my syntax, something seems to be strange:</p> <div class="codeblock"><code>Eshell V5.5.2&nbsp; (abort with ^G)<br />1&gt; erlang:system_info(otp_release).<br />** exited: {badarg,[{erlang,system_info,[otp_release]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {erl_eval,do_apply,5},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {shell,exprs,6},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {shell,eval_loop,3}]} ** <p>=ERROR REPORT==== 15-Jan-2010::22:34:45 ===<br />Error in process &lt;0.29.0&gt; with exit value: {badarg,[{erlang,system_info,[otp_release]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}</p></code></div> <p>Is the bad arg "opt_release" in that case?</p> <p>BR</p> Fri, 15 Jan 2010 22:38:16 +0000 sascha@kruszka.de comment 55159 at https://www.ejabberd.im Should work. Test this https://www.ejabberd.im/node/3821#comment-55157 <p>Eshell V5.5.2 is included in Erlang R11B-2, as you can see. So this should be enough for running ejabberd 2.1.x.</p> <p>I don't understand why you get that error message. Try this, and show what do you get:</p> <p>This is what I get in R12B-5 and R13B-3 (the versions that I can try):</p> <pre>$ erl Erlang (BEAM) emulator version 5.6.5 [source] [async-threads:0] [kernel-poll:false] Eshell V5.6.5 (abort with ^G) 1&gt; erlang:system_info(otp_release). "R12B" 2&gt; q(). ok $</pre><p> And:</p> <pre>$ erl Erlang R13B03 (erts-5.7.4) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.7.4 (abort with ^G) 1&gt; erlang:system_info(otp_release). "R13B03" 2&gt; q(). ok $ </pre> Fri, 15 Jan 2010 20:29:18 +0000 mfoss comment 55157 at https://www.ejabberd.im Thank you for your reply, but https://www.ejabberd.im/node/3821#comment-55156 <p>Thank you for your reply,</p> <p>but I'm a little bit confused. You are talking about a Version R10B-9 or higher and I've got a version 5.5.2 installed (Debian etch package):</p> <div class="codeblock"><code>Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [kernel-poll:false] <p>Eshell V5.5.2&nbsp; (abort with ^G)</p></code></div> <p>Package Version:</p> <div class="codeblock"><code>Package: erlang<br />Priority: optional<br />Section: interpreters<br />Installed-Size: 68<br />Maintainer: Erlang Packagers &lt;erlang-pkg-devel@lists.berlios.de&gt;<br />Architecture: all<br />Version: 1:11.b.2-4</code></div> <p>Doese anyone know if it is too old?</p> <p>BR</p> Fri, 15 Jan 2010 18:53:58 +0000 sascha@kruszka.de comment 55156 at https://www.ejabberd.im Maybe you have very old Erlang version? https://www.ejabberd.im/node/3821#comment-55136 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>My server don't have IPv6 support. I guess it could be the problem</p></div> <p>If you mention lack of IPv6 because you saw this in the error: {ejabberd_listener,init_tcp,6}, don't worry: that 6 has nothing to do with IP version 6.</p> <p>Maybe you are using a very old version of Erlang. ejabberd 2.1.1 (and also current SVN) requires Erlang/OTP R10B-9 or higher. The recommended version is R12B-5. Support for R13 is experimental. </p> <p>If that is your case, you have at least three options:</p> <ul> <li>If that old Erlang is the newest provided by your OS, you can try to get a more recent package from a more recent OS version. Problem: dependencies of that new package may not be available for you. </li><li>You can download, compile and install from source code Erlang/OTP. Problem: it will take one or two hours to compile, probably. </li><li>You can download and install ejabberd binary installer from ProcessOne, which includes a minimal Erlang inside, so you don't need to worry about Erlang dependency. Problem: it's a standalone package, so you would need to write the init.d script and logrotate.<br /> </li></ul> Mon, 11 Jan 2010 18:52:42 +0000 mfoss comment 55136 at https://www.ejabberd.im