Control Web Panel

WebPanel => Updates => Topic started by: Freespirits_GR_Host on October 27, 2023, 03:30:04 PM

Title: After the last Yum updates user can't login to cpanel
Post by: Freespirits_GR_Host on October 27, 2023, 03:30:04 PM
After the latest CWP updates none of my users can login to cpanel.
The error is the same "Failed".

Is there a fast fix for the problem?
Thank you in advance.
Title: Re: Aftera the last Yum updates user can't login to cpanel
Post by: Freespirits_GR_Host on October 27, 2023, 03:32:24 PM
Already tested the following solution but the problem remains.

Code: [Select]
cd /scripts
sh generate_hostname_ssl
sh cwpsrv_rebuild_user_conf
Title: Re: Aftera the last Yum updates user can't login to cpanel
Post by: Freespirits_GR_Host on October 27, 2023, 03:35:13 PM



To the server that I have not run the following updates cpanel still works normally for users.

Code: [Select]
Package Name Version Repository Action
bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind-libs-lite.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind-libs.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind-license.noarch 32:9.11.4-26.P2.el7_9.15 updates Update
bind-utils.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
ca-certificates.noarch 2023.2.60_v7.0.306-72.el7_9 updates Update
kernel-headers.x86_64 3.10.0-1160.102.1.el7 updates Update
kernel-tools-libs.x86_64 3.10.0-1160.102.1.el7 updates Update
kernel-tools.x86_64 3.10.0-1160.102.1.el7 updates Update
kernel.x86_64 3.10.0-1160.102.1.el7 updates Update
libssh2.x86_64 1.8.0-4.el7_9.1 updates Update
nspr.x86_64 4.35.0-1.el7_9 updates Update
nss-softokn-freebl.x86_64 3.90.0-6.el7_9 updates Update
nss-softokn.x86_64 3.90.0-6.el7_9 updates Update
nss-sysinit.x86_64 3.90.0-2.el7_9 updates Update
nss-tools.x86_64 3.90.0-2.el7_9 updates Update
nss-util.x86_64 3.90.0-1.el7_9 updates Update
nss.x86_64 3.90.0-2.el7_9 updates Update
python-perf.x86_64 3.10.0-1160.102.1.el7 updates Update

Title: Re: After the last Yum updates user can't login to cpanel
Post by: Painkiller88 on October 27, 2023, 05:37:36 PM
Hi,

Sure it comes from the updates? It is not a general problem, as i can still login to the user Panels (tested from outside my home network)

Do you make backups from your servers? Are you able to restore a point before the update or make a backup of the other server, then make the updates and try if it is the same problem?
Title: Re: After the last Yum updates user can't login to cpanel
Post by: Freespirits_GR_Host on October 27, 2023, 08:47:58 PM
Hi,

Sure it comes from the updates? It is not a general problem, as I can still login to the user Panels (tested from outside my home network)

Do you make backups from your servers? Are you able to restore a point before the update or make a backup of the other server, then make the updates and try if it is the same problem?

Hello Painkiller88. Yes, that was for sure from the latest updates as I can easily compare it with the other servers. 
I finally managed to fix the issue by restarting the containers.
That was the last thing I usually tried as I needed to keep my servers up.
Thank you for your reply and feedback as It certainly helped me a lot and will save some time from other administrators.  :)
Title: Re: After the last Yum updates user can't login to cpanel
Post by: matejz on November 06, 2023, 06:40:17 PM
I had the same problem after yum update.
Thank you @Freespirits_GR_Host. I can confirm that restarting the containers wil solve the issue.