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.
31
Information / Re: Roundcube big security issue.
« on: February 20, 2025, 04:09:16 AM »
nano /usr/local/cwpsrv/conf/cwp_services.conf
find location /roundcube {
Add:
location /roundcube/logs/ {
deny all;
}
Example:
find location /roundcube {
Add:
location /roundcube/logs/ {
deny all;
}
Example:
Code: [Select]
location /roundcube {
root /usr/local/cwpsrv/var/services;
index index.html index.htm index.php;
location /roundcube/logs/ {
deny all;
}
location ~ \.php$ {
32
Migration from other control panels / Re: Migration from CWP to CWP
« on: February 19, 2025, 06:47:02 PM »
1) Migration migrates everything. But only to the point of migration. If there are changes to the old servers mail folders or mysql after migration, those will not be reflected on the new server.
2) To change to the new server, you most likely will have to update the glue records at the registrar for your domain name. If you don't use your own nameservers, every DNS entry will have to be updated to point at the new server.
This can be a complicated process on a live website. If you can afford to, give notice to users. Shut down mail and mysql on the old server. Migrate to new server. Change DNS to new server. Once everything is up and running, shut down the old server completely.
If however you need to maintain 100% uptime, you can look into mysql replication and dovecot replication.
2) To change to the new server, you most likely will have to update the glue records at the registrar for your domain name. If you don't use your own nameservers, every DNS entry will have to be updated to point at the new server.
This can be a complicated process on a live website. If you can afford to, give notice to users. Shut down mail and mysql on the old server. Migrate to new server. Change DNS to new server. Once everything is up and running, shut down the old server completely.
If however you need to maintain 100% uptime, you can look into mysql replication and dovecot replication.
33
DNS / Re: This error showing up on my server can't seem get DNS to run.
« on: February 18, 2025, 02:59:48 AM »Hooray, rcschaff is back!
You got my email. Just call me back lol
34
Problems on other RedHat linux servers / Re: I can send and receive messages via the web, but it doesn't work through the...
« on: February 18, 2025, 02:27:17 AM »
FYI. You are not going to get a response from postfix on 465 using telnet. 465 requires SSL authentication. To test it, you must use openssl.
If you receive an appropriate response, then everything should be working, we need to look externally. If you do not get a response from posix, please check /etc/postfix/master.cf and make sure port 465 is indeed enabled.
Code: [Select]
openssl s_client -connect localhost:465
If you receive an appropriate response, then everything should be working, we need to look externally. If you do not get a response from posix, please check /etc/postfix/master.cf and make sure port 465 is indeed enabled.
35
DNS / Re: This error showing up on my server can't seem get DNS to run.
« on: February 18, 2025, 02:17:14 AM »
change that to "journalctl -xeu named"
Will sort the journal file down to just dns
Will sort the journal file down to just dns
36
CentOS-WebPanel GUI / Re: FrontEnd no text
« on: January 08, 2024, 10:28:51 PM »
Please post your browser and version. There was a recent screw-up with some browsers that use a specific service for adblocking that crashed all sites they visited because they allowed NO css or js files to load.
37
CWP API / Re: Error API 404
« on: January 06, 2024, 12:52:47 AM »
You're using GET variables with a POST command. The PHP example clearly shows how to do this.
For the command line
curl -k -X POST -d "key=my_key&action=list" "https://my_server_ip:2304/v1/account"
Code: [Select]
Example in PHP:
$data = array("key" => "MYKEY","action"=>'list');
$url = "https://IPSERVERAPI:2304/v1/account";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt ($ch, CURLOPT_POST, 1);
$response = curl_exec($ch);
curl_close($ch);
For the command line
curl -k -X POST -d "key=my_key&action=list" "https://my_server_ip:2304/v1/account"
39
DNS Manager / Re: rDNS/PTR = FAILED, check with your hosting provider! FAILED
« on: January 04, 2024, 10:27:17 PM »
You're probably right. If they post the same topic again, probably should ban the user

40
Information / Re: Ticket #071161 - Invoice #229529 PAID
« on: January 04, 2024, 08:05:13 PM »
I'm guessing that you're saying that you paid for CWP Pro, and it's not active on your server. If that is the cast, please run /scripts/update_cwp This should force a license check
41
DNS Manager / Re: rDNS/PTR = FAILED, check with your hosting provider! FAILED
« on: January 04, 2024, 08:03:27 PM »
Send an email to whoever hosts your CWP, and request that the "Set the PTR for your ip to (your hostname)"
42
PHP / Re: All versions of PHP-FPM 8.2.x compiles but doesn't work.
« on: January 04, 2024, 06:32:10 AM »
I PM'd you
43
PHP / Re: All versions of PHP-FPM 8.2.x compiles but doesn't work.
« on: January 04, 2024, 06:02:51 AM »
If it's only one domain, try rebuilding that domains config files from the Root Panel
44
PHP / Re: All versions of PHP-FPM 8.2.x compiles but doesn't work.
« on: January 04, 2024, 05:33:33 AM »
check the following.
systemctl | grep php
They all should be running
systemctl | grep php
They all should be running
45
PHP / Re: All versions of PHP-FPM 8.2.x compiles but doesn't work.
« on: January 04, 2024, 05:30:17 AM »
Your test domain is trying to use php-fpm81, which is probably not started. Go to Webserver Domain config and change the php version to 8.2 and see what happens.