[Bug 1163812] Cannot control ejabberd with ejabberdctl

2018-07-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

stephane de Labrusse  changed:

   What|Removed |Added

 CC||step...@de-labrusse.fr



--- Comment #20 from stephane de Labrusse  ---
I hit this big on centos7 and ejabberd-18.06, I solved it in my case by this
systemd script :

# /usr/lib/systemd/system/ejabberd.service
[unit]
Description=XMPP Server
After=network.target

[Service]
Type=forking
User=ejabberd
Group=ejabberd
LimitNOFILE=65536
Restart=on-failure
RestartSec=5
Environment=LOGS_DIR=/var/log/ejabberd 
Environment=EJABBERD_CONFIG_PATH=/etc/ejabberd/ejabberd.yml 
Environment=SPOOL_DIR=/var/lib/ejabberd
ExecStart=/bin/sh -c '/opt/ejabberd-18.06/bin/ejabberdctl start &&
/opt/ejabberd-18.06/bin/ejabberdctl started'
ExecStop=/bin/sh -c '/opt/ejabberd-18.06/bin/ejabberdctl stop &&
/opt/ejabberd-18.06/bin/ejabberdctl stopped'
ExecReload=/bin/sh -c '/opt/ejabberd-18.06/bin/ejabberdctl reload_config'
PrivateDevices=true


[Install]
WantedBy=multi-user.target


I can control now ejabberd by systemd and ejabberdctl

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/erlang@lists.fedoraproject.org/message/RXFHVAJDRJMZMWMYVTNJNSLP76MQOXSC/


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-12-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Fedora Update System  changed:

   What|Removed |Added

 Status|ON_QA   |CLOSED
   Fixed In Version|ejabberd-16.09-4.fc26   |ejabberd-16.09-4.fc26
   ||ejabberd-16.09-4.fc25
 Resolution|--- |ERRATA
Last Closed||2016-12-10 19:28:55



--- Comment #19 from Fedora Update System  ---
ejabberd-16.09-4.fc25 has been pushed to the Fedora 25 stable repository. If
problems still persist, please make note of it in this bug report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-12-02 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Fedora Update System  changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA



--- Comment #18 from Fedora Update System  ---
ejabberd-16.09-4.fc25 has been pushed to the Fedora 25 testing repository. If
problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-89b50bf88a

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-12-01 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Randy Barlow  changed:

   What|Removed |Added

   Fixed In Version|ejabberd-16.09-3.fc26   |ejabberd-16.09-4.fc26



--- Comment #17 from Randy Barlow  ---
I fixed this by setting the INSTALLUSER variable in ejabberdctl and patching it
to use bash when executing erl with su.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-12-01 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #16 from Fedora Update System  ---
ejabberd-16.09-4.fc25 has been submitted as an update to Fedora 25.
https://bodhi.fedoraproject.org/updates/FEDORA-2016-89b50bf88a

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-12-01 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Fedora Update System  changed:

   What|Removed |Added

 Status|ASSIGNED|MODIFIED



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Randy Barlow  changed:

   What|Removed |Added

 Status|ON_QA   |ASSIGNED



--- Comment #15 from Randy Barlow  ---
I learned that the erlang cookie is a bit like a password (I had thought it was
just the id of the node the user wants to connect to). Thus it should not be
passed with -set-cookie because we don't want it to appear in the process
table. Thus I will have to solve this another way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Fedora Update System  changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA



--- Comment #14 from Fedora Update System  ---
ejabberd-16.09-3.fc25 has been pushed to the Fedora 25 testing repository. If
problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-69b7266f39

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Fedora Update System  changed:

   What|Removed |Added

 Status|ASSIGNED|MODIFIED



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #13 from Fedora Update System  ---
ejabberd-16.09-3.fc25 has been submitted as an update to Fedora 25.
https://bodhi.fedoraproject.org/updates/FEDORA-2016-69b7266f39

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Randy Barlow  changed:

   What|Removed |Added

   Fixed In Version||ejabberd-16.09-3.fc26



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #12 from Randy Barlow  ---
A workaround that I've been using is to use sudo to execute ejabberdctl as the
ejabberd user. For example:

$ sudo -u ejabberd /usr/bin/sh /usr/bin/ejabberdctl 

