Systemctl remove unit from failed list

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












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.







share|improve this question


























    up vote
    2
    down vote

    favorite
    1












    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.







    share|improve this question
























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      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.







      share|improve this question














      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.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 22 at 11:56

























      asked Jan 22 at 8:25









      Richard Neumann

      489211




      489211




















          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





          share|improve this answer




















          • Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
            – Richard Neumann
            Jan 22 at 8:59










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          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






























          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





          share|improve this answer




















          • Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
            – Richard Neumann
            Jan 22 at 8:59














          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





          share|improve this answer




















          • Thanks. That latter one saved my day. Note to myself: Read man pages more carefully.
            – Richard Neumann
            Jan 22 at 8:59












          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





          share|improve this answer












          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






          share|improve this answer












          share|improve this answer



          share|improve this answer










          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
















          • 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












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Christian Cage

          How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?