| Josh Cooper I am having this problem since migrating from puppet 5 to puppet 6. Issuing the following command:
sudo puppet agent --noop --debug --verbose |
Results in
Error: Could not run: Could not create PID file: /var/run/puppetlabs/agent.pid |
And doing a sudo service puppet status results in
Feb 26 16:08:25 jira-test-03 puppet-agent[1593]: Shutdown/restart in progress (:restart_requested); skipping run |
Addition information:
ll /var/run/puppetlabs/agent.pid |
-rw-r--r-- 1 root root 4 Feb 19 15:39 /var/run/puppetlabs/agent.pid |
ps auwx | grep puppet |
root 1593 0.0 1.2 347544 49536 ? Ssl Feb19 1:19 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/puppet agent --no-daemonize |
sudo apt list puppet-agent |
Listing... Done |
puppet-agent/xenial,now 6.13.0-1xenial amd64 [installed] |
Is this related to the issue here? Any ideas how to solve as all of my vms agents are stuck due to this issue. |