Show Posts

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.

Messages - webaits

Pages: [1]
Apache / Apache Log rotator setting for daily logs
« on: August 13, 2022, 04:27:55 AM »
Apache logs files in the /usr/local/apache/domlogs directory and the log format is [].log.

Where and what do I put on the server to have log files rotated daily for each day? Like:

and so on...
and so on...

I was in a hurry and the CWP community/mods/support aren't that enough active.
I'm using the pro version.
So I had to perform the manual migration.
I'm not sure what was causing the issue.

I'm trying to migrate user accounts/database/emails etc from the old CWP pro server to the new CWP free server.
However, I'm facing the error message:

cwp-cwp migration Connection not reached The following error occurred

And the complete account_transfer.log message:

Code: [Select]
export SSHPASS='PASSWORD'; /usr/bin/sshpass -e /usr/bin/ssh -p 5656 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet  root@
test -d /usr/local/cwp/ && echo 'true' || echo 'false'

export SSHPASS=**********;/usr/bin/sshpass -e ssh-copy-id "-p 5656" root@ -o StrictHostKeyChecking=no 2>&1
/usr/bin/ssh -p 2298 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@ test -d /usr/local/cwp/ && echo 'true' || echo 'false' 2>&1

Here is no true or false after the last log line above.

I have already tried everything as shown in the video on the link:

And the command for the source server:
Code: [Select]
ssh root@ -p 5656Outputs

There is no firewall or additional setting like NAT at the host level.
And I have tried migration by disabling the firewall on both sides.

Below is SSH config for reference.
Code: [Select]
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM no
#UsePAM yes also checked

Any help to be able to utilize CWP to CWP migration?


Thank you for the time and perspective solutions.

Not all websites on the server are using WordPress.

The issue was with Varnish's cache.
I was using CWP's community version before and upgraded to Pro.
Then I utilized Varnish with the default configuration.

It is the very first time that any SSL certificate was updated by CWP, post buying the Pro.
And I guess it was the issue. Through it shouldn't happen.

I just flushed out Varnish's cache and it worked.
I'm not sure what would happen on the next SSL renewal of any domain but it is working temporarily.



I tried that without success.
The domain in question is

Also, this issue happens to only the homepage.
All subsequent page requests like ( are served successfully.
Already tried different protocols and a little alternation like this:

Code: [Select]
if (beresp.http.Location == “http://” + {
if (bereq.retries > 2) {
unset beresp.http.Location;
#set beresp.http.X-Restarts = bereq.retries;
} else {
return (retry);

I'm having the same issue and no instruction is provided to tackle such issues.
The community version was working fine and Pro started giving the said trouble.
All site hosted on the server is giving Too many redirects issue. Hence no site-specific .htaccess issue.

Been two days and no success yet.
Thinking to surrender the Pro license.

E-Mail / Send System Email Without Postfix
« on: September 24, 2019, 09:56:06 AM »
I'm using Email service offered by the Domain Registrar to send and receive emails for websites hosted on CWP VPS.
The Registrar provided MX, CNAME, SPF and DKIM records to add to the host DNS manager for each domain which I did and email services are working as expected.

After that, I have stopped Postfix server as well as other Mail related services in CWP. Now as expected, I'm not receiving the system generated emails like LFD notifications, SSH login to the admin address. Which I want to continue to receive.

I've checker following CWP wiki article and a few others.

But I could understand that, in order to receive system emails, I have to run the Postfix server. Is there no other option to perform the same without the need of Postfix as I have running VPS on low memory.

I thought like entering CNAME, MX, SPF, DKIM records for the hostname as its the subdomain of the main domain name. But there is no such DNS configuration file for the hostname within DNS functions. I'm quite less familiar with DNS functionalities.

How do I receive system emails without the involvement of Postfix?


Pages: [1]