cwp-cwp migration Connection not reached The following error occurred

Started by webaits, August 09, 2022, 08:38:32 AM

Previous topic - Next topic

overseer

Quote from: sant0s on September 02, 2022, 07:09:06 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...)

apsuva

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


Starburst


Orlox

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

Starburst

[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

samucamg

I tried to migrate from Almalinux 9 to Almalinux 9 and I have the problem of not being able to connect.
I hired support from CWP itself and asked them to make the connection, they asked me for the data, they couldn't do it, and they made up some excuse. The ticket has been open there for 5 days now.

I think I'll have to give up and do it manually, because the system doesn't even recover the backups generated by the system itself, and it doesn't even connect to make the transfer.

sundar rajamani

cwp migration still working for almalinux 8 previously i have done by using with the above procedure but today that procedure not working any update?

farhan

Quote from: sant0s on September 02, 2022, 07:09:06 AM
Let make simple,

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

It worked for me, thanks mate  :D