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
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 getenforce command.
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)
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.