November 24, 2022, 7:40am
After installing PMM client via Binary package. For one reason I’m getting”Failed to load configuration :open /usr/local/percona/pmm2/config/pmm-agent.yaml:permission denied. Component=main. Even after using sudo I still got PMM-agent not found.
I am using this method to get the client installed and configure because this is “only” way because I can’t reach out to external repo via our proxy(security protocol). Any help would surely be appreciated
November 24, 2022, 11:25am
Could you explain the details of the installation process you followed? If the file exists, but you don’t have access, I guess that you have SELINUX enabled, and the file is not correctly labeled.
Things to check:
Is SELINUX enabled? Use the
If it is, you can try
restorecon -Rv /usr/local/percona/pmm2
If it is, you can also check the errors in /var/log/audit/audit.log (location and name depends of the distro)
Thank you for being an active part of the community.
November 24, 2022, 3:14pm
@Pep_Pla for your response today. I used the binary package.
tar xfz pmm2-client-2.32.0.tar.gz && cd pmm2-client-2.32.0
(3) ran the installer .
Basically this is the link from persona
Client - Percona Monitoring and Management.
Step 5 &7 not clear.
November 25, 2022, 9:50am
Did you execute the install using the root user or your own user?
Step 5 indicates the location where the client will be installed.
Step 7 adds the location of pmm binary files to the path.
Please, paste the exact commands you executed to install and the command you execute to find the error. Also the directory where you executed the command.
November 30, 2022, 6:57pm
Thank you for the response I actually resolved this.