Bug 451554

Summary: any use of ejabberdctl fails
Product: [Fedora] Fedora EPEL Reporter: Peter Dominguez <peter>
Component: ejabberdAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: el5CC: adam, silfreed
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.1-4.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-09 02:46:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dump file after entering: ejabberdctl none

Description Peter Dominguez 2008-06-15 19:04:04 UTC
Description of problem:

Any use of ejabberdctl causes a dump file to be placed in /var/log/ejabberd and
the command fails.

Version-Release number of selected component (if applicable):

ejabberd-2.0.0-1.fc9.i386

How reproducible:

just enter:  ejabberdctl live


Steps to Reproduce:
1. enter above command
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Peter Dominguez 2008-06-15 19:26:35 UTC
Created attachment 309405 [details]
dump file after entering: ejabberdctl

Comment 2 Peter Lemenkov 2008-06-16 14:53:44 UTC
Confirmed.
I'll fix it ASAP.

Comment 3 Adam Goode 2008-06-22 04:11:48 UTC
It seems there are 2 things needed to make ejabberdctl work. The localhost stuff
is fine. (No need for cut hostname.)

The script must run as ejabberd user. This works, but is ugly:
# runuser -s /bin/sh -c "/usr/sbin/ejabberdctl status" - ejabberd 
Node ejabberd@localhost is started. Status: started
ejabberd is running

Second, HOME is wrong. Should be:
HOME=/var/lib/ejabberd
(not /usr/lib/ejabberd)

Comment 4 Adam Goode 2008-06-22 04:17:12 UTC
Oops, sorry, I meant to put this in the bugreport for ejabberd-2.0.1-2.fc9.i386.

Comment 5 Fedora Update System 2008-06-22 16:58:02 UTC
ejabberd-2.0.1-3.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-06-22 17:02:35 UTC
ejabberd-2.0.1-3.fc9 has been submitted as an update for Fedora 9

Comment 7 Fedora Update System 2008-06-22 19:41:19 UTC
ejabberd-2.0.1-4.fc8 has been submitted as an update for Fedora 8

Comment 8 Fedora Update System 2008-06-22 20:04:05 UTC
ejabberd-2.0.1-4.fc9 has been submitted as an update for Fedora 9

Comment 9 Fedora Update System 2008-06-25 02:53:15 UTC
ejabberd-2.0.1-4.fc8 has been pushed to the Fedora 8 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/F8/FEDORA-2008-5671

Comment 10 Fedora Update System 2008-07-09 02:45:55 UTC
ejabberd-2.0.1-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2008-07-09 02:54:30 UTC
ejabberd-2.0.1-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.