Sysytemctl Status- Active(Exited) and Active(Running).

Who_Am_I

Member
Apr 25, 2017
41
64
0
ලංකාවේ
:oo: What is the meaning of Active(Exited) and Active(Running)??? :oo:

attachment.php


attachment.php
 

Attachments

  • exited.PNG
    exited.PNG
    8 KB · Views: 102
  • running.PNG
    running.PNG
    11.6 KB · Views: 100
Last edited:

imhotep

Well-known member
  • Mar 29, 2017
    14,824
    8
    35,333
    113
    active(exited) implies that it was run but there isn't a daemon to monitor. The service seems to be running. Is it?
    Are there any exit codes? Check whether there's any reference from journalctl.
     

    Who_Am_I

    Member
    Apr 25, 2017
    41
    64
    0
    ලංකාවේ
    active(exited) implies that it was run but there isn't a daemon to monitor. The service seems to be running. Is it?
    Are there any exit codes? Check whether there's any reference from journalctl.

    Yes the service is running. I have done some research on this and what I found is there might be no daemon running for the service. Will it be cause for the running service if there is no any daemon?

    It says
    code=exited, status=0/SUCCESS
     

    imhotep

    Well-known member
  • Mar 29, 2017
    14,824
    8
    35,333
    113
    Yes the service is running. I have done some research on this and what I found is there might be no daemon running for the service. Will it be cause for the running service if there is no any daemon?

    It says
    code=exited, status=0/SUCCESS

    That's exactly what I meant... Did you check the journalctl entries?
    systemd simply tells that the service was run, exited 0 and thus fine. The service is ok but the daemon is missing.
     
    Last edited:

    Who_Am_I

    Member
    Apr 25, 2017
    41
    64
    0
    ලංකාවේ
    That's exactly what I meant... Did you check the journalctl entries?
    systemd simply tells that the service was run, exited 0 and thus fine. The service is ok but the daemon is missing.

    Hmm. So it is actually not a problem that service is running without a daemon. I mean if the daemon is missing. No I didn't check the journalctl entries.