Puppet will not start with message "Error: Could not start Service[nfslock]"
Issue
- While trying to set up Puppet, start fails with the following message:
# puppet agent -t
Warning: Local environment: "production" doesn't match server specified node environment "test1", switching agent to "test1".
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for test1.example.com
Info: Applying configuration version '7e6282c55e07b1bab9e355378125d7c0ceeeac67'
Error: Could not start Service[nfslock]: Execution of '/bin/systemctl start nfs-lock' returned 1: Job for rpc-statd.service failed. See 'systemctl status rpc-statd.service' and 'journalctl -xn' for details.
Wrapped exception:
Execution of '/bin/systemctl start nfs-lock' returned 1: Job for rpc-statd.service failed. See 'systemctl status rpc-statd.service' and 'journalctl -xn' for details.
Error: /Stage[main]/Nfs::Client::Redhat::Service/Service[nfslock]/ensure: change from stopped to running failed: Could not start Service[nfslock]: Execution of '/bin/systemctl start nfs-lock' returned 1: Job for rpc-statd.service failed. See 'systemctl status rpc-statd.service' and 'journalctl -xn' for details.
Environment
- Red Hat Enterprise Linux 7
- Puppet
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
