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.
46
Backup / Re: Restore CWP7 pro from weekly.
« on: March 03, 2025, 06:57:46 PM »
If you did not create backups of the accounts using "new" or "standard" backup system provided by CWP then there is no way restore the account from backup using CWP features. In this case you will have to recreate the accounts incuding their objects (databases, email address, domains) manually and then upload database content using phpMyAdmin, upload all files over FTP. Anyway, it requires some local backup.
UPD:
How to restore the databases from backups created by mysqldump check this page:
https://docs.bitnami.com/aws/infrastructure/mariadb/administration/backup-restore-mysql-mariadb/
UPD:
How to restore the databases from backups created by mysqldump check this page:
https://docs.bitnami.com/aws/infrastructure/mariadb/administration/backup-restore-mysql-mariadb/
47
CentOS 7 Problems / Re: CWP Server FTP Connection Error
« on: March 03, 2025, 08:50:47 AM »
Don't open all ports above 1024 for FTP. Just open the ports used by the FTP daemon:
1. Open the file:
/etc/pure-ftpd/pure-ftpd.conf
2. Find:
'PassivePortRange'
3. Open the ports specified in "PassivePortRange".
CWP uses CSF to manage firewall rules. If you modify the firewall rules manually they can be reset someday. So I recommend you to manage the firewall rules using CSF. The main config file of CWP is:
/etc/csf/csf.conf
Check and update the values of TCP_IN,TCP_OUT,UDP_IN,UDP_OUT to open/close ports.
Actually you need to specify the port range in TCP_IN,TCP_OUT and then restart CSF.
1. Open the file:
/etc/pure-ftpd/pure-ftpd.conf
2. Find:
'PassivePortRange'
3. Open the ports specified in "PassivePortRange".
CWP uses CSF to manage firewall rules. If you modify the firewall rules manually they can be reset someday. So I recommend you to manage the firewall rules using CSF. The main config file of CWP is:
/etc/csf/csf.conf
Check and update the values of TCP_IN,TCP_OUT,UDP_IN,UDP_OUT to open/close ports.
Actually you need to specify the port range in TCP_IN,TCP_OUT and then restart CSF.
48
E-Mail / Re: Can send email but not receive
« on: March 02, 2025, 07:03:13 PM »
If you removed reject_unknown_client from smtpd_client_restrictions and it solved the problem then it means the source mail server is misconfigured a bit. Most likely it has a wrong RDNS record or doesn't have it at all.
49
Other / Re: Completely stuck not able to login to Admin after rest password
« on: March 01, 2025, 12:16:17 PM »
Check CWP log:
/usr/local/cwp/php71/var/log/php-fpm.log
and MySQL log to make sure there are no errors.
/usr/local/cwp/php71/var/log/php-fpm.log
and MySQL log to make sure there are no errors.
50
CentOS-WebPanel Bugs / Re: Cronjob not added from user panel
« on: March 01, 2025, 11:58:16 AM »
I think you missed something and here is why:
Cron just runs the task/script and nothing more. It doesn't connect the task with the website. Therefore if the script executed via cron must send some request to your website but it doesn't happen then it looks like the executed task/script doesn't work or it is blocked blocked by mod_security, etc.
Can you demonstrate us some command from some non working cron task ?
Cron just runs the task/script and nothing more. It doesn't connect the task with the website. Therefore if the script executed via cron must send some request to your website but it doesn't happen then it looks like the executed task/script doesn't work or it is blocked blocked by mod_security, etc.
Can you demonstrate us some command from some non working cron task ?
52
Other / Re: Completely stuck not able to login to Admin after rest password
« on: February 28, 2025, 09:19:10 PM »
I think MaraiDB/MySQL upgrade couldn't cause the error 404.
You get the error 404 because you use a wrong URL to access PHPMyAdmin or some config files of CWP are corrupted/removed.
What error do you get when you try to access the CWP admin panel (https://domain.com:2031/) ?
How did you perform MySQL/MariaDB upgrade ? Can you show the instructions used by you ?
You get the error 404 because you use a wrong URL to access PHPMyAdmin or some config files of CWP are corrupted/removed.
What error do you get when you try to access the CWP admin panel (https://domain.com:2031/) ?
How did you perform MySQL/MariaDB upgrade ? Can you show the instructions used by you ?
53
CentOS-WebPanel Bugs / Re: Cronjob not added from user panel
« on: February 28, 2025, 01:09:25 PM »
Made some tests and was able to recreate the problem. When cron tasks were not executed the following errors appeared in /var/log/cron:
It appeared when the process limist for the account was low.
Therefore edit the account properties in CWP admin panel and increase "Process limit", "Open files".
Code: [Select]
(CRON) CAN'T FORK (child_process): Resource temporarily unavailable
It appeared when the process limist for the account was low.
Therefore edit the account properties in CWP admin panel and increase "Process limit", "Open files".
54
CentOS-WebPanel Bugs / Re: Cronjob not added from user panel
« on: February 27, 2025, 01:20:56 PM »
I use crontasks too and I have no problems with it.
I just recommend you to create some simple test task like this:
and run it using cron. Wait some time then check the file crondate.txt located in the home folder of the user you added the task for. It will contain one or more records if the cron daemon works fine.
I just recommend you to create some simple test task like this:
Code: [Select]
date >> ~/crondate.txt
and run it using cron. Wait some time then check the file crondate.txt located in the home folder of the user you added the task for. It will contain one or more records if the cron daemon works fine.
55
E-Mail / Re: Can send email but not receive
« on: February 27, 2025, 12:58:51 PM »
It looks like there is misconfiguration of the MX records of your domain. Check and make sure they are correct.
Check the MX record using the looks like mxtools:
https://mxtoolbox.com/
Check the MX record using the looks like mxtools:
https://mxtoolbox.com/
56
CentOS 9 Problems / Re: Can not log in control panel
« on: February 26, 2025, 08:48:09 AM »
Try following:
then restart Apache.
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.
57
Information / Re: Content management systems....
« on: February 26, 2025, 07:58:53 AM »
The common recommendations are:
1. Update CWP and CMS periodically to keep them updated.
3. Set secure passwords (enable 2FA if possible)
4. In case of Wordpress, install WP Wordfence or similar for other CMS
5. Install extra CWP security addons for CWP (see Security tab)
6. Order and request to install Secure Kernel:
https://wiki.centos-webpanel.com/cwp-secure-centos-kernel
it is really great security patch.
1. Update CWP and CMS periodically to keep them updated.
3. Set secure passwords (enable 2FA if possible)
4. In case of Wordpress, install WP Wordfence or similar for other CMS
5. Install extra CWP security addons for CWP (see Security tab)
6. Order and request to install Secure Kernel:
https://wiki.centos-webpanel.com/cwp-secure-centos-kernel
it is really great security patch.
58
Information / Re: No CSF on rocky8 install
« on: February 25, 2025, 11:33:05 PM »
Yes, because you install outdated distro and extra steps are required to make it up to date.
59
Aplications / Re: Imagick Error
« on: February 25, 2025, 10:09:30 PM »
The instruction says:
Make sure to replace "phpXX" with path to the correct php version.
Additionally it is explained with more details in other posts of the thread.
Make sure to replace "phpXX" with path to the correct php version.
Additionally it is explained with more details in other posts of the thread.
60
Information / Re: Content management systems....
« on: February 25, 2025, 09:49:44 PM »
What is your question ?