It's not pretty, but it does work!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #11 from Randy Barlow  ---
I submitted a patch that was inspired by Frederik Holden's patch upstream:

https://github.com/processone/ejabberd/pull/1395

That patch seems to work on my ejabberd box, so I think I will apply it as is
for now while we wait on upstream to decide how they want to proceed with my
proposal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-11-27 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Randy Barlow  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|lemen...@gmail.com  |ra...@electronsweatshop.com



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list -- erlang@lists.fedoraproject.org
To unsubscribe send an email to erlang-le...@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-03-03 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Peter Lemenkov  changed:

   What|Removed |Added

   Keywords|FutureFeature   |

Red Hat Bugzilla  changed:

   What|Removed |Added

   Doc Type|Enhancement |Bug Fix



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/erlang@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2016-03-03 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Peter Lemenkov  changed:

   What|Removed |Added

   Keywords||FutureFeature
Version|22  |rawhide

Red Hat Bugzilla  changed:

   What|Removed |Added

   Doc Type|Bug Fix |Enhancement



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/erlang@lists.fedoraproject.org


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2015-06-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #9 from Carl-Johan Schenström c...@bluebox.pp.se ---
I just upgraded from FC20 (ejabberd-2.1.13-7.fc20.x86_64) to FC22
(ejabberd-14.07-6.fc22.x86_64), which broke ejabberd in the following ways:

1. The configuration file wasn't converted, only saved as
/etc/ejabberd/ejabberd.cfg.rpmsave. Possibly connected to #2, since
ejabberdctl convert_to_yaml is used for converting.

2. .erlang.cookie mismatch. Solved this one by copying
/var/lib/ejabberd/.erlang.cookie to my home directory. Converted configuration
file as in #1.

3. All users gone. Copied /var/lib/ejabberd/spool to the same directory on
another FC20 host, mucked about with hostnames, dumped the data with
ejabberdctl dump, copied it back to the FC22 host, loaded it with
ejabberdctl load and restarted the service. Using ejabberdctl backup and
ejabberdctl restore didn't work, since the database schema is different.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/erlang


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2015-06-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #8 from Paul Wouters pwout...@redhat.com ---
it seems my #5 comment was pidgin oddly and false claiming i had logged in.
Indeed it never worked.

I spend too much time in trying to get the new config file to work. It would
never fully start allowing client login. I even ended up installing a fresh new
fedora19 server to load the /etc/ejabberd and /var/lib/ejabberd data onto, but
that failed as well some error about Error reading Mnesia database

so my ejabberd data is no good on old or new versions. I finally gave up and
declared a loss of my buddy list and went with the recommend jabber server
prosody. Too bad the prosody migration scripts needed a dump made by ejabberctl
that it is not able to do on the f22 or the f19 server :P

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/erlang


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2015-05-15 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #7 from Jerry C je...@jtcloe.net ---
comment 2 didn't work for me
comment 5 doesn't even make sense, since the new config format is the yml
format
editing ejabberdctl as suggested in comment6 worked for me.

I did however lose my user database after upgrading and had to re-create all
users.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/erlang


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2015-05-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #5 from Paul Wouters pwout...@redhat.com ---
my problem was that I ended up with /etc/ejabberd/ejabberd.cfg.rpmnew and 
/etc/ejabberd/ejabberd.cfg.rpmsave without leaving any 
/etc/ejabberd/ejabberd.cfg

I copied my rpmsave back and then ejabberd started working again.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/erlang


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2015-05-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812

Paul Wouters pwout...@redhat.com changed:

   What|Removed |Added

 CC||pwout...@redhat.com



--- Comment #4 from Paul Wouters pwout...@redhat.com ---
upgrading f19 to f22 also caused my jabber server to reject everything

ejabberd-14.07-6.fc22.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/erlang


[Bug 1163812] Cannot control ejabberd with ejabberdctl

2015-05-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1163812



--- Comment #6 from Frederik Holden frederik+fed...@frh.no ---
Created attachment 1025103
  -- https://bugzilla.redhat.com/attachment.cgi?id=1025103action=edit
ejabberd-ejabberdctl-fix.patch

The problem with ejabberdctl being denied connection seems to be related to the
.erlang.cookie file. I made a small change to ejabberdctl that fixed this. See
the attached file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
erlang mailing list
erlang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/erlang