I have just installed Centos 7 on my HTPC which was running 6 up till now . I get a boot error as well as errors in the log stating that network.service is failed and dead . Looking at the status I can see:
Code: Select all
root@htpc /etc/sysconfig/network-scripts # systemctl status network.service
network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network)
Active: failed (Result: exit-code) since Wed 2014-07-23 00:02:22 EST; 18h ago
Process: 1108 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Jul 23 00:02:21 htpc.homenet network[1108]: Bringing up loopback interface: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Jul 23 00:02:21 htpc.homenet network[1108]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Jul 23 00:02:21 htpc.homenet network[1108]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Jul 23 00:02:21 htpc.homenet network[1108]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Jul 23 00:02:21 htpc.homenet network[1108]: [ OK ]
Jul 23 00:02:21 htpc.homenet network[1108]: Bringing up interface enp5s0: Error: Connection activation failed: Connection 'enp5...s time.
Jul 23 00:02:22 htpc.homenet network[1108]: [FAILED]
Jul 23 00:02:22 htpc.homenet systemd[1]: network.service: control process exited, code=exited status=1
Jul 23 00:02:22 htpc.homenet systemd[1]: Failed to start LSB: Bring up/down networking.
Jul 23 00:02:22 htpc.homenet systemd[1]: Unit network.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Code: Select all
root@htpc /etc/sysconfig/network-scripts # cat /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
Code: Select all
root@htpc /etc/sysconfig/network-scripts # systemctl start network.service
root@htpc /etc/sysconfig/network-scripts # systemctl status network.service
network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network)
Active: active (exited) since Wed 2014-07-23 18:38:09 EST; 4s ago
Process: 21215 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet network[21215]: RTNETLINK answers: File exists
Jul 23 18:38:09 htpc.homenet systemd[1]: Started LSB: Bring up/down networking.
r
Best Regards
Milorad