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.
376
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".
377
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.
378
Installation / Re: Installation guide wrong
« on: October 01, 2024, 03:34:51 PM »
CentOS Stream 8 has reached end of life on May 31, 2024.
Use Almalinux 8/9 or Rocky Linux 8/9 or Oracle Linux 8 for CWP.
I recommend to use Almalinux 8.
Use Almalinux 8/9 or Rocky Linux 8/9 or Oracle Linux 8 for CWP.
I recommend to use Almalinux 8.
379
Installation / Re: Best solution for migrate active server from Centos 7 to another distro
« on: October 01, 2024, 01:30:10 PM »
There is no "best" scenario because it depends on many factors. Some factors are your system administration skill and linux knowledge. So if you are very skilled system administrator and knows how linux works then you can try to Elevate your server/VPS to Almalinux 8/9. If you aren't very skilled then prepare a new fresh server and migrate your accounts from the old server to new using CWP migration tools.
Please don't be offended but if you ask such questions and need "step by step" instructions then it means you have average system administration skills and linux knowledge. Therefore you could be unable to fix unmet dependencies during the ELevating. That is why I think the way of migration/transfer should be best for you.
Please don't be offended but if you ask such questions and need "step by step" instructions then it means you have average system administration skills and linux knowledge. Therefore you could be unable to fix unmet dependencies during the ELevating. That is why I think the way of migration/transfer should be best for you.
380
CSF Firewall / Re: unlock ip
« on: September 30, 2024, 12:29:41 PM »
CWP doesn't have API calls for CSF to manage firewall rules, blocked/allowed IPs.
381
Installation / Re: ClamAV will not start - keeps disabling
« on: September 30, 2024, 12:23:26 PM »
1. Open CWP admin and go to "Email" --> "MailServer Manager", make sure "ClamAV, Amavis & Spamassassin, Requires 2Gb+ RAM" is checked (enable other options if necessary) then "Rebuild Mail server" (button at the bottom section of the page).
2. Wait some time and check the output to make sure all services are installed and run successfully.
If ClamAV doesn't work then access the server as root over SSH and try:
Pay attention to free RAM of your VPS/server because Clamd likes to eat RAM a lot
2. Wait some time and check the output to make sure all services are installed and run successfully.
If ClamAV doesn't work then access the server as root over SSH and try:
Code: [Select]
systemctl enable clamd
service clamd startPay attention to free RAM of your VPS/server because Clamd likes to eat RAM a lot
382
CentOS Configuration / Re: How to setup user quotas ?
« on: September 29, 2024, 11:05:54 AM »
Did you check real disk usage using "du", repquota, etc ? Are there some files located outside of the account and owned by your user ?
383
CentOS 9 Problems / Re: Monit do not have the PHP-FPM83 configuration file
« on: September 28, 2024, 11:16:58 AM »
I don't use Monit personally and can't tell you why CWP doesn't configure it to monitor php-fpm for PHP 8.3. Anyway, review this tutorial:
https://www.awsmonster.com/cwp-how-to-monitor-cwp-server-services
it should help you to understand where Monit's config files are stored. Therefore you can add the necessary settings for php-fpm of php 8.3 using the settings for php-fpm of php 8.1, 8.2. etc. I do believe the changes will be minor.
https://www.awsmonster.com/cwp-how-to-monitor-cwp-server-services
it should help you to understand where Monit's config files are stored. Therefore you can add the necessary settings for php-fpm of php 8.3 using the settings for php-fpm of php 8.1, 8.2. etc. I do believe the changes will be minor.
384
I can build it / Re: Apache Status - Accesses
« on: September 26, 2024, 06:26:28 PM »
In case the server is configured to use the webserver config like: Nginx+Apache, Nginx+Varnish+Apache then the script must be changed to:
Additionally, to see the reals IPs of the visitors the module mod_rpaf should be replaced with the module mod_remoteip in the main apache config and configured accordingly. In other case the main IP address of the server will be shown as the visitor's IP.
Code: [Select]
<?php
// Apache Status - Accesses v0.4
$url = "http://localhost:8181/server-status";
$ch_session = curl_init();
curl_setopt($ch_session, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch_session, CURLOPT_URL, $url);
$result_url = curl_exec($ch_session);
echo $result_url;
?>Additionally, to see the reals IPs of the visitors the module mod_rpaf should be replaced with the module mod_remoteip in the main apache config and configured accordingly. In other case the main IP address of the server will be shown as the visitor's IP.
385
PHP / Re: Update default PHP version but keep old websites running the current version
« on: September 26, 2024, 05:57:29 PM »Quote
Therefore, what about the PHP 7.4?
Is it still OK to use PHP 7.4 for the main server?
Actually, PHP 7.4 is EOL:
https://www.php.net/supported-versions.php
If you want to change it then you can do it here:
CWP admin --> PHP Settings --> PHP Version Switcher.
On my optinion, PHP 8.1 or any higher version will be ok.
It will change the PHP version used by the main webserver too and leave PHP-FPM versions intact.
386
E-Mail / Re: End-toEnd Encryption of emails
« on: September 26, 2024, 05:45:20 PM »
I think you can find detailed answers about ETEE on the FAQ section of the Thunderbird's website here:
https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq
Actually, you don't need to install any extra software on the server to support ETEE. You just need to add/import keys (public/private) to each mail application you use to manage emails.
https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq
Actually, you don't need to install any extra software on the server to support ETEE. You just need to add/import keys (public/private) to each mail application you use to manage emails.
387
PHP / Re: Update default PHP version but keep old websites running the current version
« on: September 26, 2024, 04:03:23 PM »
To check which version of PHP is used by the website create a .php script with the following content:
in the document root (home folder) of the website and then access it over:
http://domain.com/script.php
Remove the script after the test for security reasons.
Also, what do you get when you run:
Code: [Select]
<?php
phpinfo();
?>in the document root (home folder) of the website and then access it over:
http://domain.com/script.php
Remove the script after the test for security reasons.
Also, what do you get when you run:
Code: [Select]
php -vin the command prompt (shell) of your server ?388
Installation / Re: Install fresh or elevate to Alma 8?
« on: September 26, 2024, 03:09:44 PM »
I recommend to install a fresh server, configure it according to your requirements and then migrate all accounts from the old server to new.
If you upgrade your current server using "elevate" then some software requirements/dependencies could be unmet and it will fail the whole migration process. So if you want to upgrade using elevate then it is better to make backup/snapshot of the production server before upgrade.
If you upgrade your current server using "elevate" then some software requirements/dependencies could be unmet and it will fail the whole migration process. So if you want to upgrade using elevate then it is better to make backup/snapshot of the production server before upgrade.
390
PHP / Re: can't install new php version on PHP-FPM
« on: September 26, 2024, 09:48:14 AM »Do you have any solution for this issue?
It looks like the provided build log is incomplete. There are a lot of errors like "No such file or directory".
If you have similar problem then try to build/update PHP and then provide us with your build log.
