Bug 451554 - any use of ejabberdctl fails
Summary: any use of ejabberdctl fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ejabberd
Version: el5
Hardware: i386
OS: Linux
low
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-15 19:04 UTC by Peter Dominguez
Modified: 2008-07-09 02:54 UTC (History)
2 users (show)

Fixed In Version: 2.0.1-4.fc8
Clone Of:
Environment:
Last Closed: 2008-07-09 02:46:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dump file after entering: ejabberdctl (270.75 KB, application/octet-stream)
2008-06-15 19:26 UTC, Peter Dominguez
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.