This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
286
Information / Re: Difficulty to get a quote
« on: October 04, 2024, 04:26:58 PM »
Hi,
If you want to add links to the Admin section of CWP then you can find the solutions here:
https://forum.centos-webpanel.com/new-modules/how-to-add-custom-built-module-to-left-menu/
https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg28667/#msg28667
(Thanks to rcschaff)
If you want to add links to the Admin section of CWP then you can find the solutions here:
https://forum.centos-webpanel.com/new-modules/how-to-add-custom-built-module-to-left-menu/
https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg28667/#msg28667
(Thanks to rcschaff)

287
SSL / Re: Auto SSL certificate for mail only
« on: October 04, 2024, 04:07:05 PM »
Try to do following:
1. Access your server as root over SSH
2. Go to:
3. Edit the file (make backup of the file before you modify it):
4. Try to request the new SSL via the admin area of CWP.
However, I am not sure if this way is correct to fix the problem.
1. Access your server as root over SSH
2. Go to:
Code: [Select]
/root/.acme.sh/cwp_certs/DOMAIN/
where DOMAIN is the domain name your subdomains are associated with.3. Edit the file (make backup of the file before you modify it):
Code: [Select]
DOMAIN.conf
Remove all objects pointed to a 3rd party server and listed in:Code: [Select]
Le_Domain=
Le_Alt=
Leave only objects (subdomains) pointed to this server. Move some subdomain listed in "Le_Alt" to "Le_Domain".4. Try to request the new SSL via the admin area of CWP.
However, I am not sure if this way is correct to fix the problem.
288
CentOS-WebPanel GUI / Re: Known Issue???
« on: October 04, 2024, 07:40:04 AM »
Anything could cause the problem (ddos attack, resource overusage, etc).
So I recommend you to check the error logs of CWP for investigation:
https://wiki.centos-webpanel.com/service-log-paths
(see the section "CWP server logs and server services logs, including (PhpMyAdmin/Roundcube/API)")
So I recommend you to check the error logs of CWP for investigation:
https://wiki.centos-webpanel.com/service-log-paths
(see the section "CWP server logs and server services logs, including (PhpMyAdmin/Roundcube/API)")
289
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: October 04, 2024, 07:33:18 AM »Quote
I run almalinux 8.9 not centos. I solved it by using a snapshot from the day before.
For some reason your OS is recognized as CentOS. Look at the string below:
Quote
- Status code: 404 for http://mirror.mariadb.org/yum/10.10/centos8-amd64/repodata/repomd.xml (IP: 162.55.42.214)
Quote
I run update and upgrade all the time. I do all the yum updates as well but it's a production vps with lots of sites on it and can't afford for it to be down.
I strongly recommend you to update MariaDB to 10.6 instead of 10.10. The upgrade process to 10.6 should be smooth without any problems.
290
Installation / Re: Recommended CWP Version for fresh install
« on: October 03, 2024, 06:12:57 PM »
Almalinux 8 for production. In case you like pain and problems then look at Almalinux 9 / RockyLinux 9.
291
SSL / Re: Auto SSL certificate for mail only
« on: October 03, 2024, 08:00:20 AM »
As understand you have some domain name (I will call it domain.com) pointed to some IP (1.1.1.1) and want two subdomains webmail.domain.com, mail.domain.com pointed to 2.2.2.2 to be accessible over HTTPS. You are able to request the SSL certificates for the domain.com and subdomains successfully but the subdomains show warning when you access them over HTTPS.
I just recommend you to go to "CWP admin" --> "WebServer Settings" --> "SSL Certificates" --> List installed (tab) --> "Admin Services" near the domain associated with the subdomains you want to apply the SSL for --> "Check the options Webmail, Mail" --> "Apply the changes".
Wait some time and check if the problem is solved.
I just recommend you to go to "CWP admin" --> "WebServer Settings" --> "SSL Certificates" --> List installed (tab) --> "Admin Services" near the domain associated with the subdomains you want to apply the SSL for --> "Check the options Webmail, Mail" --> "Apply the changes".
Wait some time and check if the problem is solved.
292
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: October 03, 2024, 06:59:27 AM »
1. MariaDB 10.10.is EOL. It is better to upgrade MariaDB to 10.6 or 10.11.
2. Centos 8 aren't supported by MariaDB. It is EOL too.
You can upgrade MariaDB on Centos 8 to 10.10 still, but you need to download the binary packages (RPM) and install them manually. So I recommend you to upgrade MariaDB to 10.6 following the instructions:
https://wiki.centos-webpanel.com/mariadb-upgrade-from-10-2-to-10-4
with minor changes.
2. Centos 8 aren't supported by MariaDB. It is EOL too.
You can upgrade MariaDB on Centos 8 to 10.10 still, but you need to download the binary packages (RPM) and install them manually. So I recommend you to upgrade MariaDB to 10.6 following the instructions:
https://wiki.centos-webpanel.com/mariadb-upgrade-from-10-2-to-10-4
with minor changes.
293
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: October 03, 2024, 05:18:32 AM »
Yes. The instructions are still valid with minor changes. You just need to change the line:
Use the current MariaDB version installed on your server as the first argument and the new MariaDB version as the second argument.
Code: [Select]
sed -i 's/10.2/10.4/g' /etc/yum.repos.d/mariadb.repo
Use the current MariaDB version installed on your server as the first argument and the new MariaDB version as the second argument.
294
CSF Firewall / Re: SSH Server - Failed $CRYPTO_POLICY
« on: October 02, 2024, 09:37:34 PM »
Excellent !
REMINDER (for all users): The skills "read logs" and "read docs" increases the possibility to fix the problem up to 90% )
REMINDER (for all users): The skills "read logs" and "read docs" increases the possibility to fix the problem up to 90% )
295
MySQL / Re: Message after upgrading to MariaDB 11.4.x LTS
« on: October 02, 2024, 06:02:36 PM »
Support of MariaDB 11.4.x ends in 4 years and 8 months. I think this is more than enough period time to make smooth switch from mysql to mariadb

