Author Topic: cwp-cwp migration Connection not reached The following error occurred  (Read 8507 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
Re: cwp-cwp migration Connection not reached The following error occurred
« Reply #15 on: March 03, 2023, 06:25:47 AM »
on new server copy Public Key from: # cat /root/.ssh/id_rsa.pub
and paste Public key to Old server: # nano /root/.ssh/authorized_keys
And to be clear, this had no bearing on my connection difficulties. I already had my SSH key pair in place and it was in the authorized_keys, so that was not the issue. I too experienced the "Connection not reached - the following error occurred" error message before running down my solution list. (For sure, it was the standing on the head part that solved it...)

Offline
*
Re: cwp-cwp migration Connection not reached The following error occurred
« Reply #16 on: June 09, 2024, 11:05:41 AM »
I am trying to move server on (AlmaLinux release 9.4). Cwp to Cwp Migration error is "Connection not reached". Terminal is working but cwp to cwp module is not working.

on server terminal;

[root@server /]# export SSHPASS=xxxxxxx; /usr/bin/sshpass -e /usr/bin/ssh -p1111 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet  root@111.111.111.111
[root@ server /]# test -d /usr/local/cwp/ && echo 'true' || echo 'false'
true


on site cwp-to-cwp save after log file;

[root@server /]# tail -f /var/log/cwp/account_transfer.log
2024-06-09 10:57:49 export SSHPASS=**********;/usr/bin/sshpass -e ssh-copy-id "-p 1111" root@111.111.111.111 -o StrictHostKeyChecking=no 2>&1
2024-06-09 10:57:49 /usr/bin/ssh -p 1111 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@111.111.1111 test -d /usr/local/cwp/ && echo 'true' || echo 'false' 2>&1
2024-06-09 10:57:49 false


Offline
*****
Re: cwp-cwp migration Connection not reached The following error occurred
« Reply #17 on: June 10, 2024, 06:26:16 PM »
CWP Migration doesn't work on AL9 & CWP beta yet.

Offline
*
Re: cwp-cwp migration Connection not reached The following error occurred
« Reply #18 on: December 28, 2024, 07:33:20 PM »
I had to run:
export SSHPASS=mypasshere
and then
sshpass -e ssh-copy-id -p 22 -o StrictHostKeyChecking=no root@111.11.11.111 (old server ip)

also dance naked in the rain

Offline
*****
[Off Topic]

No one wants that last line.

Kinda like when waffle stomping in the shower doesn't work, sometimes you gotta go outback with a pressure washer...  ;D

Not sure why the neighbor's don't talk...  :o