Attempting to install ejabberd on a MacBook Pro, I haven't been able to get versions 2.1.6, 2.1.8, or 2.1.10 to work. In all cases, the same problem arises. Running the packaged installer, the post installation script hangs for several minutes before popping up a dialog that says the script failed. The rest of the installation continues as normal and then exits.
After the installer closes, I can run the script from the /bin folder. I get the following output:
$ sudo ./postinstall.sh
-=- ejabberd post installation script -=-
(c) 2005-2010 ProcessOne
* Checking ejabberd installation
* Starting ejabberd instance
* Error, ejabberd can not start
I visited /logs in the application folder and found little help in install.log:
Error executing post installation script
/Applications/ejabberd-2.1.6_2/bin/postinstall.sh
\child process exited abnormally
Given these circumstances:
- How can I learn more about why the install is failing?
- Why does it take several minutes for this script to determine that it has failed?
Managed to find a solution to
Managed to find a solution to my problem through other means. Unclear on the source of the issue under the hood, but I was able to get up and running using the resources at this link:https://support.process-one.net/browse/EJAB-1504
Note: While this install worked properly, I had an issue getting users to work properly - I could not log in on the web portal and ejabberdctl register was returning not_allowed. It turned out that {auth_method, internal} was commented out in the cfg. When I uncommented that line, I was good to go.
sudo ./postinstall.sh
sudo ./postinstall.sh admin_user_name domain password