Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

join_cluster needs more exported global variables #498

Closed
alxndr42 opened this issue Mar 28, 2015 · 4 comments
Closed

join_cluster needs more exported global variables #498

alxndr42 opened this issue Mar 28, 2015 · 4 comments

Comments

@alxndr42
Copy link

I had to export more global variables in ejabberdctl for the join_cluster command to work:

# export global variables

In its current state, I am getting "unbound variable" errors. Adding ERLANG_NODE, KERNEL_OPTS and SPOOL_DIR did the trick for me.

@cromain
Copy link
Contributor

cromain commented Mar 30, 2015

there is a glitch in the packaging. joincluster and leavecluster should be in bin directory instead of lib/ejabberd-15.03/priv/bin to make it able to eval variables correctly. i'll fix this.

@cromain
Copy link
Contributor

cromain commented Apr 21, 2015

script moved to bin directory on installer, and improved to find ejabberdctl on standard installation.
fixed in 63926ef

@cromain cromain closed this as completed Apr 21, 2015
@alxndr42
Copy link
Author

This is still necessary for me in 15.10 (I compile from source with --prefix=/opt/ejabberd). In addition, I now have to export ERL as well.

joudinet added a commit to joudinet/ejabberd that referenced this issue Nov 5, 2015
As joincluster needs access to both variables and functions defined by
ejabberdctl shell script, a simple way is to set positional parameters
and source the joincluster script from within ejabberdctl.

This should fix processone#498, processone#676, and processone#807.
erszcz pushed a commit to erszcz/ejabberd that referenced this issue Nov 7, 2015
…d-starttls

ejabberd_c2s: Omit features on required STARTTLS.
@lock
Copy link

lock bot commented Jun 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 12, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants