ejabberd - Comments for "ejabberd 15.09: Error running Post Install Script" https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script en Any solution to this? I had https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66884 <p>Any solution to this? I had the same error on CentOS 6.</p> <div class="codeblock"><code># tail -15 install.log<br />* Starting ejabberd instance <p>* Creating administrator user<br />User admin@vm-centos-6.nwhome.local successfully registered</p> <p>* Stopping ejabberd instance<br />==&gt; Setup finished</p> <p>Creating Uninstaller<br />Creating uninstaller 25%<br />Creating uninstaller 50%<br />Creating uninstaller 75%<br />Creating uninstaller 100%<br />Installation completed<br />Log finished 05/14/2016 at 23:05:20</p> <p># tail -10 ejabberd.log<br />2016-05-14 23:35:31.576 [error] &lt;0.41.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:31.624 [error] &lt;0.41.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:31.944 [error] &lt;0.86.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:31.975 [error] &lt;0.86.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:32.317 [error] &lt;0.172.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:32.383 [error] &lt;0.172.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:32.396 [error] &lt;0.172.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:32.489 [error] &lt;0.172.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:32.507 [error] &lt;0.172.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.<br />2016-05-14 23:35:32.555 [error] &lt;0.172.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir.</p> <p># tail -10 crash.log<br />2016-05-14 23:35:32 =ERROR REPORT====<br />&quot;File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir. &quot;<br />2016-05-14 23:35:32 =ERROR REPORT====<br />&quot;File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir. &quot;<br />2016-05-14 23:35:32 =ERROR REPORT====<br />&quot;File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir. &quot;<br />2016-05-14 23:35:32 =ERROR REPORT====<br />&quot;File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir. &quot;<br />2016-05-14 23:35:32 =ERROR REPORT====<br />&quot;File operation error: eacces. Target: /opt/ejabberd-15.10/lib/xmerl-1.3.7/ebin. Function: list_dir. &quot;</p></code></div> <p>Thanks.</p> Sun, 15 May 2016 06:38:16 +0000 nathan comment 66884 at https://www.ejabberd.im thanks alot. my crash.log is https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66218 <p>thanks alot. my crash.log is :<br /> root@server:~# tail -f /opt/ejabberd-15.09/logs/crash.log<br /> 2015-10-08 13:47:10 =ERROR REPORT====<br /> "File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir. "<br /> 2015-10-08 13:47:10 =ERROR REPORT====<br /> "File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir. "<br /> 2015-10-08 13:47:10 =ERROR REPORT====<br /> "File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir. "<br /> 2015-10-08 13:47:10 =ERROR REPORT====<br /> "File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir. "<br /> 2015-10-08 13:47:10 =ERROR REPORT====</p> <p>and ejabberd.log is:</p> <p>root@78_slave:~# tail -f /opt/ejabberd-15.09/logs/ejabberd.log<br /> 2015-10-08 13:47:09.934 [error] &lt;0.40.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:09.965 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:09.978 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:09.990 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:09.998 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:10.003 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:10.013 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:10.026 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:10.037 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir.<br /> 2015-10-08 13:47:10.045 [error] &lt;0.89.0&gt; File operation error: eacces. Target: /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin. Function: list_dir. </p> <p>thanks again</p> Thu, 08 Oct 2015 10:23:39 +0000 taranis comment 66218 at https://www.ejabberd.im so you have the issue: can't https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66216 <p>so you have the issue: can't cd to /opt/ejabberd-15.09/database/ejabberd@localhost<br /> the user running installer does not have access right to that directory, or you changed rights of /opt/ejabberd-15.09/database for previous install.<br /> i'll check reinstall (overwrite) and add postinstall improvements if needed.</p> Thu, 08 Oct 2015 08:44:05 +0000 chris_romain comment 66216 at https://www.ejabberd.im Thanks for your answer. I https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66215 <p>Thanks for your answer. I installed from installer. my install.log is</p> <p>root@server:/opt# tail -n 100 /opt/ejabberd-15.09/logs/install.log<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_b64Bin.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_b64Bin_scan.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_html.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_lib.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_otpsgml.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_regexp.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_sgml.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_simple.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_text.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_ucs.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_uri.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_validate.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xlate.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xml.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xpath_lib.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xpath_parse.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xpath_pred.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xpath_scan.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_sax_parser.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_sax_simple_dom.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_sax_old_dom.beam<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl.app<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl.appup<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_autoexport.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_striptests.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_tests.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_server.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_proc.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_serial.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_test.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_lib.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_data.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_tty.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_surefire.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit_listener.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit.app<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/ebin/eunit.appup<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/dist.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/dist.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/driver1.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/driver1.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/efile_drv.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/efile_drv.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/function-calls.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/function-calls.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/garbage-collection.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/garbage-collection.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/memory1.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/memory1.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/messages.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/messages.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/port1.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/port1.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/process-scheduling.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/process-scheduling.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/spawn-exit.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/spawn-exit.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/user-probe.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/user-probe-n.d<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/user-probe-n.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/examples/user-probe.systemtap<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/priv/lib/dyntrace.so<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/priv/lib/trace_file_drv.so<br /> Unpacking /opt/ejabberd-15.09/lib/runtime_tools-1.8.16/include/observer_backend.hrl<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/include/xmerl.hrl<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/include/xmerl_xpath.hrl<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/include/xmerl_xsd.hrl<br /> Unpacking /opt/ejabberd-15.09/lib/xmerl-1.3.7/ebin/xmerl_xsd_type.beam<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/examples/fib.erl<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/examples/tests.txt<br /> Unpacking /opt/ejabberd-15.09/lib/eunit-2.2.9/include/eunit.hrl<br /> Unpacking /opt/ejabberd-15.09/lib/ejabberd-15.09/priv/lib/jiffy.so<br /> Unpacking /opt/ejabberd-15.09/lib/ejabberd-15.09/priv/tools/xmpp_codec.erl<br /> Unpacking /opt/ejabberd-15.09/lib/public_key-0.23/asn1/OTP-PUB-KEY.erl<br /> Unpacking /opt/ejabberd-15.09/lib/tools-2.7.2/priv/bin/emem<br /> Unpacking /opt/ejabberd-15.09/lib/tools-2.7.2/bin/emem<br /> Unpacking /opt/ejabberd-15.09/lib/linux-x86_64/libcrypto.so.1.0.0<br /> Unpacking /opt/ejabberd-15.09/lib/linux-x86_64/libssl.so.1.0.0<br /> Creating link /opt/ejabberd-15.09/lib/kernel<br /> Creating link /opt/ejabberd-15.09/lib/stdlib<br /> Creating link /opt/ejabberd-15.09/lib/ejabberd-15.09/priv/jiffy.so<br /> Creating link /opt/ejabberd-15.09/lib/ejabberd-15.09/priv/sqlite3_drv.so<br /> Directory already exists: /opt/ejabberd-15.09/doc<br /> Unpacking files<br /> Unpacking /opt/ejabberd-15.09/doc/guide.html<br /> Executing final installation script<br /> Error executing post installation script<br /> /opt/ejabberd-15.09/bin/postinstall.sh<br /> \useradd: user 'ejabberd' already exists<br /> usermod: no changes<br /> ./ejabberdctl: 140: cd: can't cd to /opt/ejabberd-15.09/database/ejabberd@localhost<br /> ./ejabberdctl: 140: cd: can't cd to /opt/ejabberd-15.09/database/ejabberd@localhost<br /> Creating Uninstaller<br /> Creating uninstaller 25%<br /> Creating uninstaller 50%<br /> Creating uninstaller 75%<br /> Creating uninstaller 100%<br /> Installation completed<br /> Log finished 10/05/2015 at 17:39:13</p> Thu, 08 Oct 2015 06:18:17 +0000 taranis comment 66215 at https://www.ejabberd.im if installed from installer, https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66207 <p>if installed from installer, see uninstaller application in /opt/ejabberd-15.09<br /> if installed from rpm/deb, use your package manager<br /> no need to reboot !<br /> you pasted first page displayed by vi, please paste output of following command:<br /> tail -n 100 install.log</p> Wed, 07 Oct 2015 13:18:39 +0000 chris_romain comment 66207 at https://www.ejabberd.im how to clean uninstall? I https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66205 <p>how to clean uninstall? I remove /opt/ejabberd-15.09 folder and reboot then install it. thanks . that is all of my install.log</p> Wed, 07 Oct 2015 05:30:00 +0000 taranis comment 66205 at https://www.ejabberd.im this part of install.log is https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66197 <p>this part of install.log is useless. please copy end of install.log showing the error.<br /> my guess is that you run the installer overwriting a previous installation without clean uninstall first.</p> Tue, 06 Oct 2015 07:45:10 +0000 chris_romain comment 66197 at https://www.ejabberd.im Hi. I installed ejabberd https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66196 <p>Hi. I installed ejabberd 15.09 on Debian that not installed ejabberd 15.09 on that before and worked and installed.<br /> but I cant install on Debian that installed ejabberd on that before. thanks<br /> install.log is:<br /> root@taranis:/opt# vim /opt/ejabberd-15.09/logs/install.log </p> <p>Log started 10/05/2015 at 17:37:44<br /> Preferred installation mode : gtk<br /> Trying to init installer in mode gtk<br /> Trying to init installer in mode gtk<br /> Trying to init installer in mode xwindow<br /> Trying to init installer in mode text<br /> Mode text successfully initialized<br /> Preparing to Install<br /> Preparing to Install<br /> Creating directory /opt/ejabberd-15.09<br /> Creating directory /opt/ejabberd-15.09/doc<br /> Creating directory /opt/ejabberd-15.09/doc/img<br /> Creating directory /opt/ejabberd-15.09/logs<br /> Creating directory /opt/ejabberd-15.09/database<br /> Creating directory /opt/ejabberd-15.09/conf<br /> Unpacking files<br /> Unpacking /opt/ejabberd-15.09/doc/img/install.icns<br /> Unpacking /opt/ejabberd-15.09/doc/img/uninstall.icns<br /> Unpacking /opt/ejabberd-15.09/doc/img/default.css<br /> Unpacking /opt/ejabberd-15.09/conf/ejabberdctl.cfg<br /> Unpacking /opt/ejabberd-15.09/doc/img/p-one_footer.gif<br /> Unpacking /opt/ejabberd-15.09/doc/img/p-one_header_r.gif<br /> Unpacking /opt/ejabberd-15.09/doc/error.html<br /> Unpacking /opt/ejabberd-15.09/doc/start.html<br /> Unpacking /opt/ejabberd-15.09/doc/stop.html<br /> Unpacking /opt/ejabberd-15.09/doc/img/ejabberd_banner.jpg<br /> Unpacking /opt/ejabberd-15.09/doc/img/icon_p1.icns<br /> Unpacking /opt/ejabberd-15.09/doc/img/icon_p1.ico<br /> Unpacking /opt/ejabberd-15.09/doc/ssl.txt<br /> Unpacking /opt/ejabberd-15.09/doc/README.txt<br /> Unpacking /opt/ejabberd-15.09/doc/img/icon_p1.png<br /> Unpacking /opt/ejabberd-15.09/doc/img/icon_p1_512.png<br /> "/opt/ejabberd-15.09/logs/install.log" 2081L, 148134C</p> Mon, 05 Oct 2015 14:19:19 +0000 taranis comment 66196 at https://www.ejabberd.im Can you please upload your https://www.ejabberd.im/forum/25176/ejabberd-1509-error-running-post-install-script#comment-66190 <p>Can you please upload your install.log somewhere ?</p> Mon, 05 Oct 2015 09:24:11 +0000 mremond comment 66190 at https://www.ejabberd.im