296
CentOS 7 Problems / Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
« on: October 02, 2024, 07:38:47 AM »
Does your answer mean "the problem is solved" ?
297
CSF Firewall / Re: SSH Server - Failed $CRYPTO_POLICY
« on: October 02, 2024, 06:34:32 AM »
Did you check /var/log/messages ?
Also, do you use some security addons like SELinux ? What does "sestatus" show ? Run it as root in shell.
Also, do you use some security addons like SELinux ? What does "sestatus" show ? Run it as root in shell.
298
CentOS 7 Problems / Re: CPU 100%
« on: October 02, 2024, 06:08:16 AM »
Check access_logs:
/usr/local/apache/domlogs/
of the websites associated with the user "entrelac". It will help you to understand if the site is under attack or there are some "heavy" requests or the site is bombarded by some bot and then act accordingly.
Additionally. it will be good idea to check "server-status":
https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg48966/?topicseen#msg48966
/usr/local/apache/domlogs/
of the websites associated with the user "entrelac". It will help you to understand if the site is under attack or there are some "heavy" requests or the site is bombarded by some bot and then act accordingly.
Additionally. it will be good idea to check "server-status":
https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg48966/?topicseen#msg48966
299
CSF Firewall / Re: SSH Server - Failed $CRYPTO_POLICY
« on: October 01, 2024, 09:13:40 PM »
Do you get some errors associated with sshd in /var/log/messages ?
Did you modify
Show whole output of "systemctl status sshd.service" and "journalctl -xe".
Did you modify
Code: [Select]
/etc/ssh/sshd_config
recently ?Show whole output of "systemctl status sshd.service" and "journalctl -xe".
300
CentOS 7 Problems / Re: CWP7.PRO - REST API - 404 not found (caused Wordpress not working
« on: October 01, 2024, 03:37:57 PM »
Send some REST API request and then check error logs of the sites and webserver:
/usr/local/apache/logs/error_log
/usr/local/apache/domlogs/DOMAIN.error.log
to investigate problem.
/usr/local/apache/logs/error_log
/usr/local/apache/domlogs/DOMAIN.error.log
to investigate problem.