Openvz / CentOS 7 – Network Manager can break networking

Openvz / CentOS 7 – Network Manager can break networking

If you are getting errors like

[root@us network-scripts]# ifup venet0
Error: no device found for connection ‘System venet0’.
[root@us network-scripts]# ifup venet0:0
Error: no device found for connection ‘System venet0:0’.

 

On a centos7 and openvz machine, stop network manager.

 

[root@us network-scripts]# service NetworkManager stop
Redirecting to /bin/systemctl stop NetworkManager.service
[root@us network-scripts]# chkconfig NetworkManager off
Note: Forwarding request to ‘systemctl disable NetworkManager.service’.
rm ‘/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service’
rm ‘/etc/systemd/system/multi-user.target.wants/NetworkManager.service’
rm ‘/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service’
[root@us network-scripts]# /etc/init.d/network restart
Restarting network (via systemctl):
[ OK ]

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Configure and Install Varnish on CentOS/Ubuntu.

Configure and Install Varnish on CentOS/Ubuntu. In this tutorial we can check how to Configure...

About Zabbix

About Zabbix Zabbix is an open source network monitoring tool. It works with a centralized...

Apache HTTPD Web Server – Details and Installation

Apache HTTPD Web Server – Details and Installation Apache HTTPD is one of the most used web...

Configure and Install PostgreSQL on CentOS 7 and 8

Configure and Install PostgreSQL on CentOS 7 and 8 Configure and Install PostgreSQL on CentOS 7...

Create and Install Self-Signed SSL Certificate on CentOS and Ubuntu

Create and Install Self-Signed SSL Certificate on CentOS and Ubuntu SSL certificate stands for...