Hello,
i am getting this below error while configuring mysql host:
[root@stg01 rroot]# pmm-admin config --force --server-insecure-tls --server-url=https://admin:password@pmm-server-IP
Checking local pmm-agent status…
pmm-agent is not running. Please re-run pmm-agent setup with --config-file flag.
[root@stg01 rroot]#
Please suggest / provide any fix?
Hello @farhan.ext,
Can you systemctl restart pmm-agent?
Hello,
I did but same error:
[root@stg01 ~]# systemctl restart pmm-agent
[root@stg01 rroot]# pmm-admin config --force --server-insecure-tls --server-url=https://admin:password@pmm-server-IP
Checking local pmm-agent status…
pmm-agent is not running. Please re-run pmm-agent setup with --config-file flag.
[root@stg01 rroot]#
How did you install PMM? Is it possible you installed v1 and not v2?
On RHEL9, this is the correct package: pmm2-client-2.37.1-6.el9.x86_64
If you did yum install pmm-client then you got v1, not v2.
I installed using below command:
rpm -Uvh pmm2-client-2.37.0-6.el7.x86_64.rpm
Can you provide the error logs of PMM-agent after you restarted it? It looks like a clean restart but clearly something didn’t work internally.
Hey Team,
When hitting a similar issue, I found this topic, and found that it also may happen due to SELinux in an enforced state.
It usually happens after reboot of OS, when SElinux was disabled before, but started right after reboot.
Regards,
Denis Subbota.
Managed Services, Percona.