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