LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   systemctl status = degraded (https://www.linuxquestions.org/questions/linux-newbie-8/systemctl-status-%3D-degraded-4175621125/)

jmgibson1981 01-06-2018 10:41 PM

systemctl status = degraded
 
Ubuntu 16.04 LTS server. Found my systemctl state as degraded. Narrowed to one failed service. This is the service.

I'm at a loss. It may be meaningless. Everything seems to work fine. But it does annoy me. Any suggestions?

Code:

jason@failbox:~$ systemctl status session-2.scope
● session-2.scope - Session 2 of user mcserver
  Loaded: loaded
Transient: yes
  Drop-In: /run/systemd/system/session-2.scope.d
          └─50-After-systemd-logind\x2eservice.conf, 50-After-systemd-user-sessions\x2eservice.conf, 50-Descrip
  Active: failed (Result: resources)

Jan 05 15:34:43 failbox systemd[1]: session-2.scope: Failed to add PIDs to scope's control group: No such process
Jan 05 15:34:43 failbox systemd[1]: Failed to start Session 2 of user mcserver.
Jan 05 15:34:43 failbox systemd[1]: session-2.scope: Unit entered failed state.


ondoho 01-07-2018 04:55 AM

Quote:

Originally Posted by jmgibson1981 (Post 5803156)
Found my systemctl state as degraded.

where are you getting this message?
i just tried
Code:

systemctl state
Unknown operation state.


ckeilah 01-08-2018 06:43 AM

Try:

systemctl status

Mine's "degraded" too. I hate systemd. init was just KISS simple. I miss init.

jsbjsb001 01-08-2018 06:50 AM

Quote:

Originally Posted by jmgibson1981 (Post 5803156)
Ubuntu 16.04 LTS server. Found my systemctl state as degraded. Narrowed to one failed service. This is the service.

I'm at a loss. It may be meaningless. Everything seems to work fine. But it does annoy me. Any suggestions?

So's mine, but I think you'll find it just means some services have failed to start.

The following links will probably help:

https://www.reddit.com/r/archlinux/c...says_degraded/
https://linux-audit.com/auditing-sys...ith-systemctl/

Thanks for the question. We learn something new everyday! yay!

Rickkkk 01-09-2018 11:21 AM

Hey jmgibson1981,

The degraded status means that one or more of the systemd services you have enabled have failed to start. You can further troubleshoot by issuing the following command and investigating the service(s) it identifies in its output:

Code:

systemctl --failed
Cheers.


All times are GMT -5. The time now is 09:50 PM.