cPanel and hosted websites not working after CentOS 7.8 upgrade to AlmaLinux 8

infostrides

Member
Feb 11, 2012
9
0
51
cPanel Access Level
Root Administrator
Help! I have just upgraded my Server OS from CentOS 7.9 to AlmaLinux 8 following the cPanel ELevate guidance. However, after I rebooted the server, I could not access cPanel and hosted websites again.

I still have access to the server via SSH.
 
Last edited by a moderator:

quietFinn

Well-Known Member
Feb 4, 2006
1,899
465
438
Finland
cPanel Access Level
Root Administrator
1st you could check if cPanel and Apache are running:

service cpanel status

service httpd status

If they are ok I'd suspect that firewall is blocking connections to Apache and cPanel ports.
 

infostrides

Member
Feb 11, 2012
9
0
51
cPanel Access Level
Root Administrator
1st you could check if cPanel and Apache are running:

service cpanel status

service httpd status

If they are ok I'd suspect that firewall is blocking connections to Apache and cPanel ports.
For service cpanel status



[[email protected] ~]# service cpanel status
Redirecting to /bin/systemctl status cpanel.service
● cpanel.service - cPanel services
Loaded: loaded (/etc/systemd/system/cpanel.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2023-03-12 05:27:05 EDT; 18s ago
Process: 17457 ExecStart=/usr/local/cpanel/scripts/restartsrv_cpsrvd --no-verbose --notconfigured-ok --systemd-service>
Main PID: 17457 (code=exited, status=127)
Status: "Ready"

Mar 12 05:25:07 dedi.xyz.com systemd[1]: Starting cPanel services...
Mar 12 05:25:07 dedi.xyz.com restartsrv_cpsrvd[17464]: License is valid and has already updated recently.
Mar 12 05:25:07 dedi.xyz.com restartsrv_cpsrvd[17457]: Starting PID 17457: /usr/local/cpanel/libexec/cpsrvd-dorm>
Mar 12 05:25:07 dedi.xyz.com systemd[1]: Started cPanel services.
Mar 12 05:27:05 dedi.xyz.com systemd[1]: cpanel.service: Main process exited, code=exited, status=127/n/a
Mar 12 05:27:05 dedi.xyz.com systemd[1]: cpanel.service: Failed with result 'exit-code'.



For service httpd status



[[email protected] ~]# service httpd status
Redirecting to /bin/systemctl status httpd.service
Unit httpd.service could not be found.
[[email protected] ~]#

 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,280
2,434
363
cPanel Access Level
Root Administrator
I'm sorry you didn't have a positive experience with the ELevate tool. If you have any issues like this in the future, it would be best to open a ticket with our support team so we can review the ELevate logs and try to get more details about what may have gone wrong with the process.