cPanel Transfer Tool rsync: symlink Issues

BizzHost

Member
Jun 20, 2006
14
0
151
India
We are trying to transfer few accounts from one cPanel server to another cPanel server using WHM Transfer Tool. Both Servers have Cloudlinux 6.8 and WHM 60 with exact PHP modules and CL Modules (alt-php, cagefs etc.)
While Transfer we are seeing large number of rsync: symlink errors. Does someone know what could be causing these errors and any way to fix it ? Any help would be welcome. Thanks

Here is the transfer log

Homedir
Streaming Homedir from source server…
receiving incremental file list
rsync: symlink "/home/username/access-logs" -> "/usr/local/apache/domlogs/username" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php44/link/conf" -> "/opt/alt/php44/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php51/link/conf" -> "/opt/alt/php51/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php52/link/conf" -> "/opt/alt/php52/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php53/link/conf" -> "/opt/alt/php53/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php54/link/conf" -> "/opt/alt/php54/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php55/link/conf" -> "/opt/alt/php55/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php56/link/conf" -> "/opt/alt/php56/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/opt/alt/php70/link/conf" -> "/opt/alt/php70/etc/php.d" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/tmp/.s.PGSQL.5432" -> "/var/run/postgres/.s.PGSQL.5432" failed: No such file or directory (2)
rsync: symlink "/home/username/.cagefs/tmp/mysql.sock" -> "/var/lib/mysql/mysql.sock" failed: Permission denied (13)
rsync: symlink "/home/username/.cphorde/meta/latest" -> "horde.backup.sql.20160815" failed: No such file or directory (2)
rsync: symlink "/home/username/mail/.admin@username_in" -> "username.in/admin" failed: No such file or directory (2)
…100 % …
sent 22.56K bytes received 18.90M bytes 5.41M bytes/sec
total size is 19.14M speedup is 1.01
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [generator=3.0.6]
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

This issue was brought up with CloudLinux in a recent support ticket. CloudLinux offered a workaround of disabling symlink traversal protection in your CloudLinux configuration during the transfer to avoid this problem:

CloudLinux Documentation

Please feel free to open a support ticket with CloudLinux if you have additional questions on the status of this issue:

Cloud Linux Inc - Powered by Kayako Help Desk Software

Thank you.