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.