I had actually uninstalled pmm-client package and re-installed it again using package manager(debian), I am using ubuntu 20.0.4 , I have successfully installed the pmm-client , but I am unable to register it with the server.
The pmm-server is up and running and the dashboard is also accessible.
this is the command i used to register the pmm-client to pmm-server
pmm-admin config --server-insecure-tls --server-url=https://admin:firstname.lastname@example.org:443 10.57.58.72 generic stg-sanjana102
My ip-addresses are correct and they are pingable too.
the error I am facing is,
Checking local pmm-agent status…
pmm-agent is running.
Registering pmm-agent on PMM Server…
Failed to register pmm-agent on PMM Server: Post “https://10.57.58.215:443/v1/management/Node/Register”: Service Unavailable.
Please help me with this.
Does this work?
curl -k https://10.57.58.215:443/swagger/
If this returns failure, then you have some sort of firewall issue or your pmm server container was not configured correctly to map ports.
This is the output of the command
curl: (56) Received HTTP code 503 from proxy after CONNECT
and the firewall is inactive.
I have 3 nodes in total and previously they were connected and running, but now they are’nt.
I was previously using mariadb 10.3.34 , now I have uninstalled it and I am using mariadb 10.5.6 version.
so i have was having issues in starting mariadb service, hence on one of my node i have uninstalled pmm client , then I have configured a 3 node galera cluster and now when i try to install pmm-client and register I am getting this error
Does your PMM web UI work? I would try restarting the container too.
I have stopped and restarted the pmm-server container and yes my pmm web UI is working.
Still the same error , unable to register the pmm-client with pmm-server.
Can someone please help me out with this? I am unable to proceed further.
If you need faster support please contact us directly. These are community-powered forums from volunteer efforts. Percona MySQL support services for better application performance
Thank you, i see the numbers provided is for business related help, I am a learner and trying to learn new softwares so i don’t think i can get any support from there right?
Correct. If you’re trying to learn on your own then you can post here but you need to be patient and not demand that people help you. The people that answer posts here are volunteering their free time to help the community.
Okay, thank you, will be patient and sorry if it sounded like I was demanding.
Issue is resolved, it was a very strange problem, actually when i was trying to register the node i was logged in as root user (sudo su) , I simply exited from sudo su and tried to register the pmm-agent using sudo pmm-admin config --server-insecure-tls --server-url=https://admin:email@example.com:443 10.57.58.72 generic stg-sanjana102
It worked this time.
I still don’t know why this problem exists, i have also unregistered the agent and again logged into root and tried to register again which again failed, but when i exit sudo su it works.