Control Web Panel
WebPanel => CentOS 9 Problems => Topic started by: gailclark80 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?
-
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.
-
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.
-
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
-
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!
-
Try following:
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.
-
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
SHA_CRYPT_MAX_ROUNDS 10000
to
SHA_CRYPT_MAX_ROUNDS 5000
or
#SHA_CRYPT_MAX_ROUNDS 10000
Then change the password and you will be able to log in without any problem.