Sometimes cPanel Administrators encounter the error, networkmanager is installed and running while we try to install cPanel on Centos 7.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related cPanel queries.
In this context, we shall look into method to resolve this NetworkManager enabled error.
cPanel alongside Web Host Manager facilitates and makes web hosting easy for website administrators.
However, before we proceed to install them, we need to note a few things. We should ONLY install cPanel and WHM on a freshly installed Operating system.
Once done, we cannot remove the software. Though if we wish to remove it, we must reinstall the OS.
To install cPanel and WHM, we must log in as root or as a user with root privileges.
For commercial hosting, we require a license. To obtain the license we must have a public IP address that is static, not a dynamic or internal IP address.
NetworkManager is a daemon that sits on top of libudev and other Linux kernel interfaces. It provides a high-level interface for the configuration of the network interfaces.
This error occurs while we install cPanel on CentOS 7 server:
2021-04-29 17:35:01 593 (ERROR): ********************* ERROR *********************
2021-04-29 17:35:01 594 (ERROR): NetworkManager is installed and running, or
2021-04-29 17:35:01 595 (ERROR): configured to startup.
2021-04-29 17:35:01 596 (ERROR):
2021-04-29 17:35:01 597 (ERROR): cPanel does not support NetworkManager enabled
2021-04-29 17:35:01 598 (ERROR): systems. The installation cannot proceed.
2021-04-29 17:35:01 599 (ERROR):
2021-04-29 17:35:01 600 (ERROR): See https://go.cpanel.net/disablenm for more
2021-04-29 17:35:01 601 (ERROR): information on disabling Network Manager.
2021-04-29 17:35:01 602 (ERROR): ********************* ERROR *********************
2021-04-29 17:35:01 603 (FATAL): Exiting…
Though we install and run the NetworkManager, cPanel may not support them. This can eventually, cause this error.
We recommend you follow the steps given below to fix this error.
1. To begin, we disable the NetworkManager service on CentOS 7 or CloudLinux 7 server. To do so, we use the following commands:
# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service
Output:
[root@server1 home]# systemctl stop NetworkManager.service
[root@server1 home]# systemctl disable NetworkManager.service
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
2. Then we change the "NM_CONTROLLED=no" parameters in each network configuration file. It is under the /etc/sysconfig/network-scripts directory.
3. Eventually, we use the commands below to restart the network service on the server:
# systemctl enable network.service
# systemctl restart network.service
Now, we will be able to install the cPanel without any issue on Centos 7 server.
This article covers how to resolve the error, NetworkManager is installed and running. Basically, this error happens if cPanel does not support NetworkManager-enabled systems.
To fix this error, simply run the commands below and then restart the installation of cPANEL:
$ systemctl stop NetworkManager.service
$ systemctl disable NetworkManager.service