Coder Social home page Coder Social logo

Comments (7)

mperryment avatar mperryment commented on July 2, 2024

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

from galera-manager-support.

denisgcm avatar denisgcm commented on July 2, 2024

Can you please check the contents of /etc/systemd/system/default.target.wants/gmd.service?

It should be exactly as follows:

[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

If it's so, check please if you have /etc/default/gmd in place and /usr/bin/gmd as well.

from galera-manager-support.

mperryment avatar mperryment commented on July 2, 2024

from galera-manager-support.

denisgcm avatar denisgcm commented on July 2, 2024

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 /etc/default/gmd with the following content:

GMD_CONFIG_DIR=/var/lib/gmd
GMD_LOGS_DIR=/var/log/gmd
INFLUXDB_URL=http://INFLUX_USER:INFLUX_PASSWORD@GMD_NGINX_DOMAIN_OR_IP:8081

Note that if you use https, then the port must be 9091.

from galera-manager-support.

mperryment avatar mperryment commented on July 2, 2024

On a clean server installation, getting the selinux issue.

sestatus
SELinux status: disabled

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.
Your choice: a
GMD Package Repository URL (blank for default):
GMD Admin User Login [admin]: admin
GMD Admin Password:
Repeat your entry:
By what domain name or an IP address this service will be reached?
(Note that an externally resolvable domain name is needed to use an external
Certificate Authority, otherwise we will have to resort to self-signed
certificates for SSL if encryption is required):
Enter your domain name or IP of the server: spare2
Enable https? [Y/n] y
Use LetsEncrypt Certbot to autogenerate the certificates [Y/n]: y
รข 2022/08/25 10:25:55 INFO: Setting Repository URL
2022/08/25 10:25:55 INFO: Setting Repository Host
2022/08/25 10:25:55 TRACE: requirements not met, skipping "create_galera_manager_repo"
2022/08/25 10:25:55 INFO: Writing /etc/yum.repos.d/galera-manager.repo
2022/08/25 10:25:55 DEBUG: Writing to /etc/yum.repos.d/galera-manager.repo
2022/08/25 10:25:55 INFO: Adding influxdata repository
2022/08/25 10:25:55 DEBUG: Writing to /etc/yum.repos.d/influxdb.repo
2022/08/25 10:25:55 INFO: Temporarily Disabling SELinux
2022/08/25 10:25:55 INFO: Executing: setenforce Permissive
The installation log is located at /tmp/gm-installer.log
ERRO[0052] command failed (stepName=disable_selinux_temp, commandId=6, commandType=ExecCommand): exit status 1
[[email protected] ~]# ^C
[[email protected] ~]# sestatus
SELinux status: disabled

from galera-manager-support.

denisgcm avatar denisgcm commented on July 2, 2024

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.

from galera-manager-support.

denisgcm avatar denisgcm commented on July 2, 2024

This should be fixed in the latest version of gm-installer.

from galera-manager-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.