We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

How to Disable Network Manager

How to Disable Network Manager


While installating cPanel WHM you will receive below error :

2018-08-08 06:22:03 166 ( INFO): cPanel & WHM installation started
2018-08-08 06:22:03 165 ( INFO): This installation will require 20-50 minutes, depending on your hardware.
2018-08-08 06:22:03 166 ( INFO): Now is the time to go get another cup of coffee/jolt.
2018-08-08 06:22:03 162 ( INFO): The install will log to the /var/log/cpanel-install.log file.
2018-08-08 06:22:03 161 ( INFO):
2018-08-08 06:22:03 169 ( INFO): Beginning Installation v1…
2018-08-08 06:22:03 656 ( INFO): CentOS 7 (Linux) detected!
2018-08-08 06:22:03 620 ( INFO): Checking RAM now…
2018-08-08 06:22:03 511 ( INFO): Validating that the system hostname (‘-information hidden’) is a FQDN…
2018-08-08 06:22:03 555 ( INFO): Checking for NetworkManager now…
2018-08-08 06:22:03 521 (ERROR): ********************* ERROR *********************
2018-08-08 06:22:03 526 (ERROR): NetworkManager is installed and running, or
2018-08-08 06:22:03 525 (ERROR): configured to startup.
2018-08-08 06:22:03 526 (ERROR):
2018-08-08 06:22:03 522 (ERROR): cPanel does not support NetworkManager enabled
2018-08-08 06:22:03 521 (ERROR): systems. The installation cannot proceed.
2018-08-08 06:22:03 529 (ERROR):
2018-08-08 06:22:03 510 (ERROR): Please consult your system documentation to
2018-08-08 06:22:03 511 (ERROR): remove NetworkManager, replacing it with the
2018-08-08 06:22:03 512 (ERROR): network.service
2018-08-08 06:22:03 511 (ERROR): ********************* ERROR *********************
2018-08-08 06:22:03 516 (FATAL): Exiting…
Removing /root/installer.lock.

Before you install cPanel/WHM on Centos server you will need to disable the Network Manager service and enable the network.service service.

1) Disable Network Manager with the following commands:
# Disable NetworkManager on CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux

service NetworkManager stop
chkconfig NetworkManager off

# Disable NetworkManager on CentOS 7, CloudLinux 7, or RHEL 7

systemctl stop NetworkManager.service
systemctl disable NetworkManager.service

2) Open /etc/sysconfig/network-scripts/ifcfg-eth0 and set below values :

NM_CONTROLLED=no
ONBOOT=yes

3) Restart network service
# Restart the network on CentOS 6, CloudLinux 6, RHEL 6, or Amazon Linux

chkconfig network on
service network start

# Restart the network on CentOS 7, CloudLinux 7, or RHEL 7

systemctl enable network.service
systemctl start network.service

Leave a Reply

Your email address will not be published. Required fields are marked *