In this exercise, you will troubleshoot and resolve service errors upon start of the `pmcd` service.
*This course is not approved or sponsored by Red Hat.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Resolve the startup issue with pmcd.
Attempt to start the
pmcd
service:systemctl start pmcd
If the service fails to start, take a look at the details:
systemctl status -l pmcd
Note the "Drop-In" file
/etc/systemd/system/pmcd.service.d/dependency.conf
.View the contents of this file and note any directives referencing other services:
cat /etc/systemd/system/pmcd.service.d/dependency.conf
Attempt to start the
pmlogger
service:systemctl start pmlogger
If the service won’t start, perform the same exercise as above with
pmcd
.Resolve the cyclical dependency by modifying the
pmcd
drop-in file fromAfter=pmlogger.service
toBefore=pmlogger.service
.Start the
pmcd
service.- Configure pmcd to start by default.
Enable
pmcd
to startup upon reboot:systemctl enable pmcd