Unable to install cPanel: Network Manager

RicardoFC

Member
Oct 21, 2017
20
0
1
Spain
cPanel Access Level
Root Administrator
Hi everyone,

I'm facing an issue I have never faced before, my new server have finally been deployed, I was excited to install cPanel, when the installation started it gave me an error about Network Manager being installed, at first I thought Ok, I'll just follow the instructions here:

How to disable Network Manager on cPanel

Done! I was going to start the installation again and.. the error persists! how? I checked everything and everything was fine!! searching around google I found how to uninstall Network Manager (instead of only disabling it):

yum remove NetworkManager

I thought.. well now that is uninstalled the error will fade away.. but it didn't, it is still showing up when Network Manager have been not only disabled but uninstalled:

[[email protected] home]# service NetworkManager status
Redirecting to /bin/systemctl status NetworkManager.service
● NetworkManager.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)

--- While installating cPanel ---

Beginning main installation.
2017-10-21 18:11:07 844 ( INFO): cPanel & WHM installation started at: Sat Oct 21 18:11:07 2017!
2017-10-21 18:11:07 845 ( INFO): This installation will require 20-50 minutes, depending on your hardware.
2017-10-21 18:11:07 846 ( INFO): Now is the time to go get another cup of coffee/jolt.
2017-10-21 18:11:07 847 ( INFO): The install will log to the /var/log/cpanel-install.log file.
2017-10-21 18:11:07 848 ( INFO):
2017-10-21 18:11:07 849 ( INFO): Beginning Installation v3...
2017-10-21 18:11:07 454 ( INFO): CentOS 7 (Linux) detected!
2017-10-21 18:11:07 470 ( INFO): Checking RAM now...
2017-10-21 18:11:07 531 ( INFO): Validating that the system hostname ('-information hidden') is a FQDN...
2017-10-21 18:11:07 555 ( INFO): Checking for NetworkManager now...
2017-10-21 18:11:07 573 (ERROR): ********************* ERROR *********************
2017-10-21 18:11:07 574 (ERROR): NetworkManager is installed and running, or
2017-10-21 18:11:07 575 (ERROR): configured to startup.
2017-10-21 18:11:07 576 (ERROR):
2017-10-21 18:11:07 577 (ERROR): cPanel does not support NetworkManager enabled
2017-10-21 18:11:07 578 (ERROR): systems. The installation cannot proceed.
2017-10-21 18:11:07 579 (ERROR):
2017-10-21 18:11:07 580 (ERROR): Please consult your system documentation to
2017-10-21 18:11:07 581 (ERROR): remove NetworkManager, replacing it with the
2017-10-21 18:11:07 582 (ERROR): network.service
2017-10-21 18:11:07 583 (ERROR): ********************* ERROR *********************
2017-10-21 18:11:07 584 (FATAL): Exiting...
Removing /root/installer.lock.


How is it possible?

 
Last edited:

RicardoFC

Member
Oct 21, 2017
20
0
1
Spain
cPanel Access Level
Root Administrator
Hello,

After disabling the Network Manager service, did you start the network service? Please let us know the output of the following command:

# systemctl status network
Yes, I did

● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-10-21 18:07:59 EEST; 5h 10min ago
Docs: man:systemd-sysv-generator(8)

Oct 21 18:07:46 systemd[1]: Starting LSB: Bring up/down networking...
Oct 21 18:07:47 network[678]: Bringing up loopback interface: [ OK ]
Oct 21 18:07:47 network[678]: Bringing up interface enp5s0f0:
Oct 21 18:07:53 network[678]: Determining IP information for enp5s0f0.....e?
Oct 21 18:07:53 network[678]: [FAILED]
Oct 21 18:07:58 network[678]: Bringing up interface enp5s0f1: [ OK ]
Oct 21 18:07:59 systemd[1]: network.service: control process exited, co...=1
Oct 21 18:07:59 systemd[1]: Failed to start LSB: Bring up/down networking.
Oct 21 18:07:59 systemd[1]: Unit network.service entered failed state.
Oct 21 18:07:59 systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

I don't know why I'm getting this error now.. :/
 

RicardoFC

Member
Oct 21, 2017
20
0
1
Spain
cPanel Access Level
Root Administrator
Ok, I have fixed that error and now it shows:

Code:
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: active (exited) since Sat 2017-10-21 23:44:15 EEST; 1min 1s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 31996 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)

Oct 21 23:44:15  network[31996]: RTNETLINK answers: File exists
Oct 21 23:44:15  network[31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [31996]: RTNETLINK answers: File exists
Oct 21 23:44:15 [1]: Started LSB: Bring up/down networking.
However, while trying to install cPanel, the issue persists.

If I type service NetworkManager status, this is what I get

Code:
Redirecting to /bin/systemctl status NetworkManager.service
● NetworkManager.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead)
Network Manager is uninstalled.. I don't get why I get the error..
 
Last edited by a moderator:

RicardoFC

Member
Oct 21, 2017
20
0
1
Spain
cPanel Access Level
Root Administrator
Hello,

May you see if you can open a ticket to Customer Service instead? I will see if I can get the ticket moved over to the Technical Support department so that we can assist you in installing cPanel. Please provide me with the ticket ID once it has been created.
Done! Your inquiry’s ID: 8968251

Thank you so much
 

easyswiss

Active Member
PartnerNOC
Apr 19, 2011
40
0
56
Looks like a problem with the new centos 7 minimal iso.

Resolved with:

Ad to the file in /etc/sysconfig/network-scripts/ifcfg-XXXXX
Code:
NM_CONTROLLED=no
ONBOOT=yes
Then
Code:
chkconfig NetworkManager off
Then
Code:
restart
 
Last edited:

AshleyIn1080p

Registered
Oct 21, 2017
4
0
1
Southampton, United Kingdom
cPanel Access Level
Root Administrator
Looks like a problem with the new centos 7 minimal iso.

Resolved with:

Ad to the file in /etc/sysconfig/network-scripts/ifcfg-XXXXX
Code:
NM_CONTROLLED=no
ONBOOT=yes
Then
Code:
chkconfig NetworkManager off
Then
Code:
restart
I've tired this but it still don't work? can't get access to the dedicated machine, i have to use IPMI to get access.
 

AshleyIn1080p

Registered
Oct 21, 2017
4
0
1
Southampton, United Kingdom
cPanel Access Level
Root Administrator
cPanel team helped me out, seems like when I disabled Network Manager it nulled it instead of disabling it, I don't know how they fixed it tho..
I managed to sort it in the end, i disabled it but it was still there on start, so i went through process of uninstalling NetworkManager, masking it and disabling it, then did rm -r on /etc/systemd/system/NetworkManager.service, which seem to have sorted it for me, but not best thing to do, but rebooted and was able to install WHM/cPanel, not had any problems since doing it.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter

medennis6

Registered
Oct 28, 2017
1
0
1
california
cPanel Access Level
Reseller Owner
If it helps anyone, I followed the original instructions, tried everything from this thread, then using "locate NetworkManager.service" found several (mostly broken) links, which I removed. Rebooted and the install worked.
 

jimlongo

Well-Known Member
Mar 20, 2008
237
16
68
The order of these directives in the config file seems to be important. Didn't work when i initially had them flipped around.

/etc/sysconfig/network-scripts/ifcfg-etho

NM_CONTROLLED="no"
ONBOOT="yes"
 
  • Like
Reactions: cPanelMichael