Systemctl remove unit from failed list
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
How can I remove a unit from the systemctl --failed
list without rebooting the machine?
Background:
I have, amongst others, the following entry in the list:
â openvpn-server@intranert.service loaded failed failed OpenVPN service for intranert
This happened because I misspelled intranet
, which is the actual productive instance, on the unit template's activation some time ago.
However, I now always get confused at first glance, when I check the server's failed units, since it looks like the productive service actually failed until I recognize the spelling mistake and remember my bygone typo.
systemd daemon maintenance
add a comment |Â
up vote
2
down vote
favorite
How can I remove a unit from the systemctl --failed
list without rebooting the machine?
Background:
I have, amongst others, the following entry in the list:
â openvpn-server@intranert.service loaded failed failed OpenVPN service for intranert
This happened because I misspelled intranet
, which is the actual productive instance, on the unit template's activation some time ago.
However, I now always get confused at first glance, when I check the server's failed units, since it looks like the productive service actually failed until I recognize the spelling mistake and remember my bygone typo.
systemd daemon maintenance
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
How can I remove a unit from the systemctl --failed
list without rebooting the machine?
Background:
I have, amongst others, the following entry in the list:
â openvpn-server@intranert.service loaded failed failed OpenVPN service for intranert
This happened because I misspelled intranet
, which is the actual productive instance, on the unit template's activation some time ago.
However, I now always get confused at first glance, when I check the server's failed units, since it looks like the productive service actually failed until I recognize the spelling mistake and remember my bygone typo.
systemd daemon maintenance
How can I remove a unit from the systemctl --failed
list without rebooting the machine?
Background:
I have, amongst others, the following entry in the list:
â openvpn-server@intranert.service loaded failed failed OpenVPN service for intranert
This happened because I misspelled intranet
, which is the actual productive instance, on the unit template's activation some time ago.
However, I now always get confused at first glance, when I check the server's failed units, since it looks like the productive service actually failed until I recognize the spelling mistake and remember my bygone typo.
systemd daemon maintenance
edited Jan 22 at 11:56
asked Jan 22 at 8:25
Richard Neumann
489211
489211
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Use systemctl
to remove the failed status. To reset all units with failed status:
systemctl reset-failed
or just your specific unit:
systemctl reset-failed openvpn-server@intranert.service
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Use systemctl
to remove the failed status. To reset all units with failed status:
systemctl reset-failed
or just your specific unit:
systemctl reset-failed openvpn-server@intranert.service
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
add a comment |Â
up vote
4
down vote
accepted
Use systemctl
to remove the failed status. To reset all units with failed status:
systemctl reset-failed
or just your specific unit:
systemctl reset-failed openvpn-server@intranert.service
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Use systemctl
to remove the failed status. To reset all units with failed status:
systemctl reset-failed
or just your specific unit:
systemctl reset-failed openvpn-server@intranert.service
Use systemctl
to remove the failed status. To reset all units with failed status:
systemctl reset-failed
or just your specific unit:
systemctl reset-failed openvpn-server@intranert.service
answered Jan 22 at 8:52
sebasth
5,92821641
5,92821641
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
add a comment |Â
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
â Richard Neumann
Jan 22 at 8:59
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f418792%2fsystemctl-remove-unit-from-failed-list%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password