ejabberd - Comments for "Authenticate Against MySQL with PHP" https://www.ejabberd.im/check_mysql_php en Same problem with eJabberd 16.01 in Ubuntu 16.04 https://www.ejabberd.im/check_mysql_php#comment-66974 <p>When I am trying to login in admin area I get this :</p> <div class="codeblock"><code>2016-07-26 18:41:39.550 [error] &lt;0.10430.0&gt;@extauth:loop:131 extauth call &#039;[&lt;&lt;&quot;auth&quot;&gt;&gt;,&lt;&lt;&quot;admin&quot;&gt;&gt;,&lt;&lt;&quot;localhost&quot;&gt;&gt;,&lt;&lt;&quot;test&quot;&gt;&gt;]&#039; didn&#039;t receive response<br />2016-07-26 18:41:39.550 [error] &lt;0.10106.0&gt;@ejabberd_auth:is_user_exists:316 The authentication module ejabberd_auth_external returned an error<br />when checking user &lt;&lt;&quot;admin&quot;&gt;&gt; in server &lt;&lt;&quot;localhost&quot;&gt;&gt;<br />Error message: badarg<br />2016-07-26 18:41:39.550 [warning] &lt;0.10106.0&gt;@ejabberd_web_admin:process:239 Access of &lt;&lt;&quot;admin@localhost&quot;&gt;&gt; from &lt;&lt;&quot;x.x.x.x&quot;&gt;&gt; failed with error: &lt;&lt;&quot;inexistent-account&quot;&gt;&gt;</code></div> <p>Im using this <noindex><a href="https://github.com/cburschka/ejabberd-auth-php" rel="nofollow" >https://github.com/cburschka/ejabberd-auth-php</a></noindex>. Any idea? The tests give me all ok, the log file doesnt show nothing when ejabberd make the extauth call. My configuration is:</p> <div class="codeblock"><code>auth_method: external<br />extauth_program: &quot;/etc/ejabberd/extauth/main.php&quot;</code></div> <p>I also check the permissions, all seems correct, with chmod 777 file and chown ejabberd:ejabberd I get the same. I dont know what to do more. With su ejabberd the php file executes correctly</p> <p>SOLVED: I installed eJabberd from .deb in /opt, running ejabberdctl live I discover that the libssl from /opt/ejabberd/lib/linux*/libssl.1.0.0 wasn't update to the openssl 1.0.2 (last required for PHP 7.0). I download last libssl.deb and I extracted in the lib eJabberd directory. Now is working correctly</p> Wed, 27 Jul 2016 16:33:47 +0000 Nachox7 comment 66974 at https://www.ejabberd.im Error in log file https://www.ejabberd.im/check_mysql_php#comment-66537 <p>If you're seeing the following error after using the script above...</p> <p><code>extauth script has exitted abruptly with reason &#039;normal&#039;</code></p> <p>You could be using a newer version of php. i.e. php &gt; 5.4 in which case the following command in the script above is deprecated.</p> <p><code>@define_syslog_variables();</code></p> <p>Make sure to remove or comment that line out.</p> Mon, 01 Feb 2016 03:07:54 +0000 Wasca comment 66537 at https://www.ejabberd.im External authentication with php and mysql not working https://www.ejabberd.im/check_mysql_php#comment-65030 <p>I am starting with Ejabberd. And my connection and authentication and chat work correctly when authentication was internal<br /> . But when I edit ejabberd.cfg to work with external authentication script then meet error:</p> <p>- Config file:<br /> %%{auth_method, internal}.<br /> {auth_method, external}.<br /> {extauth_program, "/etc/ejabberd/my_auth.php"}.</p> <p>- Error report: C(&lt;0.6790.0&gt;:extauth:146) : extauth script has exitted abruptly with reason 'normal'<br /> This error loop until the server stop.</p> <p>I grant full permission to /etc/ejabberd/my_auth.php and run with php command, not error.</p> <p>Please help me!<br /> Thanks in Advance..</p> Thu, 25 Sep 2014 08:06:26 +0000 Nikul Chauhan comment 65030 at https://www.ejabberd.im