ejabberd - Comments for "ejabberd-2.0.2_2 on Red Hat " https://www.ejabberd.im/node/3223 en Assuming you haven't done https://www.ejabberd.im/node/3223#comment-53629 <p>Assuming you haven't done something foolish like having another version of erlang along with the one supplies in the binary, it is likely that selinux is preventing access to the lib.</p> <p>Look in your /var/log/audit/audit.log file and if you see an entry like:<br /> type=AVC msg=audit(1223133076.770:102): avc: denied { execmod } for pid=3878 comm="beam.smp" path="/opt/ejabberd-2.0.2_2/lib/crypto-1.5.2/priv/linux-x86/lib/crypto_drv.so" dev=dm-0 ino=26738869 scontext=user_u:system_r:unconfined_t:s0 tcontext=user_u:object_r:usr_t:s0 tclass=file<br /> then you've found the culprit.</p> <p>The easy solutions to this violation are:<br /> a) run selinux in permissive mode<br /> b) set the boolean variable allow_execmem by doing: setsebool -P allow_execmod=1</p> Sat, 04 Oct 2008 23:40:15 +0000 meroveus comment 53629 at https://www.ejabberd.im Erlang is included in binary installer. https://www.ejabberd.im/node/3223#comment-53612 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>I install ejabberd-2.0.2_2 on Red Hat Enterprise Linux Server release 5.2 (Tikanga)<br /> and I build Erlang R11... before that.</p></div> <p>If you install ejabberd using the binary installer from ProcessOne website, you don't need to install Erlang/OTP, because it is already included.</p> <pre>** Reason for termination = ** {badarg,[{erlang,port_control, [crypto_drv02,1,"test1char:sometesthost.com:test1"]}, {crypto,control,2},</pre><p> I don't know what exactly happened, it's something related to the 'crypto' erlang library included in Erlang.</p> Tue, 30 Sep 2008 17:21:22 +0000 mfoss comment 53612 at https://www.ejabberd.im