Bobcares

Rsync error code 10 : How to fix it

by | Jun 15, 2020

rsync error: error in socket IO (code 10) at clientserver.c(122) [sender=3.0.7]
rsync failed!

Rsync error code 10 is a common error message that is triggered while working with rsync. Basically, it occurs when the rsync service is not running in the server.

As part of our Server Management Services for online service providers and website owners, we have seen several other causes for this error.

Today we’ll go through the top cause and fix for this rsync error.

 

Why does rsync operation ends with error 10?

Rsync is a command-line tool that allows local and remote file transfer. This is mostly used for taking backup, transferring files, etc.

But when the rsync tool is not installed/enabled in any of the servers during a remote transfer, rsync operations end with an error code 10.

More specifically, this error is triggered when both the servers are not able to establish a proper connection between them. At times lack of proper password-less authentication between the servers or firewall restrictions can also trigger this error.

 

Rsync is not enabled in the server

The most common reason for this error is rsync not running on the server, probably due to a reboot. To check if this is the case, you can run the following on the server that is supposed to reject the connection (destination):

$ systemctl list-unit-files |grep rsync
rsync.service disabled

This indicates that rsync is disabled in the server. We could fix this error easily by enabling the rsync service.

$ sudo systemctl enable rsync.service
Synchronizing state for rsync.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d rsync defaults
Executing /usr/sbin/update-rc.d rsync enable

Once the service is enabled, the next step is to activate it. It can be done easily with the help of following commands:

$ sudo systemctl start rsync.service

This activates the service. Now we can check the service with:

$ systemctl |grep rsync
rsync.service loaded active running   fast remote file copy program daemon

 

Other common causes of rsync error 10

Apart from the reasons that we mentioned earlier some alternate reasons can also trigger the rsync error 10. These are basically those reasons that create a hindrance in establishing a  secure connection between the two servers.

Firewall restrictions, low time out value of script, are a few among them. The clue about the exact reason can be obtained from the dmesg log. For instance, a sample log entry is shown below:

dmesg | grep rsync
[85852.560086] Out of memory: Kill process 4242 (rsync) score 194 or sacrifice child [85852.562695] Killed process 4243 (rsync) total-vm:121948kB, anon-rss:65752kB, file-rss:4kB – Sparhawk

This confirms that the rsync service it getting terminated due to insufficient memory. The fix here would be to adjust the rsync parameters to reduce the memory usage or to increase the resource availability of the server.

[Need assistance to fix rsync errors? – We’ll help you.]

 

Conclusion

In short, rsync error code 10 occurs when rsync is not enabled/installed in the server. Today, we saw some other possible reasons for this error and how our Support Engineers fixed the rsync errors.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF