Article ID: 126123, created on Jul 9, 2015, last review on Jul 9, 2015

  • Applies to:
  • Plesk Automation

There is an error during the infrastructure check of migration.

Symptoms

Error during infrastructure check of migration:

[INFO] check-infrastructure| Copy the sample file from the source server 'pfu1' (<IP>) to PPA service node 'node_name' (#5, <IP>) using 'rsync'
[ERROR] check-infrastructure| Failed to check connections between source and the destination mail server nodes Exception message: The command "sed -i -e "\|ssh-dss AAAAB3NzaC1kc3MAAACBAOv90+gY14DoROynBNZJJj69qDVyYuBk8UJVsO9MmJwj8YPrTFoxGpfopnfHUjRDp7kurL6JfNLWVw3Q/wDSWnFXSXTZ9fm932IuzpqWVeoJQkUdES5zOSvzIziuJ61CmUDNWwXVW0HTWfB9Z0QPQxMkmUhFQZG2J+rZFcq2D5LnAAAAFQC3vzWCWOtPyvAvIisigLI1+thVrwAAAIEApw20Y0oWsxJtmVFzrXzYNR3RodhBl/YNWe8Kx3QzmCBvh+UskYL/xCJlY09r4qB79yWT1xQ4HLfEKpsDvld+gOpolSVJzFYjCBT+4hfWEIh1e2y7Cuz3m7qxhjB4sqnA+rC+AG4K4enSngd2VMevKwBYWLW5k0ZC9kxAQshePzMAAACASTwngrMebjManEV8tcRuuISBY9r1uQFepzibGCXrZ9NSX0A8XXqttrwFmdnOA3LB0D4AL+PVkMODmQjmVSWrZHcHIhdaaAOnqUtSpmsC/3luXY0F0O6NBzEyddfUD2v33uoZCFM/672nRYH5e363XAPO/nbPKKfFWjXc8LGMJKM= root@<node_name>|d" ~/.ssh/authorized_keys" executed at source server 'pfu1' ('<IP>') returned a non-zero exit code.

There is another error when trying to execute the following command manually from the source server:

[root@host06 .ssh]# sed -i -e "\|ssh-dss AAAAB3NzaC1kc3MAAACBAIMxUA7It89vmIk6X1vDeQXwUHkMwFtglSqcWEH2lGISdbsM5FT027/ofO2Z0Z266DYLnu2TuYGn7RIDOB0XvMhdksOmvHqSUzK/Ddsz/q0X1kAxoq5sasi22tMs6z+RJw2Bslx0iYHNbhSVDE+W8w1unYpUWPdXtM0T4EZ1iF2NAAAAFQDPNWt+Buiy3TrK3B4SmHrSwLtXhQAAAIBwrOsCeG20MnFO++NJ3MkWd+y9iPerag7Ph8FDDzBe4lBUoBGjh4hzyYr/WH7DijRg2jambYFCfri7ig30pFVqhhvnLoNSTQ/Ij+V0YbcD4cDlZbFpKhc//ANM6dWd8mmd3+Bb3AvaWK+UB0iLnMbAiCDT02/G1McJ43CwmMKf/gAAAH9tHlCh+qV+axjfstmPVrVJSGt8oq9JefSjZ99fuEN8vF2J46ZryDBeGV3kMOpa2qC0/vPIWbssn4dBUyJEJm3LyyAT/FBNjPB/zqHkPMdc++RFn1FUsRFvZWqdwG5BOlGayNxzNKWAj/V4oUc1v6TmTPDR9V7xRALIrWPmxv2f root@<node_name>|d" ~/.ssh/authorized_keys
sed: couldn't open temporary file /root/.ssh//sed0lLeej: Permission denied

Cause

Check access rights for the .ssh folder:

[root@host06 ~]# ls -ld /root/.ssh
d--------- 2 root root 4096 Jul 23  2013 .ssh

Migration tool is unable to access this directory and migration fails.

Resolution

Configure correct access rights:

[root@host06 ~]# chmod 700 /root/.ssh
[root@host06 ~]# ls -ld .ssh
drwx------ 2 root root 4096 Jul 23  2013 .ssh

Search Words

check

error

migration

infrastructure

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF