• Contact Us
  • copyright
  • About Us
  • Privacy Policy
  • Devops
  • Linux
Globedrill

cPanel does not support NetworkManager enabled

Linux/29 Dec, 18/1985/0
Linux

cPanel does not support NetworkManager enabled

 

ERROR :
2018-12-29 12:03:38 597 (ERROR): ********************* ERROR *********************
2018-12-29 12:03:38 598 (ERROR): NetworkManager is installed and running, or
2018-12-29 12:03:38 599 (ERROR): configured to startup.
2018-12-29 12:03:38 600 (ERROR):
2018-12-29 12:03:38 601 (ERROR): cPanel does not support NetworkManager enabled
2018-12-29 12:03:38 602 (ERROR): systems. The installation cannot proceed.
2018-12-29 12:03:38 603 (ERROR):
2018-12-29 12:03:38 604 (ERROR): See https://go.cpanel.net/disablenm for more
2018-12-29 12:03:38 605 (ERROR): information on disabling Network Manager.
2018-12-29 12:03:38 606 (ERROR): ********************* ERROR *********************
2018-12-29 12:03:38 607 (FATAL): Exiting…

 

IMPORTANT : You might lose network connectivity if the below steps are not followed correctly.

I saw the above error while trying to install cPanel on Red hat Server 7.6. The error shows you must disable NetworkManager service to proceed with the cPanel installation.

cPanel do not support NetworkManager enabled servers. Do the below steps to disable Network Manager service on red hat/CentOS 7 server.

1. You must log into your server as ‘root’ user

2. Run the below command to stop and disable the NetworkManager service
 

systemctl stop NetworkManager.service
systemctl disable NetworkManager.service

 
The above commands are for RHEL 7 server.

If you are on RHEL 6 servers then execute the below commands instead of above commands.

1. You must log into your server as ‘root’ user

2. Run the below command to stop NetworkManager and the service disable at startup
 

service NetworkManager stop
chkconfig NetworkManager off

 
‘chkconfig NetworkManager off’ and ‘systemctl disable NetworkManager.service’ commands will disable NetworkManager service in all run levels and it will not start on boot.
 

[root@vps network-scripts]# systemctl stop NetworkManager.service

[root@vps network-scripts]# 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.
Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.

 

Go to /etc/sysconfig/network-scripts directory and check the network interface configuration file.

You can use ‘cat’ command to view the content of network interface configuration file.

 

# cat /etc/sysconfig/network-scripts/ifcfg-eth0

# cat /etc/sysconfig/network-scripts/ifcfg-lo

 

If the keys ‘NM_CONTROLLED’ and ‘ONBOOT’ exist in the above files then change it to ‘NM_CONTROLLED=no’
and ‘ONBOOT=yes’.

If these keys doesn’t exist then ‘NO NEED’ to make any changes in the network configuration file.

Now NetworkManager service is disabled. Enable the network.service service before you install cPanel.

Execute the below commands on RHEL 7 server to enable and start the network.service.

 

systemctl enable network.service
systemctl start network.service

 

# systemctl enable network.service
network.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig network on
# systemctl start network.service
# systemctl status network.service

 
If you’re on centOS 6 / RHEL 6 server then run the below command to Enable network.
 

# chkconfig network on
# service network start
# service network status

 
Use the below commands to make sure network.service is enabled and NetworkManager.service is disabled. Now you can proceed with cPanel installation.
 

# systemctl is-enabled network.service
# systemctl is-enabled NetworkManager.service

 

Leave a Reply Cancel reply

.

About Us

Globedrill.com is a website that publishes articles related to Linux and Devops. Globedrill was started on April 2016.

Contact Us

Email : globedrill.c@gmail.com

Globedrill

Copyright © 2016 Globedrill. All Rights Reserved. The content in this website is copyrighted to Globedrill.com and may not be republished either online or offline.

  • About Us
  • Privacy Policy
  • Contact Us
  • copyright