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

  • Applies to:
  • Plesk Automation

Symptoms

Migration failed during the infrastructure checking. There is the following error in debug.log

The following command has failed:
Command the migrator tried to execute on PPA service node 'PPA-WEB-LINUX-Test' (#5, 91.198.157.115) was: /usr/bin/rsync -e 'ssh -i /root/.ssh/id_dsa.LttONKPw -o StrictHostKeyChecking=no' --archive root@91.198.157.10:/tmp/check-rsync-testfile-web /tmp/check-rsync-testfile-web
exit code: 12
stdout:
stderr: rsync: Failed to exec ssh: Permission denied (13)
rsync error: error in IPC code (code 14) at pipe.c(84) [receiver=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6]

Cause

SELinux is enabled on the destination service node:

[root@PPA tmp]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

Resolution

Disable SELinux with the following steps:

  1. Modify the /etc/selinux/config file as it is shown below:

    SELINUX=disabled
    
  2. Run the following command:

    setenforce 0
    
  3. Reboot the server to apply changes.

Afterwards restart the transfer process.

Search Words

error

migration

rsync

selinux

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF