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
Suggestions / Re: pause a domain
« on: March 04, 2025, 07:49:21 PM »
A workaround is to convert the addon-domain to a full account and suspend that account. You can always remove the account and re-add back as an addon-domain again.
32
E-Mail / Re: Can send email but not receive
« on: March 02, 2025, 08:07:36 PM »in fresh install i need to comment smtpd_client_restrictions = reject_unknown_client
in postfix/main.cfg
This is not safe. You have opened up your mail server to possibly used as a spam server. You need to find the root issue of the problem.
As cyberspace said, you have no valid rDNS value for the IP https://dnschecker.org/reverse-dns.php?query=78.36.107.76. YOu need to contact your host to updated your PTR record to your servername.
33
Apache / Re: Job for httpd.service failed because the control process exited with error code.
« on: March 02, 2025, 08:04:10 PM »
post the output of "journalctl -xeu httpd"
Most likely though is that it is looking for a ssl certificate/key that doesn't exist.
Most likely though is that it is looking for a ssl certificate/key that doesn't exist.
34
Other / Re: Completely stuck not able to login to Admin after rest password
« on: March 02, 2025, 02:12:29 AM »
Seems like you changed your mysql password as well. check /root/.my.cnf and see if you can log into mysql with mysql -p using the password from the file
35
Other / Re: Completely stuck not able to login to Admin after rest password
« on: March 01, 2025, 03:55:32 AM »
your root password is your ssh root password. However, you cannot put html special charatters (&"'<>) in your password, or it will not allow login.
36
Information / Re: No CSF on rocky8 install
« on: February 26, 2025, 02:02:55 AM »Quote
https://control-webpanel.com/installation-instructions#step3
Before any installation you should have run yum -y update. Doing so should alert you to any potential issues with yum
37
Backup / Re: external backup of mysql database to linux server using bash
« on: February 24, 2025, 08:30:37 PM »
mysqldump and scp if you don't want to open you mysql to the world.
38
Information / Re: Roundcube big security issue.
« on: February 20, 2025, 07:22:13 PM »Won't this get overwritten on CWP updates?
Most likely. But it's a solution that the coders can implement when they see it on the forum
39
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$ {
40
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.
41
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
42
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:465If 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.
43
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
44
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.
45
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"
