Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Toc no bullet

Overview

This document describes how to disable the Network Manager service. The Network Manager service automates the network's settings and disrupts connections to the IP addresses that reside in the ipaliases module.

Warning
titleWarning:

You mustdisable the Network Manager service and enable the network.service service before you install cPanel & WHM.

For more information about how to disable the Network Manager service, read RedHat's Disabling Network Manager documentation.

Warning
titleWarnings:
  • cPanel, Inc. does not support the Network Manager service.
  • Exercise extreme caution when you disable the Network Manager. Your server may lose its network services if you do not disable Network Manager correctly.

Disable the Network Manager service

To disable the Network Manager service, perform the following steps:

Warning
titleImportant:

Perform these steps from the server's console in order to prevent any interruption to network connectivity.

  1. Disable Network Manager with the following commands:

    Expand
    titleDisable NetworkManager on CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux...


    Code Block
    languagebash
    linenumberstrue
    service NetworkManager stop
    chkconfig NetworkManager off



    Expand
    titleDisable NetworkManager on CentOS 7, CloudLinux 7, or RHEL 7...


    Code Block
    languagebash
    linenumberstrue
    systemctl stop NetworkManager.service
    systemctl disable NetworkManager.service



  2. Change to the /etc/sysconfig/network-scripts directory.

  3. Open the ifcfg-eth0 and ifcfg-lo files with your preferred text editor and, if they exist, set the following keys' values:

    Code Block
    languagetext
    linenumberstrue
    NM_CONTROLLED=no
    ONBOOT=yes


    Warning
    titleImportant:

    If either of these keys does not exist in your ifcfg-eth0 and ifcfg-lo files, do not add it. Instead, proceed to Step 4.


  4. Run the following commands to restart the network:

    Expand
    titleRestart the network on CentOS 6, CloudLinux 6, RHEL 6, or Amazon Linux...


    Code Block
    languagebash
    linenumberstrue
    chkconfig network on
    service network start



    Expand
    titleRestart the network on CentOS 7, CloudLinux 7, or RHEL 7...


    Code Block
    languagebash
    linenumberstrue
    systemctl enable network.service
    systemctl start network.service 



Additional documentation

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "networking" and label = "whm" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "networking" and label = "cpanel"


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "networking" and label = "whm" and space in (currentSpace(),"ALD")


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "networking" and space = "DD"