Server Administration & Management

cPanel: rsync error

If you have issued the following command

# rsync -av rsync://rsync.cpanel.net/scripts /scripts;chown 0.0 /scripts

And resulting in theĀ  following error message:

rsync: failed to connect to rsync.cpanel.net: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(94)

Here is the fix

cPanel has discontinued the use of rsync and all syncs need to be done using using the following command. Run these commands as root:

# /scripts/cpanelsync httpupdate.cpanel.net /cpanelsync/RELEASE/scripts /scripts

December 19, 2011 Posted by | cPanel | , | Leave a comment