I've noticed that every time I turn on my PC, there is a line in red. My PC is pretty fast so I don't get to read the problem. I haven't experienced or noticed any problem with my system, but I'm curious.
I've run systemctl --failed and I get the following output.
UNIT LOAD ACTIVE SUB DESCRIPTION
● networking.service loaded failed failed Raise network interfaces
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
systemctl status networking.service then outputs the following.
networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled
Active: failed (Result: exit-code) since Sun 2019-07-14 20:59:05 AWST; 4min 27s ago
Docs: man:interfaces(5)
Process: 799 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE
Main PID: 799 (code=exited, status=1/FAILURE)</code></pre><pre><code>sudo journalctl _SYSTEMD_UNIT=networking.service</pre><code><pre><code>
-- Logs begin at Sun 2019-07-14 20:59:03 AWST, end at Sun 2019-07-14 21:06:14 AWST. --
Jul 14 20:59:05 debian dhclient[863]: Internet Systems Consortium DHCP Client 4.4.1
Jul 14 20:59:05 debian dhclient[863]: Copyright 2004-2018 Internet Systems Consortium.
Jul 14 20:59:05 debian ifup[799]: Internet Systems Consortium DHCP Client 4.4.1
Jul 14 20:59:05 debian ifup[799]: Copyright 2004-2018 Internet Systems Consortium.
Jul 14 20:59:05 debian ifup[799]: All rights reserved.
Jul 14 20:59:05 debian ifup[799]: For info, please visit https://www.isc.org/software/dh
Jul 14 20:59:05 debian dhclient[863]: All rights reserved.
Jul 14 20:59:05 debian dhclient[863]: For info, please visit https://www.isc.org/softwar
Jul 14 20:59:05 debian dhclient[863]:
Jul 14 20:59:05 debian ifup[799]: Cannot find device "eth0"
Jul 14 20:59:05 debian dhclient[863]: Failed to get interface index: No such device
Jul 14 20:59:05 debian ifup[799]: Failed to get interface index: No such device
Jul 14 20:59:05 debian ifup[799]: If you think you have received this message due to a b
Jul 14 20:59:05 debian ifup[799]: than a configuration issue please read the section on
Jul 14 20:59:05 debian ifup[799]: bugs on either our web page at www.isc.org or in the R
Jul 14 20:59:05 debian ifup[799]: before submitting a bug. These pages explain the prop
Jul 14 20:59:05 debian ifup[799]: process and the information we find helpful for debugg
Jul 14 20:59:05 debian ifup[799]: exiting.
Jul 14 20:59:05 debian dhclient[863]:
Jul 14 20:59:05 debian dhclient[863]: If you think you have received this message due to
Jul 14 20:59:05 debian dhclient[863]: than a configuration issue please read the section
Jul 14 20:59:05 debian dhclient[863]: bugs on either our web page at www.isc.org or in t
Jul 14 20:59:05 debian dhclient[863]: before submitting a bug. These pages explain the
Jul 14 20:59:05 debian dhclient[863]: process and the information we find helpful for de
Jul 14 20:59:05 debian dhclient[863]:
Jul 14 20:59:05 debian dhclient[863]: exiting.
Jul 14 20:59:05 debian ifup[799]: ifup: failed to bring up eth0</code></pre>
What is happening? Is anything wrong with my system?