Author Topic: Can not log in control panel  (Read 504 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can not log in control panel
« on: February 19, 2025, 07:28:49 AM »
I purchased a VPS in linode.com today with CentOS Stream 9 (Linode currently only provides CentOS Stream 9).
After installing CWP7 and adding a domain, I found that logging into this domain's control panel failed (https://*****:2083), but I could log in to FTP with the same user and password.

Also, in the WebServer Settings ->SSL Certificate, I found that the Let's Encrypt SSL Certificate was not generated for the domain.
Based on previous experience, Let's Encrypt certificates should be automatically generated.

How can I fix these problems?
« Last Edit: February 19, 2025, 07:32:26 AM by gailclark80 »

Offline
*****
Re: Can not log in control panel
« Reply #1 on: February 19, 2025, 02:24:14 PM »
CentOS Stream is a beta-quality OS, not really suitable for use as a server foundation. Please use AlmaLinux (preferred) or Rocky Linux 9 as the basis for your new server.

Offline
*****
Re: Can not log in control panel
« Reply #2 on: February 19, 2025, 10:39:37 PM »
Their site shows they offer AlmaLinux 8 and 9, as well as custom images.

If you don't need PHP support under 7.4, I would go with AlmaLinux 9.

Offline
*
Re: Can not log in control panel
« Reply #3 on: February 26, 2025, 02:19:50 AM »
I installed AlmaLinux 9 on my VPS.

At this page https://control-webpanel.com/installation-instructions#step4

Which command to use while installing CWP?

Installer for CentOS 8/stream, Alma Linux, and Rocky Linux (recommended)

cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest

or


Installer for CentOS 9/stream, Alma Linux 9, and Rocky Linux 9 (beta)

CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported.

cd /usr/local/src
wget http://centos-webpanel.com/cwp-el9-latest
sh cwp-el9-latest


Offline
*
Re: Can not log in control panel
« Reply #4 on: February 26, 2025, 02:54:27 AM »
I use the below command to install CWP

Installer for CentOS 9/stream, Alma Linux 9, and Rocky Linux 9 (beta)
CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported.

cd /usr/local/src
wget http://centos-webpanel.com/cwp-el9-latest
sh cwp-el9-latest


Also, I rebuilt webserver at WebServer- Select WebServer, Select Nginx & Apache and rebuild, then Apache was stopped and can not restart, it showed the error as below:

Feb 26 02:33:45 172-00-10-100 systemd[1]: Starting Web server Apache...
Feb 26 02:33:45 172-00-10-100 apachectl[5755]: httpd: Syntax error on line 513 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: cannot open shared object file: No such file or directory
Feb 26 02:33:45 172-00-10-100 systemd[1]: httpd.service: Control process exited, code=exited, status=1/FAILURE
Feb 26 02:33:45 172-00-10-100 systemd[1]: httpd.service: Failed with result 'exit-code'.
Feb 26 02:33:45 172-00-10-100 systemd[1]: Failed to start Web server Apache.

Even if I select Apache Only and rebuild the server, Apache still won't start!

Offline
***
Re: Can not log in control panel
« Reply #5 on: February 26, 2025, 08:48:09 AM »
Try following:

Code: [Select]
cd /usr/local/src
wget -O master.zip https://github.com/gnif/mod_rpaf/archive/refs/heads/master.zip
unzip master.zip
cd mod_rpaf-master
/usr/local/apache/bin/apxs -i -c -n mod_rpaf.so mod_rpaf.c

then restart Apache.

Offline
*****
Re: Can not log in control panel
« Reply #6 on: February 26, 2025, 10:16:27 AM »
Please if your computer is running on any distro 9, please do the following to resolve the issue

Find and edit the following file

/etc/login.defs

And Change the following line

Code: [Select]
SHA_CRYPT_MAX_ROUNDS 10000



to
Code: [Select]
SHA_CRYPT_MAX_ROUNDS 5000

or
Code: [Select]
#SHA_CRYPT_MAX_ROUNDS 10000

Then change the password and you will be able to log in without any problem.