The progress bar gets to what looks like 100% done, indicating, "Executing final installation script", and the installation stalls. It just sits there. It's been about 20 minutes now and nothing. I tried to install ejabberd a couple months ago, and got a very general, non-specific script failure message at this point back then. Looks like maybe some error checking is needed in the installation process. In the meantime, how do I troubleshoot this?
Maybe you get some useful
Maybe you get some useful line in logs/install.log
Nothing useful in the log
Nope - nothing useful in the log.
Creating Desktop Shortcut for Start ejabberd
Creating Desktop Shortcut for Stop ejabberd
Executing final installation script
Error executing post installation script
C:\Program Files\ejabberd-2.1.5\bin\postinstall.cmd
\Program ended with an error exit code
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 08/24/10 at 16:58:59
Try to start ejabberd in live mode
Nope - nothing useful in the log.
Creating Desktop Shortcut for Start ejabberd
Creating Desktop Shortcut for Stop ejabberd
Executing final installation script
Error executing post installation script
C:\Program Files\ejabberd-2.1.5\bin\postinstall.cmd
\Program ended with an error exit code
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 08/24/10 at 16:58:59
So, the files were copied, but the postinstall found some problem (it runs ejabberd for the first time and registers an account for the admin). Maybe you got in logs/ also another ejabberd log file. Check if it gives any hint.
You can also try to start ejabberd in "live" mode, so that it tries to start and shows any error directly to you. I don't know how it's done in Windows, maybe it.s like:
cd c:/ejabberd-2.1.5
bash
./ejabberdctl live
Clues
There are some clues.
erlang.log:
=CRASH REPORT==== 31-May-2010::23:58:09 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{{case_clause,{undefined}},
[{lists,'-filter/2-lc$^0/1-0-',2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
in function application_master:init/4
initial call: application_master:init(<0.5.0>,<0.34.0>,
{appl_data,ejabberd,
[ejabberd,ejabberd_sup,
ejabberd_auth,ejabberd_router,
ejabberd_sm,ejabberd_s2s,
ejabberd_local,ejabberd_listeners,
ejabberd_iq_sup,
ejabberd_service_sup,
ejabberd_s2s_out_sup,
ejabberd_s2s_in_sup,
ejabberd_c2s_sup,
ejabberd_mod_roster,
ejabberd_mod_echo,
ejabberd_mod_pubsub,
ejabberd_mod_irc,ejabberd_mod_muc,
ejabberd_offline,random_generator],
undefined,
{ejabberd_app,[]},
[acl,adhoc,configure,
cyrsasl_anonymous,cyrsasl,
cyrsasl_digest,cyrsasl_plain,
ejabberd_admin,ejabberd_app,
ejabberd_auth_anonymous,
ejabberd_auth,
ejabberd_auth_external,
ejabberd_auth_internal,
ejabberd_auth_ldap,
ejabberd_auth_odbc,
ejabberd_auth_pam,ejabberd,
ejabberd_c2s,ejabberd_c2s_config,
ejabberd_config,ejabberd_ctl,
ejabberd_frontend_socket,
ejabberd_hooks,ejabberd_http,
ejabberd_http_bind,
ejabberd_http_poll,
ejabberd_listener,ejabberd_local,
ejabberd_logger_h,
ejabberd_loglevel,
ejabberd_node_groups,
ejabberd_rdbms,ejabberd_receiver,
ejabberd_router,ejabberd_s2s,
ejabberd_s2s_in,ejabberd_s2s_out,
ejabberd_service,ejabberd_sm,
ejabberd_socket,ejabberd_sup,
ejabberd_system_monitor,
ejabberd_tmp_sup,ejabberd_update,
ejabberd_web_admin,ejabberd_web,
ejabberd_zlib,ejd2odbc,eldap,
eldap_filter,eldap_pool,
eldap_utils,'ELDAPv3',extauth,
gen_iq_handler,gen_mod,
gen_pubsub_node,
gen_pubsub_nodetree,iconv,idna,
jd2ejd,jlib,mod_adhoc,
mod_announce,mod_caps,
mod_configure2,mod_configure,
mod_disco,mod_echo,mod_http_bind,
mod_http_fileserver,mod_irc,
mod_irc_connection,mod_last,
mod_last_odbc,mod_muc,mod_muc_log,
mod_muc_room,mod_offline,
mod_offline_odbc,mod_privacy,
mod_privacy_odbc,mod_private,
mod_private_odbc,mod_proxy65,
mod_proxy65_lib,
mod_proxy65_service,
mod_proxy65_sm,mod_proxy65_stream,
mod_pubsub,mod_register,
mod_roster,mod_roster_odbc,
mod_service_log,mod_shared_roster,
mod_stats,mod_time,mod_vcard,
mod_vcard_ldap,mod_vcard_odbc,
mod_version,node_buddy,node_club,
node_default,node_dispatch,
node_pep,node_private,node_public,
nodetree_default,nodetree_virtual,
p1_fsm,p1_mnesia,randoms,sha,
shaper,stringprep,stringprep_sup,
tls,translate,xml,xml_stream,
'XmppAddr'],
[],infinity,infinity},
normal)
ancestors: [<0.34.0>]
messages: []
links: [<0.34.0>,<0.36.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 23
reductions: 153
neighbours:
-----
ejabberd.log:
=ERROR REPORT==== 2010-05-31 23:58:09 ===
C(<0.189.0>:ejabberd_captcha:331) : The option captcha_cmd is not configured, but some module wants to use the CAPTCHA feature.
=INFO REPORT==== 2010-05-31 23:58:09 ===
application: ejabberd
exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',{{case_clause,{undefined}},
[{lists,'-filter/2-lc$^0/1-0-',2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
type: temporary
-----
Attempt to run from the command line (not sure this is correct):
bash-2.02$ cd bin
bash-2.02$ ls
bash.exe erl.ini libintl3.dll start.cmd
beam.dll erlc.exe live.cmd start_clean.boot
beam.smp.dll erlexec.dll manual32.vbs start_erl.exe
cp.exe erlsrv.exe manual64.vbs start_sasl.boot
cut.exe formatconfig.sh mkdir.exe stop.cmd
date.exe grep.exe mv.exe tr.exe
debug.cmd head.exe postinstall.cmd uname.exe
dirname.exe inet_gethost.exe preuninstall.cmd werl.exe
ejabberdctl libcharset1.dll sed.exe which.exe
ejabberdctl.cmd libeay32.dll sleep.exe zlib1.dll
epmd.exe libexpat.dll ssleay32.dll
erl.exe libiconv2.dll start.boot
bash-2.02$ ./ejabberdctl live
bash: ./ejabberdctl: No such file or directory
Strange error. Let me see your .cfg
erlang.log:
=CRASH REPORT==== 31-May-2010::23:58:09 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{{case_clause,{undefined}},
[{lists,'-filter/2-lc$^0/1-0-',2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
It's quite a strange error. Do you install in a brand new directory, or in one where you already have ejabberd installed?
Please upload your file conf/ejabberd.cfg here or to a site likehttp://paste.jabbim.cz/
And, why does it say 31 May 2010? Maybe the system date is wrong.
Strange indeed
I replied to this post and my reply didn't appear, so I'm trying again...
Could this forum be mangling the dates? The datetime stamps on the files as I look at them now are correct, and I recall they were correct when I posted them. I have no idea where May 31 is coming from.
I installed into a new directory - this is my first experience with ejabberd.
Here's a snippet again from the same log file I posted from before - I see the datetime stamp as 24-Aug-2010 at 16:57:23.
=CRASH REPORT==== 24-Aug-2010::16:57:23 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{{case_clause,{undefined}},
[{lists,'-filter/2-lc$^0/1-0-',2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
in function application_master:init/4
initial call: application_master:init(<0.5.0>,<0.34.0>,
{appl_data,ejabberd,
[ejabberd,ejabberd_sup,
ejabberd_auth,ejabberd_router,
ejabberd_sm,ejabberd_s2s,
ejabberd_local,ejabberd_listeners,
ejabberd_iq_sup,
ejabberd_service_sup,
ejabberd_s2s_out_sup,
ejabberd_s2s_in_sup,
ejabberd_c2s_sup,
ejabberd_mod_roster,
ejabberd_mod_echo,
ejabberd_mod_pubsub,
ejabberd_mod_irc,ejabberd_mod_muc,
ejabberd_offline,random_generator],
undefined,
{ejabberd_app,[]},
[acl,adhoc,configure,
I will post the ejabberd.cfg file separately, as perhaps that was the reason my first attempt did not take...
ejabberd.cfg
Apparently, I cannot save my config file in the forum. You can find ithere .
Config looks correct. Try from zero
I tried to start my ejabberd 2.1.5 self-compiled in Linux, with your config and it starts correctly (I just had to remove the line about server.pem).
Your first date was from May, the second from August... Try this:
1. uninstall ejabberd,
2. delete the directories.
3. Then install again in a different dir (like ejabberd-2.1.5-woo),
4. In the configuration fields, put simple information (hostname=localhost, admin account=admin, password=pass123, cluster?=no)
5. once installed, see if the dates in the log files are correct, and if it still shows errors.
cygwin in the PC environment?
Does ejabberd installation make use of cygwin? I have another application that fails when using the sed command, and I have re-installed cygwin, but the problem persists. I'm curious if this may be a clue to my ejabberd installation issue...which still exists (six months later). I've successfully installed ejabberd on other machines - just not on the machine I want/need it on.
Same Results
I got the same results.
ejabberd.log:
=INFO REPORT==== 2010-09-03 09:03:50 ===
application: ejabberd
exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',{{case_clause,{undefined}},
[{lists,'-filter/2-lc$^0/1-0-',2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
type: temporary
erlang.log:
=CRASH REPORT==== 3-Sep-2010::09:03:50 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
{{case_clause,{undefined}},
[{lists,'-filter/2-lc$^0/1-0-',2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}}}}
in function application_master:init/4
initial call: application_master:init(<0.5.0>,<0.34.0>,
{appl_data,ejabberd,
[ejabberd,ejabberd_sup,
...
And install.log:
...
Unpacking C:\Program Files\ejabberd-2.1.5-again\bin\which.exe
Creating Desktop Shortcut for Start ejabberd
Creating Desktop Shortcut for Stop ejabberd
Executing final installation script
Error executing post installation script
C:\Program Files\ejabberd-2.1.5-again\bin\postinstall.cmd
\Program ended with an error exit code
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 09/03/10 at 09:06:09
One thing to note, if it is of any relevance. Back in February, my computer caught the AntivirusSoft virus, and after I used a tool to remove it, I have had problems with a couple of things that make use of cygwin, and so far nobody has been able to figure it out. For instance, the sed command keeps complaining about files not found, even when they are clearly there. I have since re-installed cygwin, but the issue persists.
Does ejabberd installation make use of cygwin?
Any ideas?
I'd really like to get ejabberd installed.
Bueller? Bueller?
I'm still dead in the water on this issue. Any suggestions?