Rsync synchronization error handling

Source: Internet
Author: User

Rsync synchronization error handling

Rsync synchronization error handling

1. incorrect user password

@ERROR: auth failed on module testrsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]

Check whether server A stores the password file and server B password file.
Server A password file:/etc/rsyncd. secrets format: username: password
Server B password File:/etc/rsyncd. secrets format: password

2. Occupied Rsync Port

rsyncd version 3.0.6 starting, listening on port 873bind() failed: Address already in use (address-family 2)socket(10,1,6) failed: Address family not supported by protocolunable to bind any inbound sockets on port 873rsync error: error in socket IO (code 10) at socket.c(541) [receiver=3.0.6]

Check whether the port is occupied

> lsof -i:873

3. The Rsync service is not started properly.

rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244) [generator=2.6.9]rsync error: received SIGUSR1 (code 19) at main.c(1182) [receiver=2.6.9]

Note: Most of the reasons for this problem are that the server service is not started properly. Go to the server and check whether the service is started. Then, check/var/run/rsync. if the pid file exists, the simplest way is to kill the started service, then start the service again, or add the script to the system startup service level, and then shutdown the-r now server.

Rsync + inotify implement real-time synchronization and backup of Git data

Rsync for file backup Synchronization

Rsync synchronizes two servers

Remote synchronization of Rsync in CentOS 6.5

Use Rsync in Ubuntu Linux for data backup and Synchronization

Linux uses the Rsync client to synchronize directories with the server for backup

Rsync details: click here
Rsync: click here

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.