"Failed to start LSB: Bring up/down networking" after OEL 7 VM build
I imported newly built OEL 7.7 VM from Oracle VirtualBox to an ODA (Oracle Database Appliance).
Upon starting up the VM, the network was showing as being up for device "eth0" however the /etc/sysconfig/network-scripts/ifcfg-eth0 was existent at the moment. I restarted the network service but received the "Failed to start LSB: Bring up/down networking" error.
I followed the below steps to resolve this error.
1. Stop and disable the NetworkManager service.
# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service
2. Enable the network service.
# systemctl enable network.service
3. Create the ifcfg-eth0 and populate with the appropriate information.
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
contents:
TYPE=Ethernet
BOOTPROTO=static
NAME=eth0
DEVICE=eth0
ONBOOT=yes
IPADDR=<IP_ADDRESS>
NETMASK=<SUBNET_MASK>
GATEWAY=<DEFAULT_GATEWAY>
4. Restart the network.
# service network restart
5. Check to see that the IP address is up and pingable.
# ip addr show
[root@localhost ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:16:3e:2a:e4:33 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.10/24 brd 192.168.10.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:3eff:fe2a:e433/64 scope link
valid_lft forever preferred_lft forever
# ping 192.168.10.10
6. Remove any other miscellaneous ifcfg-e* files
# cd /etc/sysconfig/network-scripts
# rm ifcfg-enp0s3
Upon starting up the VM, the network was showing as being up for device "eth0" however the /etc/sysconfig/network-scripts/ifcfg-eth0 was existent at the moment. I restarted the network service but received the "Failed to start LSB: Bring up/down networking" error.
I followed the below steps to resolve this error.
1. Stop and disable the NetworkManager service.
# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service
2. Enable the network service.
# systemctl enable network.service
3. Create the ifcfg-eth0 and populate with the appropriate information.
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
contents:
TYPE=Ethernet
BOOTPROTO=static
NAME=eth0
DEVICE=eth0
ONBOOT=yes
IPADDR=<IP_ADDRESS>
NETMASK=<SUBNET_MASK>
GATEWAY=<DEFAULT_GATEWAY>
4. Restart the network.
# service network restart
5. Check to see that the IP address is up and pingable.
# ip addr show
[root@localhost ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:16:3e:2a:e4:33 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.10/24 brd 192.168.10.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:3eff:fe2a:e433/64 scope link
valid_lft forever preferred_lft forever
# ping 192.168.10.10
6. Remove any other miscellaneous ifcfg-e* files
# cd /etc/sysconfig/network-scripts
# rm ifcfg-enp0s3
Comments