ejabberd - Comments for "ejabberd 13.10 mysql problem" https://www.ejabberd.im/node/15427 en Try running: ./rebar https://www.ejabberd.im/node/15427#comment-62131 <p>Try running:</p> <pre> ./rebar get-deps </pre><p>and then again:</p> <pre> make </pre> Thu, 12 Dec 2013 14:43:03 +0000 mfoss comment 62131 at https://www.ejabberd.im I have the same problem. when https://www.ejabberd.im/node/15427#comment-62081 <p>I have the same problem. when i compile ejabberd 13.10 with mysql i get this<br /> I got my source from the website. I will try the git version too.</p> <div class="codeblock"><code>root@ubuntu:/home/marcus/ejabberd# ./configure --enable-mysql<br />checking whether make sets $(MAKE)... yes<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking for a sed that does not truncate output... /bin/sed<br />checking for erl... /usr/bin/erl<br />checking for erlc... /usr/bin/erlc<br />checking for erl... /usr/bin/erl<br />checking for erlc... /usr/bin/erlc<br />checking Erlang/OTP version... ok<br />checking for Erlang/OTP root directory... /usr/lib/erlang<br />checking for escript... /usr/lib/erlang/bin/escript<br />checking for make... make<br />checking for Erlang/OTP &#039;sasl&#039; library subdirectory... /usr/lib/erlang/lib/sasl-2.2.1<br />checking for Erlang/OTP &#039;sasl&#039; library version... 2.2.1<br />checking for Erlang/OTP &#039;crypto&#039; library subdirectory... /usr/lib/erlang/lib/crypto-2.1<br />checking for Erlang/OTP &#039;crypto&#039; library version... 2.1<br />checking for Erlang/OTP &#039;public_key&#039; library subdirectory... /usr/lib/erlang/lib/public_key-0.15<br />checking for Erlang/OTP &#039;public_key&#039; library version... 0.15<br />checking for Erlang/OTP &#039;ssl&#039; library subdirectory... /usr/lib/erlang/lib/ssl-5.0.1<br />checking for Erlang/OTP &#039;ssl&#039; library version... 5.0.1<br />checking for Erlang/OTP &#039;mnesia&#039; library subdirectory... /usr/lib/erlang/lib/mnesia-4.7<br />checking for Erlang/OTP &#039;mnesia&#039; library version... 4.7<br />checking for Erlang/OTP &#039;inets&#039; library subdirectory... /usr/lib/erlang/lib/inets-5.9<br />checking for Erlang/OTP &#039;inets&#039; library version... 5.9<br />checking for Erlang/OTP &#039;compiler&#039; library subdirectory... /usr/lib/erlang/lib/compiler-4.8.1<br />checking for Erlang/OTP &#039;compiler&#039; library version... 4.8.1<br />configure: creating ./config.status<br />config.status: creating Makefile<br />config.status: creating vars.config<br />config.status: creating src/ejabberd.app.src<br />root@ubuntu:/home/marcus/ejabberd# make<br />/usr/lib/erlang/bin/escript rebar skip_deps=true compile<br />==&gt; rel (compile)<br />==&gt; ejabberd (compile)<br />Dependency not available: p1_mysql-.* ({git,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;git://github.com/processone/mysql&quot;})<br />ERROR: compile failed while processing /home/marcus/ejabberd: rebar_abort<br />make: *** [src] Error 1<br />root@ubuntu:/home/marcus/ejabberd# </code></div> <p>Then i thought maybe it worked so i try to run the ejabberd server</p> <p>But i get this:</p> <div class="codeblock"><code>16:06:23.425 [critical] failed to start application &#039;p1_mysql&#039;: {error,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&quot;no such file or directory&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;p1_mysql.app&quot;}}</code></div> <p>If you need anymore info on this please ask</p> Wed, 04 Dec 2013 16:28:45 +0000 marcus1989 comment 62081 at https://www.ejabberd.im Thank you for your reply: I https://www.ejabberd.im/node/15427#comment-62050 <p>Thank you for your reply:</p> <p>I installed ejabberd-2.1.13-linux-x86_64-installer.run on CentOS 6.4 by using the following commands:</p> <p># yum install ImageMagick<br /> # rpm -hiv libyaml-0.1.4-1.el6.rf.x86_64.rpm<br /> # chmod a+x ejabberd-13.10-linux-x86_64-installer.run<br /> # ./ejabberd-13.10-linux-x86_64-installer.run<br /> # mysqladmin -p create ejabberd<br /> # mysql -p ejabberd &lt; /opt/ejabberd-13.10/lib/ejabberd-13.10/priv/sql/mysql.sql</p> <p>Made the change of the configuration file as described in early message and copy it over to /opt/ejabberd-13.10/conf</p> <p># /opt/ejabberd-13.10/bin/ejabberdctl live<br /> Got the following errors:</p> <p>19:03:50.520 [debug] Supervisor ejabberd_sup started ejabberd_tmp_sup:start_link(ejabberd_iq_sup, gen_iq_handler) at pid &lt;0.352.0&gt;<br /> 19:03:50.521 [critical] failed to start application 'p1_mysql': {error,<br /> {"no such file or directory",<br /> "p1_mysql.app"}}<br /> 19:03:50.522 [debug] Supervisor ejabberd_sup started ejabberd_tmp_sup:start_link(ejabberd_frontend_socket_sup, ejabberd_frontend_socket) at pid &lt;0.353.0&gt;<br /> 19:03:50.523 [debug] Supervisor ejabberd_sup started ejabberd_listener:start_link() at pid &lt;0.354.0&gt;</p> <p>Crash dump was written to: /opt/ejabberd-13.10/logs/erl_crash_20131019-190347.dump<br /> failed to start application 'p1_mysql': {error,<br /> {"no such file or directory",<br /> "p1_mysql.app"}}</p> Mon, 02 Dec 2013 05:15:14 +0000 larry_kong comment 62050 at https://www.ejabberd.im p1_mysql.app should be https://www.ejabberd.im/node/15427#comment-61975 <p>p1_mysql.app should be included, or automatically downloaded/compiled by ejabberd, so it's strange it isn't already there. How did you install ejabberd: source package, git master branch, binary installer...?</p> Mon, 25 Nov 2013 11:02:17 +0000 mfoss comment 61975 at https://www.ejabberd.im