While installing cPanel on Centos 7 getting NetworkManager enabled error.
You can follow below steps to fix this issue.
1) You will need disable NetworkManager service on CentOS 7 or CloudLinux 7 server by using the following commands.
You will see the below output on the server.
2) then change the "NM_CONTROLLED=no" parameters in each network configuration file under /etc/sysconfig/network-scripts directory.
3) and then use the following commands to restart the network service on the server
Now, you will be able to install the cPanel without any issue on your Centos 7 server.
Code:
Beginning main installation. 2018-02-20 23:10:20 777 ( INFO): cPanel & WHM installation started at: Tue Feb 20 23:10:20 2018! 2018-02-20 23:10:20 778 ( INFO): This installation will require 20-50 minutes, depending on your hardware. 2018-02-20 23:10:20 779 ( INFO): Now is the time to go get another cup of coffee/jolt. 2018-02-20 23:10:20 780 ( INFO): The install will log to the /var/log/cpanel-install.log file. 2018-02-20 23:10:20 781 ( INFO): 2018-02-20 23:10:20 782 ( INFO): Beginning Installation v3... 2018-02-20 23:10:20 456 ( INFO): CentOS 7 (Linux) detected! 2018-02-20 23:10:20 472 ( INFO): Checking RAM now... 2018-02-20 23:10:20 532 ( INFO): Validating that the system hostname ('server1.hosthungry.com') is a FQDN... 2018-02-20 23:10:20 556 ( INFO): Checking for NetworkManager now... 2018-02-20 23:10:20 585 (ERROR): ********************* ERROR ********************* 2018-02-20 23:10:20 586 (ERROR): NetworkManager is installed and running, or 2018-02-20 23:10:20 587 (ERROR): configured to startup. 2018-02-20 23:10:20 588 (ERROR): 2018-02-20 23:10:20 589 (ERROR): cPanel does not support NetworkManager enabled 2018-02-20 23:10:20 590 (ERROR): systems. The installation cannot proceed. 2018-02-20 23:10:20 591 (ERROR): 2018-02-20 23:10:20 592 (ERROR): See https://go.cpanel.net/disablenm for more 2018-02-20 23:10:20 593 (ERROR): information on disabling Network Manager. 2018-02-20 23:10:20 594 (ERROR): ********************* ERROR ********************* 2018-02-20 23:10:20 595 (FATAL): Exiting... Removing /root/installer.lock.
You can follow below steps to fix this issue.
1) You will need disable NetworkManager service on CentOS 7 or CloudLinux 7 server by using the following commands.
Code:
systemctl stop NetworkManager.service systemctl disable NetworkManager.service
Code:
[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.
3) and then use the following commands to restart the network service on the server
Code:
systemctl enable network.service systemctl restart network.service
Comment