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.