-
Notifications
You must be signed in to change notification settings - Fork 6
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
pinguctl not working when path to admin socket is explicitly set #5
Comments
I managed to isolate and correct the problem - argument parsing in the pinguctl.c source. Patch attached. Please check it to make sure I didn't commit some C heresy. ;) If you rather have me submit a pull request, just let me know.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am using pingu with non-default paths, set -a for the admin socket and pointed it to
/var/run/pingu/pingu-2.ctl
. Pingu daemon runs fine but I am not able to query status info with pinguctl.When running
pinguctl -a /var/run/pingu/pingu-2.ctl gateway-status
the return code is 0 but no info is printed. Pinguctl successfuly opens the socket and then closes it right away.When I have socket in the default location,
pinguctl gateway-status
works fine butpinguctl -a path_to_default_socket_location gateway-status
fails. Command specificaton (host-status, gateway-status does not matter).Using git.8c9b53c built on CentOS7.
systemd unit:
strace of failing pinguctl (notice missing commnication with socket):
The text was updated successfully, but these errors were encountered: