Name : pmm2-client
Version : 2.27.0
Release : 6.el7
Architecture: x86_64
I use yum install pmm2-client -y
install PMM2, finally,I see this exception:
warning: user pmm-agent does not exist - using root
install: invalid user ‘pmm-agent’
The reason may be that:
[root@dba-monkey02 ~]# useradd -g pmm-agent pmm-agent
useradd: cannot open /etc/passwd
I don’t have permission to add a user, how can I use root instead of reporting an error?
1 Like
The fact that you can’t open /etc/passwd tells me you have other issues with your system. Can you add any users?
1 Like
The system administrator has restricted the creation of new users. For this problem, we can manually create pmm-agent.yaml and start pmm-agent. Will compatibility be considered later?
1 Like
There is no compatibility issue. Your system doesn’t follow standards since creating users is restricted. You have to do it manually. The packaging scripts attempt to automate this but your system is unlike most out there so you have an extra step to do.
1 Like