How to disable Network Manager on Centos 7

blog background image

If you want to install cPanel on the latest centos 7 servers then sometime you will face an error network manager. 

 

On this article, I describe how to disable the Network Manager service and allows the interface to be managed only by network service.

 

1. To check which are the interfaces managed by NetworkManager

# nmcli device status

This displays a table that lists all network interfaces along with their STATE. If Network Manager is not controlling an interface, its STATE will be listed as unmanaged. Any other value indicates the interface is under Network Manager control.

 

2. Stop the NetworkManager service:

# systemctl stop NetworkManager

3. Disable the service permanently:

# systemctl disable NetworkManager

4. To confirm the NetworkManager service has been disabled

# systemctl list-unit-files | grep NetworkManager

5. Add the below parameter in /etc/sysconfig/network-scripts/ifcfg-ethX of interfaces that are managed by NetworkManager to make it unmanaged.

NM_CONTROLLED="no"

Now again run cPanel install command.

For more info, you can check: https://go.cpanel.net/disablenm 

For Redhut Linux Follow this Article: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/3/html/Installation_and_Configuration_Guide/Disabling_Network_Manager.html

Related Blog Post

Create, collaborate, and turn your ideas into incredible products with the definitive platform for digital design.

What are NFT Domains?

02 February 2022

What are NFT Domains?

NFT domains are new web extensions that are deployed using ERC 721 and Polygon Network, except .zil which uses Zilliqa.

Read More
How to Delete a MySQL® Database

01 January 2022

How to Delete a MySQL® Database

This document describes how to manually delete a MySQL® database from a cPanel & WHM server. This is useful if, for exa

Read More
How to get Transfer Authorization Code from GoDaddy

11 November 2021

How to get Transfer Authorization Code from GoDaddy

To transfer your domain with us then must need EPP Code.

Read More
How to Enable Two-Factor Authentication (2FA) on Toshost

11 November 2021

How to Enable Two-Factor Authentication (2FA) on Toshost

If you want better account security, you should set up Two-Factor Authentication. With 2-Step Verification, you’ll pro

Read More
Why are my "system backups" not being transported to my "additional backup" destination?

11 November 2021

Why are my "system backups" not being transported to my "additional backup" destination?

If your cPanel system backups are not being automatically transported to your additional backup destination when backups

Read More
ভার্চুয়াল মেশিন কি - কিভাবে কাজ করে এবং এর ব্যাবহার।

10 October 2021

ভার্চুয়াল মেশিন কি - কিভাবে কাজ করে এবং এর ব্যাবহার।

ভার্চুয়াল মেশিন হলো এক ধরনের সফটওয়্যার কম্

Read More

Got a question!

Contact us at