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.

Topics - 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'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?

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]