I am experiencing an issue on Centos7 when attempting to start the network service. I receive the below error message.
Failed to start LSB: Bring up/down networking
The issue arised when I realised it wasn't taking my static IP address from the /etc/sysconfig/network-scripts/ifcfg-eth0 file (found below).
DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.0.16 NETMASK=255.255.255.0 HWADDR=B8:27:EB:C3:1E:EC NM_CONTROLLED=no ONBOOT=yes TYPE=Ethernet
On reboot, the device would load with IP address of 192.168.0.7, clearly not that static IP address assigned, and not sure how it is getting information of a DHCP server (which I do have, my router)
I attempted to disable the NetworkManager, as this might have been causing havoc with the network service by issuing the below command.
systemctl stop NetworkManager
and then enable network
systemctl start network
again the same error came up, I then killed the dhclient process, and attempted to start network service once more and again got the same error.
Losing patience, since I did have connectivity to the internet at the time on the server through the DHCP IP, performed a "yum remove Network Manager" and tried a reboot, again to no avail. I'm not sure if that was a good idea or not, but hey it wasn't working anyway.
I seem to have exhausted suggestions I could find on the internet. Wondering if anybody else has any idea what might be going on.
edit: one more note, this is not a VM or related to Virtualisation in any way. This is simply a RaspberryPI 3
Edit: Log entries:
Jan 01 00:00:06 <hostname> systemd: Starting LSB: Bring up/down networking... Jan 01 00:00:06 <hostname> systemd: network.service: control process exited, code=exited status=6 Jan 01 00:00:06 <hostname> systemd: Failed to start LSB: Bring up/down networking Jan 01 00:00:06 <hostname> systemd: Unit network.service entered failed state Jan 01 00:00:06 <hostname> systemd: network.service failed