alexweb

Member
Oct 17, 2017
9
0
1
Alexandria , Egypt
cPanel Access Level
Reseller Owner
Hello,

I am trying to install cpanel on new server with centos 7

After long time of installation process , I got this error :

"The installation process was unable to synchronize cPanel & WHM"

This is the last few lines before error :

wish you can help
 

alexweb

Member
Oct 17, 2017
9
0
1
Alexandria , Egypt
cPanel Access Level
Reseller Owner
Hello alexweb! Could you try running the following scripts afterward?

Code:
/usr/local/cpanel/scripts/find_and_fix_rpm_issues
/usr/local/cpanel/scripts/check_cpanel_rpms --fix
Once completed, try running the installation once more. We look forward to hearing back from you!

Thanks for your reply

I have tried these scripts , then I ran installation again , but after about 2:30 hours I got the error too

These are screenshots from some messages I noticed while installation , and the last one has the final error :


appreciate your support
 

cPJustinD

Administrator
Staff member
Jan 12, 2021
183
36
103
Houston
cPanel Access Level
Root Administrator
It looks like there may be an issue with yum or perhaps its repositories that could be the root of the issue I think it would be best to open a support ticket so that our analysts can review the issue more thoroughly and determine what exactly is occurring. You can submit a support request using the "Submit a ticket" link in my signature below.

Please be sure to link this thread when opening the ticket and provide the ticket number here so that we can track the issue appropriately. If possible, please post the resolution on this thread as it may help other community members with similar issues.
 

alexweb

Member
Oct 17, 2017
9
0
1
Alexandria , Egypt
cPanel Access Level
Reseller Owner
It looks like there may be an issue with yum or perhaps its repositories that could be the root of the issue I think it would be best to open a support ticket so that our analysts can review the issue more thoroughly and determine what exactly is occurring. You can submit a support request using the "Submit a ticket" link in my signature below.

Please be sure to link this thread when opening the ticket and provide the ticket number here so that we can track the issue appropriately. If possible, please post the resolution on this thread as it may help other community members with similar issues.
Thanks for your reply

I am unable to open a ticket
I am using the trial license
when I entered the ip in the ticket , I got : Invalid or Unlicensed IP Address

May be this is the reason of installation failure ??
 

cPJustinD

Administrator
Staff member
Jan 12, 2021
183
36
103
Houston
cPanel Access Level
Root Administrator
That could very well be. With that being said, please email [email protected] so that our customer service team can verify the license and ensure it's updated. If you continue to experience issues with installation after getting the license issue squared away, you should then open a support ticket to investigate these errors.
 

alexweb

Member
Oct 17, 2017
9
0
1
Alexandria , Egypt
cPanel Access Level
Reseller Owner
Hello,
cPanel support activated the trial license , and installed cpanel successfully.
I can access whm and cPanel now using whm.mydomain.com
But https://mydomain.com:2087 doesn't work
even http://mydomain.com:2086 doesn't work
cPanel support told me that I have to open these ports
in fact I don't have any firewall on cpanel yet
and the os : centos 7
I checked ports and I believe they are opened
sudo lsof -i -P -n
cpsrvd 1279 root 4u IPv4 32358 0t0 TCP *:2086 (LISTEN)
cpsrvd 1279 root 5u IPv4 32359 0t0 TCP *:2083 (LISTEN)
cpsrvd 1279 root 6u IPv4 32360 0t0 TCP *:2087 (LISTEN)
cpsrvd 1279 root 11u IPv4 32412 0t0 TCP *:2095 (LISTEN)
cpsrvd 1279 root 12u IPv4 32413 0t0 TCP *:2096 (LISTEN)

I don't know what is the problem .
please advise
 

kodeslogic

Well-Known Member
Apr 26, 2020
293
103
118
IN
cPanel Access Level
Root Administrator
Check if firewalld is active on your server with the below command:


Code:
# systemctl status firewalld.service

If it is active then you can open cPanel/WHM ports with the below commands:

Code:
# firewall-cmd --permanent --add-port=2082/tcp
# firewall-cmd --permanent --add-port=2083/tcp
# firewall-cmd --permanent --add-port=2086/tcp
# firewall-cmd --permanent --add-port=2087/tcp
# firewall-cmd --permanent --add-port=2095/tcp
# firewall-cmd --permanent --add-port=2096/tcp
# firewall-cmd --reload
 

alexweb

Member
Oct 17, 2017
9
0
1
Alexandria , Egypt
cPanel Access Level
Reseller Owner
Check if firewalld is active on your server with the below command:


Code:
# systemctl status firewalld.service

If it is active then you can open cPanel/WHM ports with the below commands:

Code:
# firewall-cmd --permanent --add-port=2082/tcp
# firewall-cmd --permanent --add-port=2083/tcp
# firewall-cmd --permanent --add-port=2086/tcp
# firewall-cmd --permanent --add-port=2087/tcp
# firewall-cmd --permanent --add-port=2095/tcp
# firewall-cmd --permanent --add-port=2096/tcp
# firewall-cmd --reload
Many thanks for your reply
firewall is active
systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor pr eset: enabled)
Active: active (running) since Sun 2021-06-13 02:10:40 EET; 13h ago


And ips already added .
I tried to add them again , and I got :
[[email protected] ~]# firewall-cmd --permanent --add-port=2087/tcp
Warning: ALREADY_ENABLED: 2087:tcp
success

I think all needed ports are open .
any other suggestions ?
 

kodeslogic

Well-Known Member
Apr 26, 2020
293
103
118
IN
cPanel Access Level
Root Administrator
Temporary stop firewalld with below command and try:

Code:
systemctl stop firewalld.service

To start
Code:
systemctl start firewalld.service
 
  • Like
Reactions: cPRex

HostNoc

Well-Known Member
Feb 20, 2020
78
11
8
Ontario
cPanel Access Level
Root Administrator
HI
Please tray to acces WHM from IPif it is working then make sure your domain is pointed to that IP address of server.
Bcoz your mentioned URL will only work once you pointed your domain to that IP

Regards
 
  • Like
Reactions: cPRex