Description of problem: When configuring ejabberd, I am able to start the server manually by using the ejabberdctl script, which loads the node ejabberd@localhost. This appears to agree with the installed package(s). However, when I load ejabberd using the init script, the server fails to load--erlang loads but the process fails somewhere during loading, although the affected processes don't die (I have to kill them manually) The server returns an error to the effect that it wasn't properly evoked; what I can see is that instead of the node being ejabberd@localhost as usual, the error reports ejabberd@myhost where "myhost" is the hostname I chose for my system when I first installed Fedora (the hostname was set by the installer). If I manually change my hostname to "localhost" then the init script work, but that is not an acceptable solution. Looking at the init script, I noticed it uses a very funny/nonstandard method of invoking ejabberd (not ejabberdctl), from which I believe the error stems. The status/stop scripts all use ejabberdctl, but the start script seems to be invoking evoking erlang directly and specifying, redundantly and possibly incorrectly, runtime paramaters that ejabberdctl takes care of on its own. Version-Release number of selected component (if applicable): 2.0.5-3.fc10 How reproducible: Steps to Reproduce: 1. Specify a hostname and domain other than localhost.localdomain in the Fedora installer 2. Install ejabberd (the default config file should be adequate just to load the server) 3. Attempt to start ejabberd using the init script Actual results: ejabberd doesn't start. erlang loads and the process hangs, so the server never loads. Expected results: ejabberd should start correctly. Additional info:
(In reply to comment #0) > Description of problem: > How reproducible: > > > Steps to Reproduce: > 1. Specify a hostname and domain other than localhost.localdomain in the Fedora > installer > 2. Install ejabberd (the default config file should be adequate just to load > the server) > 3. Attempt to start ejabberd using the init script Cannot reproduce - I'm able to start ejabberd from init-script and stop it using ejabberdctl and vise versa. And my domainname (hostname -s) is not a simple localhost. However, the idea, to rely in init-script on ejabberdctl completely, sounds interesting - at least we'll clean up things a little. I'll try to remove all direct erlang invocations in init-script.
ejabberd-2.0.5-6.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/ejabberd-2.0.5-6.el5
ejabberd-2.0.5-6.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/ejabberd-2.0.5-6.fc10
ejabberd-2.0.5-6.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/ejabberd-2.0.5-6.fc11
ejabberd-2.0.5-6.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ejabberd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0351
ejabberd-2.0.5-6.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ejabberd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9021
ejabberd-2.0.5-6.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ejabberd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9037
ejabberd-2.0.5-6.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
ejabberd-2.0.5-6.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
ejabberd-2.0.5-6.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.