-
Notifications
You must be signed in to change notification settings - Fork 2
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
Installer not working correctly - and GMD not starting. #38
Comments
addition information, if run via the CLI working fine. gmd run --influxdb-url='http://xxxx:xxxx@spare1.:8086' --bind-address=x.x.x.x:8000 --rsa-private-key=/var/lib/gmd/jwt-rsa.key |
Can you please check the contents of It should be exactly as follows:
If it's so, check please if you have |
ls -lah /usr/bin/gmd
-rwxr-xr-x. 1 root root 51M Jul 7 08:30 /usr/bin/gmd
systemctl cat gmd.service
# /usr/lib/systemd/system/gmd.service
[Unit]
Description=gmd - galera manager daemon
After=network.target
[Service]
EnvironmentFile=/etc/default/gmd
User=gmd
Group=gmd
LimitNOFILE=65536
#Restart=on-failure
Type=simple
ExecStart=/usr/bin/gmd run $ARGS
[Install]
WantedBy=default.target
But no /etc/default/gmd created on installation.
Please note the Restart=on-failure is commented out as it tries to restart to quickly.
Aug 23 12:15:29 spare1 systemd[1]: gmd.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Aug 23 12:15:29 spare1. systemd[1]: Unit gmd.service entered failed state.
Aug 23 12:15:29 spare1 systemd[1]: gmd.service failed.
Aug 23 12:15:30 spare1 systemd[1]: gmd.service holdoff time over, scheduling restart.
Aug 23 12:15:30 spare1 systemd[1]: Stopped gmd - galera manager daemon.
Aug 23 12:15:30 spare1 systemd[1]: start request repeated too quickly for gmd.service
Aug 23 12:15:30 spare1. systemd[1]: Failed to start gmd - galera manager daemon.
Aug 23 12:15:30 spare1 systemd[1]: Unit gmd.service entered failed state.
Aug 23 12:15:30 spare1 systemd[1]: gmd.service failed.
|
I noted that you use influxdb outside of gmd installation. This is unsupported currently. You should use a bundled influx installation. Also, the next version of the installer will be able to fix a broken installation. But currently to fix it manually, you should create a missing file
Note that if you use https, then the port must be 9091. |
On a clean server installation, getting the selinux issue. sestatus INFO[0000] OS Detected: RedHat / CentOS Linux / Linux / Core / 7.9.2009 Do you accept the License Agreement? [a] to accept; [r] to read agreement; or [n] to reject. |
This should be fixed now in the new version of the installer. You can even run it on over an existing installation, it will reconfigure/repare it accordingly. |
This should be fixed in the latest version of gm-installer. |
gm-installer-latest.txt
gm-installer version 1.8.0 (linux/amd64)
CentOS Linux release 7.9.2009 (Core)
As we don't use IPv6 I had to remove IPv6 from nginx before starting the
installer.
Setting it the permissive got me pass the first error.
/etc/selinux/config
SELINUX=permissive
thank you for choosing Galera Manager! I am sorry seeing issues with
gm-installer.log
The text was updated successfully, but these errors were encountered: