Rsync synchronization error handling and rsync synchronization error

Source: Internet
Author: User

Rsync synchronization error handling and rsync synchronization error

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:
This problem occurs mostly because 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 service that has been started, start the service again, or add the script to the system startup service level, and then shutdown the-r now server.

Hot recommendations

  • LNMP environment setup-Nginx

  • Configure the local YUM source in RHEL6.5

  • Installing and using Zabbix in Ubuntu

  • Troubleshooting of MySQL dual-master hot standby

  • Rsync synchronization error handling
  • Fix Elementary Boot Screen (plymouth UTH)
    After Installing Nvidia Drivers
  • LNMP environment setup-MySQL
  • Shell Step by Step (3) -- Stdin & if
  • Shell Step by Step (4) -- Cron & Echo

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger | Copyright©2011-2015, Kallen Ding, All Rights Reserved.

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.