How to clear systemctl error message after yum erase?
After using yum -y erase drbd-heartbeat-8.4.2-2.fc18.x86_64 drbd-bash-completion-8.4.2-2.fc18.x86_64 drbd-utils-8.4.2-2.fc18.x86_64 drbd-kernel-8.4.2-2.fc18.x86_64 drbd-udev-8.4.2-2.fc18.x86_64 drbd-8.4.2-2.fc18.x86_64 drbd-pacemaker-8.4.2-2.fc18.x86_64 drbd-xen-8.4.2-2.fc18.x86_64
running systemctl
reports
$ systemctl status drbd.service
drbd.service
Loaded: error (Reason: No such file or directory)
Active: failed (Result: timeout) since Sun 2013-06-09 12:18:16 EDT; 1h 6min ago
Running sudo systemctl daemon-reload
does not help.
Update: running $ sudo systemctl daemon-reexec
does not help.
What can I do to tell systemd not to expect drbd.service other than reboot?
I'm not sure if I follow you. You uninstalled all drdb stuff and consequently the service is not running... that seems fine to me, what do you expect?
Back in the good old days of
chkconfig --del
I never saw error messages fromchkconfig --list
after a service was deleted. Now I get$ systemctl --full | grep drbd.service
outputtingdrbd.service ... error failed failed drbd.service
But the error is because you have uninstalled drbd!! That is what I'm trying to explain to you, or I missed something?
Read the original post above, especially the bottom line. That is the question. How have you answered it? You have not provided any procedures that would answer "how".
OK @Ken Stailey, I just wanted to help you. Good luck!