Rsync error Log

Source: Internet
Author: User

Question one:
@ERROR: Chroot failed
Rsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1522) [receiver=3.0.3]

Reason:
The server-side directory does not exist or has no permissions, creating a directory and correcting permissions resolves the issue.

Question two:
@ERROR: Auth failed on module tee
Rsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1522) [receiver=3.0.3]

Reason:
The server side of the module (tee) needs to verify the user name password, but the client does not provide the correct user name password, authentication failed.
Provide the correct user name password to resolve this issue.

Question three:
@ERROR: Unknown module ' tee_nonexists '
Rsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1522) [receiver=3.0.3]

Reason:
The specified module does not exist on the server. Provide the correct module name or modify the server side to the module you want to solve the problem.


Question 1:
Problems encountered on client:
Rsync-auzv--progress--password-file=/etc/rsync.pas [email protected]::backup/home/
Rsync:could not open password file "/etc/rsync.pas": No such file or directory (2)
Password:
@ERROR: Auth failed on module backup
Rsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1506) [receiver=3.0.7]
Encountered this problem: the client side does not set/etc/rsync.pas this file, and when using the rsync command, add this parameter--
Password-file=/etc/rsync.pas

Question 2:
Rsync-auzv--progress--password-file=/etc/rsync.pas [email protected]::backup/home/
@ERROR: Auth failed on module backup
Rsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1506) [receiver=3.0.7]
Encountered this problem: the client side has set/etc/rsync.pas this file, which also set the password 111111, and the server consistent, but
Server segment settings have errors, the server should be set/etc/rsync.pas, the contents of root:111111, where the name of the login is indispensable

Question 3:
Rsync-auzv--progress--password-file=/etc/rsync.pas [email protected]::backup/home/
@ERROR: ChDir failed
Rsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1506) [receiver=3.0.7]
This problem is encountered because the server side of the/home/backup where backup this directory is not set, so hint: ChDir failed

Question 4:
Rsync:write failed on "/home/backup2010/wensong": No space Left on device (28)
rsync error:error in file IO (code one) at RECEIVER.C (302) [receiver=3.0.7]
Rsync:connection unexpectedly closed (2721 bytes received so far) [generator]
Rsync Error:error in Rsync protocol data Stream (code) at IO.C (601) [generator=3.0.7]
Unable to operate because of insufficient disk space.
Available space and used space can be viewed through df/home/backup2010

Issue 5: Network Collection issues
1. Permissions issues
A hint similar to the following: Rsync:opendir "/kexue" (in Dtschannel) Failed:permission denied (13) Note to see if the directory permissions for synchronization are 755
2. Time Out
rsync:failed to connect to 203.100.192.66:connection timed out (110)
Rsync error:error in Socket IO (code ten) at CLIENTSERVER.C (124) [receiver=3.0.5]
Check the server's port NETSTAT–TUNLP, remote Telnet test.
It is possible to set rules to release rsync (873 port) or to shut down the firewall directly because the firewall on the client or server is not able to communicate.

There is also a way in the synchronization process may be prompted to do not have permissions (the synchronization directory plus svcwrsync full permissions, the simpler method is to set Svcwrsync as an administrator)


3. Service not Started
rsync:failed to connect to 10.10.10.170:connection refused (111)
Rsync error:error in Socket IO (code ten) at CLIENTSERVER.C (124) [receiver=3.0.5]
Start service: rsync--daemon--config=/etc/rsyncd.conf
4. Full disk space
Rsync:recv_generator:mkdir "/teacherclubbackup/rsync ..." failed:no space left on device (28)
Skipping any contents from this failed directory * * *
5, CTRL + C or a large number of files
Rsync error:received SIGINT, SIGTERM, or SIGHUP (code) at RSYNC.C (544) [receiver=3.0.5]
Rsync error:received SIGINT, SIGTERM, or SIGHUP (code) at RSYNC.C (544) [generator=3.0.5]
Description: This problem is mostly caused by the service side service is not started normally, to the server to check whether the service has started, and then see if the/var/run/rsync.pid file exists, the simplest way is to kill has started the service, Then start the service again or let the script join the System Start service level and then Shutdown-r now server

6, Xnetid start
Rsync:read error:connection Reset by Peer (104)
Rsync Error:error in Rsync protocol data Stream (code) at IO.C (759) [receiver=3.0.5]
View Rsync logs
Rsync:unable to open configuration file "/etc/rsyncd.conf": No such file or directory
Xnetid find the profile location by default is/etc, creating a soft link depending on the situation. For example:
Ln-s/etc/rsyncd/rsyncd.conf/etc/rsyncd.conf
Or, change the specified default profile path in the/etc/xinetd.d/rsync configuration file.

Rsync Configure:
Configuration one:
Ignore errors
Note: This option is best added, otherwise a lot of crontab often mistakes you do not know, because you can not see every day to see the log, not to add this error is relatively high probability, because any big point of the project and system, disk IO is a bottleneck

Rsync Error:
Error One:
@ERROR: Auth failed on module xxxxx
Rsync:connection unexpectedly closed (bytes read so far)
Rsync Error:error in Rsync protocol data Stream (code) at IO.C (150)
Note: This is because the password is set wrong, unable to log in successfully, check the RSYNC.PWD, whether the spectator suits match. This is also the case when the Rsync service is not started on the server side.

Error Two:
Password file must not being other-accessible
Continuing without password file
Password:
Description: This is because the permissions of the Rsyncd.pwd rsyncd.sec are not correct and should be set to 600. such as: chmod rsyncd.pwd

Error Three:
@ERROR: Chroot failed
Rsync:connection unexpectedly closed (bytes read so far)
Rsync Error:error in Rsync protocol data Stream (code) at IO.C (150)
Description: This is because the path path you set in rsync.conf does not exist and you want to create a new directory to enable synchronization

Error Four:
rsync:failed to connect to 218.107.243.2:no route to host (113)
Rsync error:error in Socket IO (code ten) at CLIENTSERVER.C (104) [receiver=2.6.9]
Description: Firewall problem caused, this best first completely shut down the firewall, the wrong Basic Law is so, whether it is S or c, and ignore errors option problem will also cause

Error Five:
@ERROR: Access denied to www from unknown (192.168.1.123)
Rsync:connection unexpectedly closed (0 bytes received so far) [receiver]
Rsync Error:error in Rsync protocol data Stream (code) at IO.C (359)
Description: This problem is obvious, is the configuration option host allow the problem, beginners like a permit section to make a configuration, and then the same module, resulting in

Error Six:
Rsync error:received SIGINT, SIGTERM, or SIGHUP (code) at RSYNC.C (244) [generator=2.6.9]
rsync error:received SIGUSR1 (code) at MAIN.C (1182) [receiver=2.6.9]
Description: This problem is mostly caused by the service side service is not started normally, to the server to check whether the service has started, and then see if the/var/run/rsync.pid file exists, the simplest way is to kill has started the service, Then start the service again or let the script join the System Start service level and then Shutdown-r now server

Error Seven:
Rsync:read error:connection Reset by Peer (104)
Rsync Error:error in Rsync protocol data Stream (code) at IO.C (604) [sender=2.6.9]
Description: No data exists in the original data directory

Rsync error Log

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.