rsync error messages always in English (= never translated)?
I want to recognize and handle some rsync error messages in my log files (containing also the --itemize-changes output) on different computers with different language/locale settings. Can I rely on rsync to create only English error messages to have a stable pattern to recognize? PS: In the source code at https://github.com/WayneD/rsync I could not see any indication of message translations... -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Invalid dir index: -826 (-101 - -825) [receiver] -- rsync error: protocol incompatibility (code 2) at rsync.c(370) [receiver=3.2.5]
Hi, folk. I got some problem when running this command on client side: # rsync -avPH --chown=root:wheel --chmod=D755,F644 --delete --exclude ads --exclude backup rsync://192.168.0.100/data /mnt/DATA receiving incremental file list Invalid dir index: -826 (-101 - -825) [receiver] rsync error: protocol incompatibility (code 2) at rsync.c(370) [receiver=3.2.5] unexpected tag 62 [receiver/inc] In server/client side, I use similar version OS which's 13.1-RELEASE-p1. And here rsync version that I have: server# pkg info rsync rsync-3.2.5 Name : rsync Version: 3.2.5 Installed on : Sat Aug 20 13:33:47 2022 WIB Origin : net/rsync Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : net Licenses : GPLv3+ Maintainer : rodr...@freebsd.org WWW: http://rsync.samba.org/ Comment: Network file distribution/synchronization utility Options: DOCS : on FLAGS : on ICONV : on POPT_PORT : off RENAMED: off SSH: on ZLIB_BASE : on Shared Libs required: libzstd.so.1 libxxhash.so.0 liblz4.so.1 libiconv.so.2 Annotations: FreeBSD_version: 1300139 cpe: cpe:2.3:a:samba:rsync:3.2.5:freebsd13:x64 repo_type : binary repository : FreeBSD Flat size : 824KiB Description: rsync is a replacement for rcp that has many more features. rsync uses the "rsync algorithm" which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. This makes rsync a good remote file distribution/synchronization utility in a dialup PPP/SLIP environment. Note, requires rsync on the destination machine. There is a Computer Science Technical Report on the rsync algorithm is included in the distribution, and is available as ftp://samba.anu.edu.au/pub/rsync/tech_report.ps WWW: http://rsync.samba.org/ client# pkg info rsync rsync-3.2.5 Name : rsync Version: 3.2.5 Installed on : Sat Aug 20 13:43:46 2022 WIB Origin : net/rsync Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : net Licenses : GPLv3+ Maintainer : rodr...@freebsd.org WWW: http://rsync.samba.org/ Comment: Network file distribution/synchronization utility Options: DOCS : on FLAGS : on ICONV : on POPT_PORT : off RENAMED: off SSH: on ZLIB_BASE : on Shared Libs required: libzstd.so.1 libxxhash.so.0 liblz4.so.1 libiconv.so.2 Annotations: FreeBSD_version: 1300139 cpe: cpe:2.3:a:samba:rsync:3.2.5:freebsd13:x64 repo_type : binary repository : FreeBSD Flat size : 824KiB Description: rsync is a replacement for rcp that has many more features. rsync uses the "rsync algorithm" which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. This makes rsync a good remote file distribution/synchronization utility in a dialup PPP/SLIP environment. Note, requires rsync on the destination machine. There is a Computer Science Technical Report on the rsync algorithm is included in the distribution, and is available as ftp://samba.anu.edu.au/pub/rsync/tech_report.ps WWW: http://rsync.samba.org/ So, this affected to several removing directory on client side. But without option --delete is fine. Thanks. -- Regards, Budi Janto OpenPGP_signature Description: OpenPGP digital signature -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: deflate on token returned 0 - rsync error: error in protocol data stream
Hi, Heiko Schlittermann via rsync (Mi 20 Okt 2021 10:56:51 CEST): > Hello, > > we're using rsync on SLES 12 SP 5 on both sides (for detailed version > info see below) and we're experiencing the following issue on the > sender's side: … > deflate on token returned 0 (22199 bytes left) > rsync error: error in rsync protocol data stream (code 12) at token.c(427) > [sender=3.1.3] I manged to create a reproducer: https://code.schlittermann.de/heiko/rsync-bug/src/commit/d8176333f8ef08b7dbf7957c83055677cddcc080/bug Several times in a row if successfully reproduced the issue on SLES12SP5, using Rsync 3.1.3 (connection to localhost, so identical rsyncs on both sides of the connection) If you can confirm that this is a bug that is fixed already, then it would be enough for us for pushing the Distro maintainer to backport the fix or whatever their policy allows. ==8<-- #!/bin/bash set -eu size=1029 cd ${1:?Usage $0 DIR} echo - echo rsync: $(rsync --version | grep version) hostnamectl | grep 'Operating System' | sed 's/^\s*//' echo -- echo Creating src file ${size}MiB dd status=progress if=/dev/urandom of=fail-src bs=1M count=$size iflag=fullblock echo Local copy to avoid initial transfer cp -a fail-{src,dst} echo Touch source touch fail-src echo Trigger the bug now rsync -Pv -z fail-src localhost:$PWD/fail-dst ==8<-- Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --- key ID: F69376CE - signature.asc Description: PGP signature -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
deflate on token returned 0 - rsync error: error in protocol data stream
Hello, we're using rsync on SLES 12 SP 5 on both sides (for detailed version info see below) and we're experiencing the following issue on the sender's side: ``` etc/test/windows2019_x86_64_20210929.gz deflate on token returned 0 (22199 bytes left) rsync error: error in rsync protocol data stream (code 12) at token.c(427) [sender=3.1.3] ``` This happens with 1 out of about 4'000'000 files. Transfer w/o compression works without any issues. Question: Bug or feature? The options we're using are: ``` rsync', --rsh'=> "ssh -q -i $arg{privatekey} -l $arg{user}", --rsync-path' => "sudo $arg{user}", # content '--archive',# implies --links (-l), --recursive (-r) '--hard-links', (map { ('--exclude' => $_) } @{ $arg{exclude} }), $arg{delete} eq 'yes' ? '--delete' : (), # transfer '--compress', '--partial', '--bwlimit' => $arg{bwlimit}, # logging '--stats', '--verbose', '--log-file'=> $arg{rsynclogfile}, '--log-file-format' => 'Modified %i %n%L', ``` Detailed version information: ``` rsync version 3.1.3 protocol version 31 Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, symtimes, prealloc, SLP rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. ``` Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --- key ID: F69376CE - signature.asc Description: PGP signature -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error
On 25/06/2020 13:18, Madhurananda Pahar via rsync wrote: > Hello everybody, > > I am having a funny problem while using rsync as a tool to > back-up my files: > > [sender] expand file_list pointer array to 524288 bytes, did move. > > I am just wondering if you had this issue before and if you know a way > to solve this, please share with me. > > Many thanks, > Dr. Madhurananda Pahar. That's just a debug message, letting the developers know when the file list had to be expanded, and whether it had to be moved (by realloc(3)) as a result -- because that case introduces the particular hazard that some other code might have kept a pointer to the old array. So this message would be useful if one were debugging a random crash, to know whether it only happened when the file list grew to a certain size, or when it was relocated during expansion. > if (DEBUG_GTE(FLIST, 1) && flist->malloced != FLIST_START) { > rprintf(FCLIENT, "[%s] expand file_list pointer array to %s > bytes, did%s move\n", > who_am_i(), > big_num(sizeof flist->files[0] * flist->malloced), > (new_ptr == flist->files) ? " not" : ""); > } > It's not an error of any sort, and you're only seeing it because you've enabled DEBUG_GTE. Is there some other problem that you're trying to debug? .Dave. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error
Hello everybody, I am having a funny problem while using rsync as a tool to back-up my files: [sender] expand file_list pointer array to 524288 bytes, did move. I am just wondering if you had this issue before and if you know a way to solve this, please share with me. Many thanks, Dr. Madhurananda Pahar. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Aw: Re: rsync error: error allocating core memory buffers
You should not be using rsync's --checksum during routine backups. you know that excel can change a file`s contents without changing a file`s timestamp - do you? ;) Gesendet: Donnerstag, 09. April 2015 um 18:37 Uhr Von: Kevin Korb k...@sanitarium.net An: rsync@lists.samba.org Betreff: Re: rsync error: error allocating core memory buffers -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should not be using rsync's --checksum during routine backups. It is only for very rare use cases not every backup run. On 04/09/2015 04:43 AM, Hans Kraus wrote: Hi, I've configured 'backuppc' to transfer files via rsyncd, with enabled checksums. Whith one of the shares I get the error (in syslog): - robbe rsyncd[2183]: ERROR: out of memory in receive_sums [sender] robbe rsyncd[2183]: rsync error: error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2dev] robbe rsyncd[9821]: connect from elefant.control.local (192.168.1.200) robbe rsyncd[9821]: rsync on . from backuppc@elefant.control.local (192.168.1.200) - I read that the memory overflow comes from bulding the checksums list. Is there a way to find out where in the file tree that overflow occurs for determine splitting points? The OS is Debian 7.4 amd, 24 GB RAM, 32 GB swap. Kind regards, Hans - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone:(407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Floridak...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAlUmqrAACgkQVKC1jlbQAQdYnQCfSDNBGlPPbi1T0ATUlNngj3tz fTsAn1OwEGeDdkOKf+lCaDTZEBJoS/jg =TJEs -END PGP SIGNATURE- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: error allocating core memory buffers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should not be using rsync's --checksum during routine backups. It is only for very rare use cases not every backup run. On 04/09/2015 04:43 AM, Hans Kraus wrote: Hi, I've configured 'backuppc' to transfer files via rsyncd, with enabled checksums. Whith one of the shares I get the error (in syslog): - robbe rsyncd[2183]: ERROR: out of memory in receive_sums [sender] robbe rsyncd[2183]: rsync error: error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2dev] robbe rsyncd[9821]: connect from elefant.control.local (192.168.1.200) robbe rsyncd[9821]: rsync on . from backuppc@elefant.control.local (192.168.1.200) - I read that the memory overflow comes from bulding the checksums list. Is there a way to find out where in the file tree that overflow occurs for determine splitting points? The OS is Debian 7.4 amd, 24 GB RAM, 32 GB swap. Kind regards, Hans - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone:(407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Floridak...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAlUmqrAACgkQVKC1jlbQAQdYnQCfSDNBGlPPbi1T0ATUlNngj3tz fTsAn1OwEGeDdkOKf+lCaDTZEBJoS/jg =TJEs -END PGP SIGNATURE- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: error allocating core memory buffers
Hi, I've configured 'backuppc' to transfer files via rsyncd, with enabled checksums. Whith one of the shares I get the error (in syslog): - robbe rsyncd[2183]: ERROR: out of memory in receive_sums [sender] robbe rsyncd[2183]: rsync error: error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2dev] robbe rsyncd[9821]: connect from elefant.control.local (192.168.1.200) robbe rsyncd[9821]: rsync on . from backuppc@elefant.control.local (192.168.1.200) - I read that the memory overflow comes from bulding the checksums list. Is there a way to find out where in the file tree that overflow occurs for determine splitting points? The OS is Debian 7.4 amd, 24 GB RAM, 32 GB swap. Kind regards, Hans -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: unexplained error (code 255) at rsync.c(541) [sender=3.0.4]
Does anyone know what this message is about? I keep getting this message once in a while after my rsync command is run for some time. rsync error: unexplained error (code 255) at rsync.c(541) [sender=3.0.4] Regards Jerry HSBC Global Asset Management (Hong Kong) Limited whose registered address is HSBC Main Building, 1 Queen's Road Central, Hong Kong - *** This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. *** SAVE PAPER - THINK BEFORE YOU PRINT! -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: unexplained error (code 255) at rsync.c(541) [sender=3.0.4]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't know what that error means as it is non-specific. However 3.0.4 is very old. Try upgrading your rsync and see if the problem goes away. On 08/10/2014 07:08 AM, jerrycww...@hsbc.com.hk wrote: Does anyone know what this message is about? I keep getting this message once in a while after my rsync command is run for some time. rsync error: unexplained error (code 255) at rsync.c(541) [sender=3.0.4] Regards Jerry HSBC Global Asset Management (Hong Kong) Limited whose registered address is HSBC Main Building, 1 Queen's Road Central, Hong Kong - *** This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. *** SAVE PAPER - THINK BEFORE YOU PRINT! - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone:(407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Floridak...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAlPnyv4ACgkQVKC1jlbQAQeG0QCguzqAUb0p/VMkAUsc6jDTKuMC yL4An3M1l74sZOm+U45geklV0gNb0XCw =pHqD -END PGP SIGNATURE- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 --- Comment #10 from Stuart Longland stua...@longlandclan.yi.org 2012-12-11 20:47:47 UTC --- Not sure if this is related, but I get more or less the same error message out of rsync 3.0.9 on AMD64 Linux rsyncing from an internal XFS-formatted HDD to an external EXT3-formatted eSATA HDD (i.e. sender and receiver are the same host communicating via pipes). rsync: writefd_unbuffered failed to write 5 bytes to socket [sender]: Broken pipe (32) rsync: connection unexpectedly closed (209441 bytes received so far) [sender] rsync error: error allocating core memory buffers (code 22) at io.c(605) [sender=3.0.9] Failed: incremental rsync fails (22) rsync command (I can post the backup script if interested): rsync -aHA \ --link-dest=${LAST_OFFSITE_BACKUP_DIR}\ ${LAST_ONSITE_BACKUP_DIR}/ ${THIS_OFFSITE_BACKUP_DIR}/ \ 21 || die 8 incremental rsync fails ($?) An almost identical command that copies from the live FS (some EXT4, some XFS) to the internal backup HDD (XFS) works fine. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 6183] rsync error file too large (27)
https://bugzilla.samba.org/show_bug.cgi?id=6183 --- Comment #5 from Dal dtama...@bloomberg.net 2011-06-01 07:58:01 UTC --- The issue happens intermittently. Most of the time large files are sync'd fine. I have run rsync on the failed file several times now and it hasn't failed. Is there any debugging I can put in place ? - Original Message - From: samba-b...@samba.org To: rsync...@samba.org At: 5/28 6:14:11 https://bugzilla.samba.org/show_bug.cgi?id=6183 Wayne Davison way...@samba.org changed: What|Removed |Added Status|ASSIGNED|NEEDINFO --- Comment #4 from Wayne Davison way...@samba.org 2011-05-28 05:13:33 UTC --- As mentioned, this is an issue with how rsync was compiled and/or linked. If it is compiled with large-file support in the OS libraries, then it supports large files. If the libraries don't support large files, or it was not compiled knowing that it should support large files, then large files aren't supported. So, someone needs to figure out what AIX requires for proper compilation (e.g. what support libraries are not installed, what options are not used, or whatever). -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[Bug 6183] rsync error file too large (27)
https://bugzilla.samba.org/show_bug.cgi?id=6183 Wayne Davison way...@samba.org changed: What|Removed |Added Status|ASSIGNED|NEEDINFO --- Comment #4 from Wayne Davison way...@samba.org 2011-05-28 05:13:33 UTC --- As mentioned, this is an issue with how rsync was compiled and/or linked. If it is compiled with large-file support in the OS libraries, then it supports large files. If the libraries don't support large files, or it was not compiled knowing that it should support large files, then large files aren't supported. So, someone needs to figure out what AIX requires for proper compilation (e.g. what support libraries are not installed, what options are not used, or whatever). -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 7765] New: rsync error 23 without any real error
https://bugzilla.samba.org/show_bug.cgi?id=7765 Summary: rsync error 23 without any real error Product: rsync Version: 3.0.7 Platform: PPC OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: way...@samba.org ReportedBy: nvbolh...@aimvalley.nl QAContact: rsync...@samba.org We use rsync on an embedded powerpc 32bit target. for one transfer rsync shows: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] but afaik there are no errors, this is what -vvv shows: # /mountedisd/bin/rsync -az --delete /flashfs/var/log/ main2_mmlan::log opening tcp connection to main2_mmlan port 873 note: iconv_open(ANSI_X3.4-1968, ANSI_X3.4-1968) succeeded. sending daemon args: --server -logDtprze.isf --delete . log/ (Client) Protocol versions: remote=30, negotiated=30 sending incremental file list [sender] make_file(.,*,0) [sender] make_file(guilog,*,2) [sender] make_file(alilog.0,*,2) [sender] make_file(messages,*,2) [sender] make_file(messages.0,*,2) [sender] make_file(alilog,*,2) [sender] make_file(guilog.0,*,2) [sender] flist start=1, used=7, low=0, high=6 [sender] i=1 /flashfs/var/log ./ mode=040755 len=576 uid=0 gid=0 flags=5 [sender] i=2 /flashfs/var/log alilog mode=0100644 len=36864 uid=0 gid=0 flags=0 [sender] i=3 /flashfs/var/log alilog.0 mode=0100644 len=0 uid=0 gid=0 flags=0 [sender] i=4 /flashfs/var/log guilog mode=0100666 len=5352 uid=0 gid=0 flags=0 [sender] i=5 /flashfs/var/log guilog.0 mode=0100644 len=0 uid=0 gid=0 flags=0 [sender] i=6 /flashfs/var/log messages mode=0100644 len=193078 uid=0 gid=0 flags=0 [sender] i=7 /flashfs/var/log messages.0 mode=0100644 len=230549 uid=0 gid=0 flags=0 send_file_list done file list sent send_files starting skipping daemon-excluded file messages skipping daemon-excluded file messages.0 send_files phase=1 send_files phase=2 send files finished total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 127 bytes received 8 bytes 270.00 bytes/sec total size is 465843 speedup is 3450.69 [sender] _exit_cleanup(code=0, file=main.c, line=1042): entered rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] [sender] _exit_cleanup(code=0, file=main.c, line=1042): about to call exit(23) If it's needed I can enable any debug/trace option, just tell me. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 7765] rsync error 23 without any real error
https://bugzilla.samba.org/show_bug.cgi?id=7765 --- Comment #2 from nvbolh...@aimvalley.nl 2010-10-29 08:40 CST --- aha! I tried many things to avoid the error, but forgot to try the rsync option --exclude messages* thanks for the quick response! and btw. rsync is great (we used to do this with busybox tftp) -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 4232] rsync error: timeout in data send/receive (code 30) at io.c(165) [sender=3.0.0cvs]
https://bugzilla.samba.org/show_bug.cgi?id=4232 way...@samba.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Version|2.6.9 |3.1.0 --- Comment #6 from way...@samba.org 2010-08-21 13:12 CST --- The timeout code in 3.1.0dev is much improved over 2.x and 3.0.x. Hopefully this will fix the issue you were seeing. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6461] rsync occassionally issues the message rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]
https://bugzilla.samba.org/show_bug.cgi?id=6461 way...@samba.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #2 from way...@samba.org 2009-09-05 10:52 CST --- If rsync starts a child process, it can set its exit code based on what that process returned. If that process didn't exit cleanly, the code can be out of the normal list of error codes that rsync returns, which generated the unexplained error. Note that this question would have been better asked on the mailing list, since it is not noting a bug. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6461] New: rsync occassionally issues the message rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]
https://bugzilla.samba.org/show_bug.cgi?id=6461 Summary: rsync occassionally issues the message rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4] Product: rsync Version: 3.0.4 Platform: Sparc OS/Version: Windows XP Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: way...@samba.org ReportedBy: james.pur...@ny.frb.org QAContact: rsync...@samba.org rsync occassionally issues the message rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4], apparently as it is performing clean up of child processes. Does this message indicate an issue with the transfer? Is there a known condition that causes it? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6461] rsync occassionally issues the message rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]
https://bugzilla.samba.org/show_bug.cgi?id=6461 --- Comment #1 from james.pur...@ny.frb.org 2009-06-10 09:03 CST --- I should mention that we are using rsync in conjunction with ssh. Please let me know if there are additional details you would like. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Any idea on this rsync error?
Hi, we have been getting this errors frequently. ERROR: DoRsync(): rsync had errors or failed rsync return code: 12 unexpected tag -7 rsync error: error in rsync protocol data stream (code 12) at io.c(469) rsync: connection unexpectedly closed (7087269 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) Any idea to avoid it? Thanks, Jignesh -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 mark.mathie...@concepts.co.nz changed: What|Removed |Added CC||mark.mathie...@concepts.co.n ||z --- Comment #9 from mark.mathie...@concepts.co.nz 2009-05-06 18:54 CST --- (In reply to comment #7) I agree that this is a bug; reopening. As an additional note, the same thing happens with the Netware port of Rsync 2.6.3. We get the same sort of error when RSync tries to process anything with an extended character set. TM symbols, apostrophes, anything aside from standard Alphabet, by the look of it. 2009/05/06 19:33:11 [1] readlink DATA:\/USERS/JSAWERS/Favorites/Morrell r in Christchurch - White PagesT New Zealand.url failed: No such file or directory The symbol after Pages is a Trademark symbol. The other issue seems to be that 2.6.3 is the latest version of RSync for Netware and there doesn't appear to be any plan to update this. Cheers, Mark -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6183] rsync error file too large (27)
https://bugzilla.samba.org/show_bug.cgi?id=6183 --- Comment #3 from anorho...@gmail.com 2009-04-01 12:32 CST --- I am on AIX 6.1 TL02. Been using older version and encountered the file too large error (27) so I downloaded and tried 3.0.5 but encountered the same error but ~10GB has been copied: sending incremental file list patch-depot/db/obi/ patch-depot/db/obi/B24442-01_1of3.zip 1061715968 83% 12.78MB/s0:00:15 rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32) rsync: write failed on /opsshare/patch-depot/patch-depot/db/obi/B24442-01_1of3.zip: File too large (27) rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.5] rsync: connection unexpectedly closed (10306 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.5] real3m30.71s user0m0.00s sys 0m0.01s tusobidbd1/home/root# ls -l /opsshare/patch-depot/patch-depot/db/obi/B24442-01_1of3.zip -rw-r--r--1 oraupk dba 1073741312 Apr 01 10:00 /opsshare/patch-depot/patch-depot/db/obi/B24442-01_1of3.zip -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error on Win Server 2008
Hi I'm using rsync (ver 3.0.5) to sync a local folder with a folder on a server using SSH and encrypted key files. It works fine on Windows 2000/XP/2003/Vista but not Windows 2008 Server. I get an error like the following: ssh _cygtls::handle_exceptions Error while dumping state (probably corrupted stack) rsync connection unexpectedly closed. error in rsync protocol data stream (code 12) Here is the batch file I am running: - @ECHO OFF SETLOCAL SET CWRSYNCHOME=C:\MyFolder\Rsync SET CYGWIN=nontsec SET HOME=%HOMEDRIVE%%HOMEPATH% SET CWOLDPATH=%PATH% SET PATH=%CWRSYNCHOME%;%PATH% rsync -v -v -r -e ssh -v -p -i Rsync/mykeyfile.key mykeyf...@xxx.xxx.xxx.xxx:/MainFolder/DataFolder/FR* /cygdrive/C/MyFolder/Rsync/Import/ Looking at the ssh.exe.stackdump file it shows there was an Access Violation in SSH.exe Exception: STATUS_ACCESS_VIOLATION at eip=00404F00 eax= ebx= ecx=0012 edx=611688E0 esi=611021A0 edi=0042F1A8 ebp=0022CCB8 esp=0022BE6C program=c:\MyProgramFolder\RSync\ssh.exe, pid 6476, thread main cs=001B ds=0023 es=0023 fs=003B gs= ss=0023 Stack trace: Frame Function Args 0022CCB8 00404F00 (000C, 6116B320, 010C0090, ) 0022CD68 610060D8 (, 0022CDA0, 61005450, 0022CDA0) 61005450 61004416 (009C, A02404C7, E8611021, FF48) 5 [main] ssh 6476 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Could it be that SSH.exe is not compatible with Windows 2008 Server yet? I have tried in the Admin login, shared the folders, gave all read/write permissions etc so I am at a loss now. Thanks Luke. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6183] rsync error file too large (27)
https://bugzilla.samba.org/show_bug.cgi?id=6183 --- Comment #2 from way...@samba.org 2009-03-13 12:11 CST --- File too large is an OS error, so you need to figure out why your OS is returning that. I'd imagine that rsync was not compiled with large-file support. If so, let me know if there are any configure changes that could be made to improve the compilation on your system. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6183] New: rsync error file too large (27)
https://bugzilla.samba.org/show_bug.cgi?id=6183 Summary: rsync error file too large (27) Product: rsync Version: 3.0.4 Platform: Other OS/Version: AIX Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: way...@samba.org ReportedBy: bros...@gmail.com QAContact: rsync...@samba.org I am on AIX 5.3 TL8, I get this error when trying to transfer files, the file size is 2729126908 bytes and stops at 2G, (see output at bottom) i tried to copy it using scp and it works fine, rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32) rsync: write failed on /export/data/c2dev/c2/backup/mksysb/daily/mksysb_0310_abcdef51.gz: File too large (27) rsync error: error in file IO (code 11) at receiver.c(298) [receiver=3.0.4] rsync: connection unexpectedly closed (14240 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(632) [sender=3.0.4] My version of rsync are identical on both sides: # rsync --version rsync version 3.0.4 protocol version 30 Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 32-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace, append, ACLs, no xattrs, no iconv, no symtimes here is the output of rsync using multiple -v data recv 32768 at 2147221504 data recv 32768 at 2147254272 data recv 32768 at 2147287040 data recv 32768 at 2147319808 data recv 32768 at 2147352576 data recv 32768 at 2147385344 data recv 32768 at 2147418112 data recv 32768 at 2147450880 rsync: write failed on /export/data/c2dev/c2/backup/mksysb/daily/mksysb_0311_abcdep51.gz: File too large (27) _exit_cleanup(code=11, file=receiver.c, line=298): entered rsync error: error in file IO (code 11) at receiver.c(298) [receiver=3.0.4] _exit_cleanup(code=11, file=receiver.c, line=298): about to call exit(11) rsync: connection unexpectedly closed (49 bytes received so far) [generator] _exit_cleanup(code=12, file=io.c, line=632): entered rsync error: error in rsync protocol data stream (code 12) at io.c(632) [generator=3.0.4] _exit_cleanup(code=12, file=io.c, line=632): about to call exit(12) -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 6183] rsync error file too large (27)
https://bugzilla.samba.org/show_bug.cgi?id=6183 --- Comment #1 from bros...@gmail.com 2009-03-11 11:38 CST --- Justed tested using rsync 3.0.2, and it works fine (same file, same servers) so the problem occursd using rsync 3.0.4 -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error on two test www.dwhs.net servers
rsync error on two test www.dwhs.net servers rsync error: error in rsync protocol data stream (code 12) at io.c(359) Also both of these two servers have locked out all root access remitly. I dont think they have been hacked, but I can seem to get access without going in single user and adding a new user. I think maybe the root user is supended and that is effecting access permissions? Even after adding a new user with root privladges they seem to lock up shortly after as well. Any ideas are appreciated. Charles Customer Service Manager 866 660 4678 #9 DWHS Inc. www.dwhs.net Check out www.marketingspot.com -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
Stuart, This problem is harassing us since long now. It occurs only when we run rsync in daemon mode and on remote sites. It works perfectly fine if source and destination are in same site. We have tried --blocking-io and also ran rsync manually but still no luck. We are not able to find what is the actual problem. Could you please help us here. Thanks, Jignesh On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: Correct. -- Stuart Halliday I think there is no bulletproof solution for this. Right? Thanks, Jignesh On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: When I get errors like that I do a manual rsync command via a terminal (or command prompt) shell which tries to list the contents of either side of the connection. This at least shows you if the connection and rsync is working. ie rsync -v metatex.org::minimals-temp/test/ or rsync /cygdrive/c/ -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: Stuart Halliday stua...@ecs-tech.com Date: Tue, 20 Jan 2009 16:18:25 +0530 Subject: Re: find out the meaning of rsync error code Thanks Sven and Stuart for reply. They both are running at the same version 2.6.0 but still it gives same error. It was working fine since months but just now it has started throwing below error. ERROR: DoRsync(): rsync had errors or failed rsync return code: 12 unexpected tag -7 rsync error: error in rsync protocol data stream (code 12) at io.c(469) rsync: connection unexpectedly closed (3941538 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: See bottom of Man page @ http://www.samba.org/ftp/rsync/rsync.html EXIT Values 12 is: Error in rsync protocol data stream I suggest that this may be caused by you using two different versions of Rsync? Please check that the daemon and client are running the same version. -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: rsync@lists.samba.org Date: Tue, 20 Jan 2009 15:25:05 +0530 Subject: find out the meaning of rsync error code Hi, Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Thanks, Jignesh This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
I missed one point is that: It is also works between remote sites when we run rsync as a client-server normally.(i.e.non-daemon mode). Thanks. On 1/21/09, Jignesh Shah jignesh.shah1...@gmail.com wrote: Stuart, This problem is harassing us since long now. It occurs only when we run rsync in daemon mode and on remote sites. It works perfectly fine if source and destination are in same site. We have tried --blocking-io and also ran rsync manually but still no luck. We are not able to find what is the actual problem. Could you please help us here. Thanks, Jignesh On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: Correct. -- Stuart Halliday I think there is no bulletproof solution for this. Right? Thanks, Jignesh On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: When I get errors like that I do a manual rsync command via a terminal (or command prompt) shell which tries to list the contents of either side of the connection. This at least shows you if the connection and rsync is working. ie rsync -v metatex.org::minimals-temp/test/ or rsync /cygdrive/c/ -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: Stuart Halliday stua...@ecs-tech.com Date: Tue, 20 Jan 2009 16:18:25 +0530 Subject: Re: find out the meaning of rsync error code Thanks Sven and Stuart for reply. They both are running at the same version 2.6.0 but still it gives same error. It was working fine since months but just now it has started throwing below error. ERROR: DoRsync(): rsync had errors or failed rsync return code: 12 unexpected tag -7 rsync error: error in rsync protocol data stream (code 12) at io.c(469) rsync: connection unexpectedly closed (3941538 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: See bottom of Man page @ http://www.samba.org/ftp/rsync/rsync.html EXIT Values 12 is: Error in rsync protocol data stream I suggest that this may be caused by you using two different versions of Rsync? Please check that the daemon and client are running the same version. -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: rsync@lists.samba.org Date: Tue, 20 Jan 2009 15:25:05 +0530 Subject: find out the meaning of rsync error code Hi, Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Thanks, Jignesh This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
I'd recommend that you do a search on the failing systems for duplicate or old copies of Rsync. It just takes a PATH variable to include another old copy of rsync to make it fail. I'd also check your firewall or router aren't the problem. If you need to, temporary disable the firewall or any AV software as these can be potential problems. Also are you using SSH on these systems? Perhaps that isn't working? I'd start with the very simplest set up and go from there. For example manually start up a daemon on a remote server and see if a client can connect to its resources. Try a different port number, some thing may be blocking the value you're using. P.S. No need to send me a personal copy of your reply. I do read the mailing list. I get quite enough email thanks. :-) -- Stuart Halliday This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
On Tue, Jan 20, 2009 at 10:16:37AM +, Stuart Halliday wrote: I suggest that this may be caused by you using two different versions of Rsync? Please check that the daemon and client are running the same version. The only known issues of cross-version incompatibility have been fixed. If you know of any more, please let the list know. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
On Tue, Jan 20, 2009 at 03:25:05PM +0530, Jignesh Shah wrote: In rsync return code: 12 error, what 12 indicates? The error code is pretty inconsequential compared to the errors that come before it. See what rsync is actually complaining about, and make sure you know if there is an issue with the remote side or the local side. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
find out the meaning of rsync error code
Hi, Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Thanks, Jignesh -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
Tue, 20 Jan 2009 15:25:05 +0530, jignesh.shah1980 wrote: Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Please use the archive: http://www.mail-archive.com/rsync@lists.samba.org/msg22890.html pgpEalpvdwL2E.pgp Description: PGP signature -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
See bottom of Man page @ http://www.samba.org/ftp/rsync/rsync.html EXIT Values 12 is: Error in rsync protocol data stream I suggest that this may be caused by you using two different versions of Rsync? Please check that the daemon and client are running the same version. -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: rsync@lists.samba.org Date: Tue, 20 Jan 2009 15:25:05 +0530 Subject: find out the meaning of rsync error code Hi, Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Thanks, Jignesh This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
When I get errors like that I do a manual rsync command via a terminal (or command prompt) shell which tries to list the contents of either side of the connection. This at least shows you if the connection and rsync is working. ie rsync -v metatex.org::minimals-temp/test/ or rsync /cygdrive/c/ -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: Stuart Halliday stua...@ecs-tech.com Date: Tue, 20 Jan 2009 16:18:25 +0530 Subject: Re: find out the meaning of rsync error code Thanks Sven and Stuart for reply. They both are running at the same version 2.6.0 but still it gives same error. It was working fine since months but just now it has started throwing below error. ERROR: DoRsync(): rsync had errors or failed rsync return code: 12 unexpected tag -7 rsync error: error in rsync protocol data stream (code 12) at io.c(469) rsync: connection unexpectedly closed (3941538 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: See bottom of Man page @ http://www.samba.org/ftp/rsync/rsync.html EXIT Values 12 is: Error in rsync protocol data stream I suggest that this may be caused by you using two different versions of Rsync? Please check that the daemon and client are running the same version. -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: rsync@lists.samba.org Date: Tue, 20 Jan 2009 15:25:05 +0530 Subject: find out the meaning of rsync error code Hi, Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Thanks, Jignesh This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: find out the meaning of rsync error code
Correct. -- Stuart Halliday I think there is no bulletproof solution for this. Right? Thanks, Jignesh On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: When I get errors like that I do a manual rsync command via a terminal (or command prompt) shell which tries to list the contents of either side of the connection. This at least shows you if the connection and rsync is working. ie rsync -v metatex.org::minimals-temp/test/ or rsync /cygdrive/c/ -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: Stuart Halliday stua...@ecs-tech.com Date: Tue, 20 Jan 2009 16:18:25 +0530 Subject: Re: find out the meaning of rsync error code Thanks Sven and Stuart for reply. They both are running at the same version 2.6.0 but still it gives same error. It was working fine since months but just now it has started throwing below error. ERROR: DoRsync(): rsync had errors or failed rsync return code: 12 unexpected tag -7 rsync error: error in rsync protocol data stream (code 12) at io.c(469) rsync: connection unexpectedly closed (3941538 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) On 1/20/09, Stuart Halliday stua...@ecs-tech.com wrote: See bottom of Man page @ http://www.samba.org/ftp/rsync/rsync.html EXIT Values 12 is: Error in rsync protocol data stream I suggest that this may be caused by you using two different versions of Rsync? Please check that the daemon and client are running the same version. -- Stuart Halliday -Original Message- From: Jignesh Shah jignesh.shah1...@gmail.com To: rsync@lists.samba.org Date: Tue, 20 Jan 2009 15:25:05 +0530 Subject: find out the meaning of rsync error code Hi, Could anyone please tell me how to get the meaning of rsync error codes. In rsync return code: 12 error, what 12 indicates? Thanks, Jignesh This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync error 'unexpected tag 93' when --log-file= parameter is present and run from crontab
I have some general remarks about the problem; I hope Wayne will have more specific ideas on how to debug it. On Sun, 2009-01-11 at 13:33 +0100, Ernst J. Oud wrote: rsync -vrpth --stats --progress --log-file=/nslu2/rsync.log --log-file-format=%t %i %n%L --include-from=/nslu2/rsync-files /share/hdd/data/public/Ernst/ 192.168.1.69::rsync-nslu2 However, if I include the same line in crontab, when executed the server reports an unexpected tag 93 and protocol errors in io.c at line 1169, which is the default handler for communication errors. This *only* happens when the --log-file=/nslu2/rsync.log line is present. BTW; how can an error such as this be 'unexpected'? The tag '93' must mean something? Why can't the error handler be more specific about what caused this? At least some information in a client-server environment on which side generated the protocol error would help enormously! The rsync protocol consists of messages of different types, and each type is identified by a tag number. The error means that an rsync got a message with tag number 93, which is not one of the valid tags whose meaning is defined by the protocol. This is generally a result of the protocol somehow getting out of sync. It is hard to tell which side generates the error though. The error message appears in /var/log/messages at the server's end. The client's syslog does not report an error, it only reports that cron has started rsync. The error should have a [client] or [server] prefix that tells you which side detected the error. That doesn't, however, reveal which side is at fault for the protocol getting out of sync. I can live with the latter option since it also generates a log file by redirection of rsync's output but I prefer the --log-file= version since that allows me to change the log format. You should be able to change the stdout format with --out-format. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rsync error 'unexpected tag 93' when --log-file= parameter is present and run from crontab
L.S. I hope someone can enlighten me on the following phenomenon. When I run rsync (3.0.2 or 3.0.4) from a (SH) script as follows: rsync -vrpth --stats --progress --log-file=/nslu2/rsync.log --log-file-format=%t %i %n%L --include-from=/nslu2/rsync-files /share/hdd/data/public/Ernst/ 192.168.1.69::rsync-nslu2 All is well; it works fine. Log file is created, both client (NSLU2 from LinkSys) and server (here 192.168.1.69, a small embedded linux box) do not report any errors. Copy is performed flawlessly. However, if I include the same line in crontab, when executed the server reports an unexpected tag 93 and protocol errors in io.c at line 1169, which is the default handler for communication errors. This *only* happens when the --log-file=/nslu2/rsync.log line is present. If I change the line in crontab from the above to: rsync -vrpth --stats --progress --include-from=/nslu2/rsync-files /share/hdd/data/public/Ernst/ 192.168.1.69::rsync-nslu2 /nslu2/rsync.log (i.e. omit the --log-file= parameter and generate a log by redirection) all is well again. The moment I add the --log-file= parameter, the error pops up again. The weird thing is that a search with Google for 'unexpected tag' generates a lot of links but no links whatsoever for 'unexpected tag 93', so I must be the first to report this kind of protocol error. I tried --blocking-io and --no-blocking-io but that didn't help. I recompiled the server rsync package and tried both 3.0.2 and 3.0.4 to no avail. At the client side I used both 3.0.4 and 3.0.5. It is hard to tell which side generates the error though. The error message appears in /var/log/messages at the server's end. The client's syslog does not report an error, it only reports that cron has started rsync. I tried calling rsync (with the --log-file parameter present) from a script within crontab instead of calling it directly; same result: it only works when I remove the --log-file= parameter. I can live with the latter option since it also generates a log file by redirection of rsync's output but I prefer the --log-file= version since that allows me to change the log format. Any clues? Thanks in advance! Ernst BTW; how can an error such as this be 'unexpected'? The tag '93' must mean something? Why can't the error handler be more specific about what caused this? At least some information in a client-server environment on which side generated the protocol error would help enormously! -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 --- Comment #6 from [EMAIL PROTECTED] 2008-11-04 10:55 CST --- some more observations on this error. I actually got sync error: error allocating core memory buffers (code 22) at io.c(632) [sender=3.0.4] with 3.0.4 on debian and 3.0.4 on cygwin as receiver, with iconv=. it detects UTF-8,CP1252 now the fun about it .. it definitely boils down to incomplete multibyte characters in filename (copying with samba obv. under certain cirumstances destroys umlauts etc.).. if I rename them, all is fine more fun .. if i switch -vv or more .. it reduces to a warning in the end rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1058) [sender=3.0.4] and I can see all the problematic files with entries like [receiver] cannot convert filename: /CD1/(13) Kâ as incomplete multibyte chars are defective, it makes sense to repair those names. But still: a) no reason for rsync to complain about memory errors b) obviously not because it doesn't crash when executed more verbose does that help?.. bud -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #7 from [EMAIL PROTECTED] 2008-11-04 11:18 CST --- I agree that this is a bug; reopening. Bud, please provide your full command line and, if possible, run the sender under gdb with a breakpoint on the _exit_cleanup function and give us the stack trace when that function is reached. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 --- Comment #8 from [EMAIL PROTECTED] 2008-11-04 11:34 CST --- btw. the first initial run was done with rsync 3.0.4 on that debian from ext2 fs to ntfs-3g fs, which is now residing in a windows 2003 r2 and accessed with cygwin 1.7 cygdrive I don't think this is essential, but also gives one clue .. a local/local transfer even with damaged multibyte file names does not have this issue.. bud -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 --- Comment #5 from [EMAIL PROTECTED] 2008-10-24 11:31 CST --- Hello, Sorry for that long investigation, but maybe it will help someone else. --iconv=ISO-8859-15,ISO-8859-15 did not really solved the problem. The definitive solution was to rename all files that where tagged with the rsync error message Invalid or incomplete multibyte or wide character. As data came from windows i assume that there was some characters that rsync was unable to recognize. Regards. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #4 from [EMAIL PROTECTED] 2008-10-22 13:12 CST --- Hello, I think i found the problem i faced with. rsync command is successful on an english locale Mac os X using : --iconv=UTF8-MAC,ISO-8859-15 The problem came from the fact that the Mac os X used for that bug report is in french, so i had to use : --iconv=ISO-8859-15,ISO-8859-15 and it is ok now. Regards. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 --- Comment #2 from [EMAIL PROTECTED] 2008-10-15 09:05 CST --- Hello, Sorry the error message indeed came from the 3.0.3, i actually faced the problem with the 3.0.4. It seems that the problem is solved with using --delete-after instead of --delete. Before doing that rsync seemed to be stuck on a particular file (tcpdump showed that there was no more network activity on the server), i CTRL+C the client and i went on the folder where the file concerned was, i noticed that i have file that starts with ~, deleting those files changed rsync behaviour (rsync was stuck on an other file on the next run), but as i do not know how rsync processes directories and files and cannot tell if it is relevant or not. I did switch to --delete-after and now it seems to be ok. I have many files with accentuated caracters on the client side. Regards. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
©e/CRSNG/AIM/2004/CRSNG - Subventions d'accès aux installations majeures (AIM) â Foire aux questions_fichiers (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Téléchargements/suivi ATP/Identin¼ücation of new leishmanicidal peptide.pdf (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/EPFL/Cours gén biol/Intro/Sources dessins/Biotechn-Sanduhr â copie (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/EPFL/Cours gén biol/Intro/Sources dessins/Biotechn-Sanduhr â copie/Biot - Sanduhr (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/EPFL/Cours gén biol/Intro/Sources dessins/Biotechn-Sanduhr â copie/Biotech - Sanduhr (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/EPFL/Cours gén biol/Intro/Sources dessins/Biotechn-Sanduhr â copie/FINDER.DAT (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/GCH8650/ÃPFL-Urs Von Stockar/Intro/Sources dessins/Biotechn-Sanduhr â copie (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/GCH8650/ÃPFL-Urs Von Stockar/Intro/Sources dessins/Biotechn-Sanduhr â copie/Biot - Sanduhr (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/GCH8650/ÃPFL-Urs Von Stockar/Intro/Sources dessins/Biotechn-Sanduhr â copie/Biotech - Sanduhr (Invalid or incomplete multibyte or wide character) [receiver] cannot convert filename: Data/Une fois, c't'un gars/GCH8650/ÃPFL-Urs Von Stockar/Intro/Sources dessins/Biotechn-Sanduhr â copie/FINDER.DAT (Invalid or incomplete multibyte or wide character) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1040) [sender=3.0.4] pc-imac-mj:~ ug$ cat error.log building file list ... done IO error encountered -- skipping file deletion sent 632985 bytes received 6670 bytes 426436.67 bytes/sec total size is 19890777297 speedup is 31096.10 pc-imac-mj:~ ug$ Do have i to rename folders and files ? Regards. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: Error in socket IO(code 10) at clientserver.c(122)
Hi, I am using cwrsync ver 2.1.5 over SSH to connect to [EMAIL PROTECTED] and facing some problems and not sure how to go about it. Below is the full text of the result when I run the batch file. Was wondering if anyone has seen any similar issue. Any thoughts/help is much appreciated. Tunnel: ssh Command to run: C:\Program Files\cwRsync\bin\rsync.exe -av /cygdrive/c/backup/ rsync://[EMAIL PROTECTED]:9119/cvsroot/myproject Tunnel command: ssh -i E:\BTP\PuTTY\myPrivateKey_SSH2DSA.ppk -L 9119: 127.0.0.1:873 [EMAIL PROTECTED] -T -N Establishing secure channel ... The authenticity of host 'myProject.cvs.sourceforge.net (216.34.181.109)' can't be established. RSA key fingerprint is dc:a3:df:84:00:c6:65:b4:93:a6:2e:22:b1:d1:91:b8. Are you sure you want to continue connecting (yes/no)? rsync: failed to connect to localhost: Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [sender=3.0.4] Terminating secure channel ... Thanks, Naveen S -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: Error in socket IO(code 10) at clientserver.c(122)
On Mon, 2008-10-13 at 11:51 -0400, Naveen Sajjan wrote: I am using cwrsync ver 2.1.5 over SSH to connect to [EMAIL PROTECTED] and facing some problems and not sure how to go about it. Below is the full text of the result when I run the batch file. Was wondering if anyone has seen any similar issue. Any thoughts/help is much appreciated. Tunnel: ssh Command to run: C:\Program Files\cwRsync\bin\rsync.exe -av /cygdrive/c/backup/ rsync://[EMAIL PROTECTED]:9119/cvsroot/myproject Tunnel command: ssh -i E:\BTP\PuTTY\myPrivateKey_SSH2DSA.ppk -L 9119:127.0.0.1:873 [EMAIL PROTECTED] -T -N Establishing secure channel ... The authenticity of host 'myProject.cvs.sourceforge.net (216.34.181.109)' can't be established. RSA key fingerprint is dc:a3:df:84:00:c6:65:b4:93:a6:2e:22:b1:d1:91:b8. Are you sure you want to continue connecting (yes/no)? rsync: failed to connect to localhost: Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [sender=3.0.4] Terminating secure channel ... It looks like the ssh host key check is interfering with the creation of the tunnel. If you ssh to [EMAIL PROTECTED] once manually and accept the host key warning, you should then be able to use the batch file. Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: Error in socket IO(code 10) at clientserver.c(122)
Naveen, please CC rsync@lists.samba.org so that others can help you and your messages are archived for others' future benefit. On Mon, 2008-10-13 at 15:47 -0400, Naveen Sajjan wrote: I just used the rsync -av hostname and I was able to connect. hmm...Didn't seem to use SSH. I guess that means an SSH tunnel is not required to access the rsync daemon holding the CVS repositories. You could continue using the SSH-less command that worked, or you could use the SSH tunnel anyway if you wish to have your data protected in transit. I am very new to this so please bear with me. Could you please tell me how to manully do the ssh? Would that be using putty? Just run the Tunnel command shown by the batch file and kill it with Ctrl-C once it connects successfully: ssh -i E:\BTP\PuTTY\myPrivateKey_SSH2DSA.ppk -L 9119:127.0.0.1:873 [EMAIL PROTECTED] -T -N Matt On Mon, Oct 13, 2008 at 1:30 PM, Matt McCutchen [EMAIL PROTECTED] wrote: On Mon, 2008-10-13 at 11:51 -0400, Naveen Sajjan wrote: I am using cwrsync ver 2.1.5 over SSH to connect to [EMAIL PROTECTED] and facing some problems and not sure how to go about it. Below is the full text of the result when I run the batch file. Was wondering if anyone has seen any similar issue. Any thoughts/help is much appreciated. Tunnel: ssh Command to run: C:\Program Files\cwRsync\bin\rsync.exe -av /cygdrive/c/backup/ rsync://[EMAIL PROTECTED]:9119/cvsroot/myproject Tunnel command: ssh -i E:\BTP\PuTTY \myPrivateKey_SSH2DSA.ppk -L 9119:127.0.0.1:873 [EMAIL PROTECTED] -T -N Establishing secure channel ... The authenticity of host 'myProject.cvs.sourceforge.net (216.34.181.109)' can't be established. RSA key fingerprint is dc:a3:df:84:00:c6:65:b4:93:a6:2e:22:b1:d1:91:b8. Are you sure you want to continue connecting (yes/no)? rsync: failed to connect to localhost: Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [sender=3.0.4] Terminating secure channel ... It looks like the ssh host key check is interfering with the creation of the tunnel. If you ssh to [EMAIL PROTECTED] once manually and accept the host key warning, you should then be able to use the batch file. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 --- Comment #1 from [EMAIL PROTECTED] 2008-10-09 12:10 CST --- I do not see how you could get that message with an rsync 3.0.4 client because io.c line 635 is in a comment. It would make sense if the client were 3.0.3, because in rsync 3.0.3, io.c line 635 contains the exit_cleanup(RERR_STREAMIO) that indicates a broken network connection. That still leaves us to explain why the printed message corresponds to RERR_MALLOC instead of RERR_STREAMIO. The way I can see this happening is if the client hit an RERR_MALLOC and tried to communicate with the server during cleanup but failed because the connection had broken. A recursive _exit_cleanup call should probably preserve the original file and line just like the original exit code in order to give consistent output. To troubleshoot this problem, we'll need to see the last part of rsync's output at - verbosity level, which will include the file and line of the initial call to _exit_cleanup. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5811] New: rsync error: error allocating core memory buffers (code 22) at io.c(635)
https://bugzilla.samba.org/show_bug.cgi?id=5811 Summary: rsync error: error allocating core memory buffers (code 22) at io.c(635) Product: rsync Version: 3.0.4 Platform: x64 OS/Version: Linux Status: NEW Severity: blocker Priority: P3 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] Hello, server ubuntu 64bits (3.0.4 compiled) client mac os x leopard (3.0.4 compiled) command on client : /usr/local/bin/rsync -avz -i --iconv=UTF8-MAC,ISO8859-15 --delete -e ssh /Users/kalypso/Documents [EMAIL PROTECTED]:/home/MACUSERS/kalypso/ got the error on client : rsync error: error allocating core memory buffers (code 22) at io.c(635) regards. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync Error Code 23?
Thank you for your response Matt. On the source server, /snapshots/fs/tce_data/pc-software/pc is a symlink to the directory /snapshots/fs/tce_data/pc. On the destination server, /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software is a directory which contains the partial content of /drp/fmttcesrv1/snapshots/fs/tce_data/pc. rmdir cannot remove /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software which is not empty as it contains partial content from /drp/fmttcesrv1/snapshots/fs/tce_data/pc. See below directory structure. drpvault# pwd /drp/fmttcesrv1/snapshots/fs/tce_data drpvault# ls client_logs ItemValRequest pc-software tcdata_unx trans_9135 fmtprd lost+found pc-software.README tcdata_win imandata_unxmcadPdfCreateRequestteam imandata_winpc softwaretrans drpvault# ls -l pc-software total 4 drwxr-xr-x 3 ideasadm ideasadm 512 Jun 14 2006 pc-software lrwxrwxrwx 1 ideasadm ideasadm 14 Nov 5 2007 team - /tce_data/team drpvault# ls -l pc total 6 lrwxrwxrwx 1 ideasadm ideasadm 7 Nov 5 2007 mcad - ../mcad drwxrwxrwx 11 ideasadm ideasadm 512 Apr 4 16:27 pc-software lrwxrwxrwx 1 ideasadm ideasadm 7 Nov 5 2007 team - ../team drpvault# Matt McCutchen [EMAIL PROTECTED] en.netTo No Phone Info [EMAIL PROTECTED] Available cc rsync@lists.samba.org Subject 08/26/2008 08:02 Re: Rsync Error Code 23? PM On Tue, 2008-08-26 at 16:29 -0700, [EMAIL PROTECTED] wrote: Regarding rsync error code 23 could the below delete_file: ...file exist failures cause the error code 23? Or, how can I resolve this as these are the only errors I see in the log files. Thank you! START Tue Aug 26 11:10:12 PDT 2008 /home/filerep/bin/rsync -e /var/openssh/bin/ssh --archive --stats --timeout 3600 fmttcesrv1::tce_data /drp/fmttcesrv1/snapshots/fs/tce_data --bwlimit=900 delete_file: rmdir /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software failed: F ile exists symlink /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software - pc failed: File exists In this case I think it's actually the symlink failure causing the code 23. delete_file failures currently don't cause code 23, but they probably should because they result in an incorrect transfer. Rsync appears to be trying to delete what it believes is a directory from the destination and make a symlink there instead. However, its rmdir call fails with EEXIST (File exists), which isn't even listed as a possible error in my rmdir(2) man page. What is at the path /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software ? Is it a directory, as rsync believes? Can you remove the directory manually with rmdir(1)? If you can't, you have a non-rsync-specific filesystem problem, while if you can, we'll have to investigate further why rsync is failing. Matt (See attached file: signature.asc) signature.asc Description: Binary data -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync Error Code 23?
On Wed, 2008-08-27 at 10:45 -0700, [EMAIL PROTECTED] wrote: Thank you for your response Matt. On the source server, /snapshots/fs/tce_data/pc-software/pc is a symlink to the directory /snapshots/fs/tce_data/pc. On the destination server, /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software is a directory which contains the partial content of /drp/fmttcesrv1/snapshots/fs/tce_data/pc. rmdir cannot remove /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software which is not empty as it contains partial content from /drp/fmttcesrv1/snapshots/fs/tce_data/pc. Ah. If you want rsync to recursively delete a destination directory that is to be replaced with a non-directory, you just need to use --force. (I was thrown off by the File exists error; I would have expected Directory not empty.) Matt signature.asc Description: This is a digitally signed message part -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rsync Error Code 23?
Regarding rsync error code 23 could the below delete_file: ...file exist failures cause the error code 23? Or, how can I resolve this as these are the only errors I see in the log files. Thank you! START Tue Aug 26 11:10:12 PDT 2008 /home/filerep/bin/rsync -e /var/openssh/bin/ssh --archive --stats --timeout 3600 fmttcesrv1::tce_data /drp/fmttcesrv1/snapshots/fs/tce_data --bwlimit=900 delete_file: rmdir /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software failed: F ile exists symlink /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software - pc failed: File exists delete_file: rmdir /drp/fmttcesrv1/snapshots/fs/tce_data/software/ugs/custom f ailed: File exists symlink /drp/fmttcesrv1/snapshots/fs/tce_data/software/ugs/custom - /tce_dat a/mcad/NX5/custom failed: File exists delete_file: rmdir /drp/fmttcesrv1/snapshots/fs/tce_data/software/ugs/lib/v9 f ailed: File exists symlink /drp/fmttcesrv1/snapshots/fs/tce_data/software/ugs/lib/v9 - id13/v9 failed: File exists Number of files: 511604 Number of files transferred: 75 Total file size: 107684107564 bytes Total transferred file size: 13358336 bytes Literal data: 2097627 bytes Matched data: 11260709 bytes File list size: 11714766 Total bytes written: 49157 Total bytes read: 13837325 wrote 49157 bytes read 13837325 bytes 55657.24 bytes/sec total size is 107684107564 speedup is 7754.60 rsync error: some files could not be transferred (code 23) at main.c(1048) END Tue Aug 26 11:14:21 PDT 2008-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync Error Code 23?
On Tue, 2008-08-26 at 16:29 -0700, [EMAIL PROTECTED] wrote: Regarding rsync error code 23 could the below delete_file: ...file exist failures cause the error code 23? Or, how can I resolve this as these are the only errors I see in the log files. Thank you! START Tue Aug 26 11:10:12 PDT 2008 /home/filerep/bin/rsync -e /var/openssh/bin/ssh --archive --stats --timeout 3600 fmttcesrv1::tce_data /drp/fmttcesrv1/snapshots/fs/tce_data --bwlimit=900 delete_file: rmdir /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software failed: F ile exists symlink /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software - pc failed: File exists In this case I think it's actually the symlink failure causing the code 23. delete_file failures currently don't cause code 23, but they probably should because they result in an incorrect transfer. Rsync appears to be trying to delete what it believes is a directory from the destination and make a symlink there instead. However, its rmdir call fails with EEXIST (File exists), which isn't even listed as a possible error in my rmdir(2) man page. What is at the path /drp/fmttcesrv1/snapshots/fs/tce_data/pc-software ? Is it a directory, as rsync believes? Can you remove the directory manually with rmdir(1)? If you can't, you have a non-rsync-specific filesystem problem, while if you can, we'll have to investigate further why rsync is failing. Matt signature.asc Description: This is a digitally signed message part -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5418] rsync error: error allocating core memory buffers (code 22)
https://bugzilla.samba.org/show_bug.cgi?id=5418 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #2 from [EMAIL PROTECTED] 2008-07-21 02:29 CST --- This has been fixed. See bug 5418 for the patch reference. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5418] rsync error: error allocating core memory buffers (code 22)
https://bugzilla.samba.org/show_bug.cgi?id=5418 --- Comment #3 from [EMAIL PROTECTED] 2008-07-21 02:30 CST --- Sorry, I meant to refer to bug 5541. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5418] rsync error: error allocating core memory buffers (code 22)
https://bugzilla.samba.org/show_bug.cgi?id=5418 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from [EMAIL PROTECTED] 2008-06-29 22:47 CST --- AIX systems are known to have issues with the hard-link code, but no-one has assisted with the debuggin as to why yet. If anyone can help out, let me know. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error after server restore
Wondering if this cpould happen if a file or a directory have a space on it? Something like Nouveau\ dossier? Thanx! Manuel Kissoyan wrote: Hi, We have this backup server running for a long time without problem, it run the rsync command from cron and connect to many other servers geting the files from those servers. One of these servers crashed a week before and we restored it, since then the rsync that connect to this server is giving the following erro after it get some files: rsync error: timeout in data send/receive (code 30) at io.c(233) [sender=3.0.0pre2] _exit_cleanup(code=30, file=io.c, line=233): about to call exit(30) rsync: connection unexpectedly closed (83654700 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(596) [receiver=3.0.0pre2] _exit_cleanup(code=12, file=io.c, line=596): about to call exit(12) rsync: connection unexpectedly closed (14185 bytes received so far) [generator] rsync error: timeout in data send/receive (code 30) at io.c(596) [generator=3.0.0pre2] _exit_cleanup(code=12, file=io.c, line=596): about to call exit(30) We have installed the same version as we had before the crash, is a Centos 5 64 bit. and the rsync version is rsync version 3.0.0pre2 protocol version 30.PR10 Wondering what could cause the error. Thank you in advance! Manuel -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error after server restore
On Wed, Jun 04, 2008 at 05:25:06PM -0300, Manuel Kissoyan wrote: rsync error: timeout in data send/receive (code 30) at io.c(233) [sender=3.0.0pre2] Are you using a --timeout option or a timeout parameter in a daemon config? If so, try increasing that value. If not, you should check to see if both sides are reporting a connection-closed error, or if one side is dying/crashing. One way to do that by attaching an strace to each of the 3 programs (e.g. use strace -o FILE -p PID after it is running if you don't want to tweak the way you start the copy going). ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error after server restore
Hi Wayne, Yes, im using timeout=500 in the cron/command as we were using before the crash and also as im using in the other servers. Ill do the strace to see what is happening and ill post here. btw, what exactly do you mean when you say to attach it of each of the 3 programs? Thank you in advance! Manuel Wayne Davison wrote: On Wed, Jun 04, 2008 at 05:25:06PM -0300, Manuel Kissoyan wrote: rsync error: timeout in data send/receive (code 30) at io.c(233) [sender=3.0.0pre2] Are you using a --timeout option or a timeout parameter in a daemon config? If so, try increasing that value. If not, you should check to see if both sides are reporting a connection-closed error, or if one side is dying/crashing. One way to do that by attaching an strace to each of the 3 programs (e.g. use strace -o FILE -p PID after it is running if you don't want to tweak the way you start the copy going). ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error after server restore
Hi Wayne, Here is the strace result. This is the one from the server where we are running the rsync command and where we backup the other server: --- select(4, [3], [], NULL, {47, 471000}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 0 (Timeout) select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {0, 0}) --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFSIGNALED(s) WTERMSIG(s) == SIGUSR1}], WNOHANG) = 18568 waitpid(-1, [{WIFEXITED(s) WEXITSTATUS(s) == 30}], WNOHANG) = 18569 waitpid(-1, 0xbff58724, WNOHANG)= -1 ECHILD (No child processes) sigreturn() = ? (mask now []) read(3, , 8184) = 0 write(2, rsync: connection unexpectedly c..., 79) = 79 write(2, \n, 1) = 1 rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0 waitpid(18568, 0xbff58a18, WNOHANG) = -1 ECHILD (No child processes) getpid()= 18567 kill(18568, SIGUSR1)= -1 ESRCH (No such process) kill(18569, SIGUSR1)= -1 ESRCH (No such process) write(2, rsync error: error in rsync prot..., 93) = 93 write(2, \n, 1) = 1 exit_group(12) = ? Process 18567 detached --- And this is from the server that we are backing up: -- Process 19247 attached - interrupt to quit select(1, [0], [], NULL, {6, 227000}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {0, 31000}) read(0, , 4) = 0 select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {60, 0}) write(1, M\0\0\10rsync: connection unexpected..., 81) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) --- write(2, rsync: writefd_unbuffered failed..., 77) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) --- rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0 write(2, rsync error: errors with program..., 87) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) --- rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0 select(0, NULL, NULL, NULL, {0, 10}) = 0 (Timeout) exit_group(13) = ? Process 19247 detached - Thank you! Manuel Wayne Davison wrote: On Wed, Jun 04, 2008 at 05:25:06PM -0300, Manuel Kissoyan wrote: rsync error: timeout in data send/receive (code 30) at io.c(233) [sender=3.0.0pre2] Are you using a --timeout option or a timeout parameter in a daemon config? If so, try increasing that value. If not, you should check to see if both sides are reporting a connection-closed error, or if one side is dying/crashing. One way to do that by attaching an strace to each of the 3 programs (e.g. use strace -o FILE -p PID after it is running if you don't want to tweak the way you start the copy going). ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error after server restore
On Fri, Jun 06, 2008 at 04:14:45PM -0300, Manuel Kissoyan wrote: This is the one from the server where we are running the rsync command and where we backup the other server: That's just the client. You also need to see what the server is doing. You should attach to all 3 rsync processes, 2 on the receiving side, and 1 on the sending side. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error after server restore
ok, here are the last lines from the receiving side: - time(NULL) = 1212801884 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212801944 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802004 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802064 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802124 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802184 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802244 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802304 select(6, [5], [], NULL, {60, 0}) = 0 (Timeout) time(NULL) = 1212802364 select(6, [5], [], NULL, {60, 0}) = 1 (in [5], left {6, 938000}) read(5, T\0\0\10, 4) = 4 time(NULL) = 1212802417 select(6, [5], [], NULL, {60, 0}) = 1 (in [5], left {60, 0}) read(5, rsync error: timeout in data sen..., 84) = 84 time(NULL) = 1212802417 write(2, rsync error: timeout in data sen..., 83) = 83 write(2, \n, 1) = 1 select(6, [5], [], NULL, {60, 0}) = 1 (in [5], left {59, 895000}) read(5, , 4) = 0 write(2, rsync: connection unexpectedly c..., 81) = 81 write(2, \n, 1) = 1 rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0 waitpid(18766, 0xbff0a6f8, WNOHANG) = -1 ECHILD (No child processes) kill(18766, SIGUSR1)= 0 write(2, rsync error: error in rsync prot..., 92) = 92 write(2, \n, 1) = 1 exit_group(12) = ? Process 18767 detached --- read(3, \263\272\213?5\314\344\244\226M\4\215\305W)\1II\305\31..., 8192) = 128 close(5)= 0 close(4)= 0 close(6)= 0 select(7, [3], [3], NULL, NULL) = 1 (out [3]) write(3, \243\17K,.sR\227^\6\W\377\267\27\200\34\254O\331\304\34..., 32) = 32 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe18678) = -1 EINVAL (Invalid argument) fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(0, F_SETFL, O_RDWR) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe18678) = -1 EINVAL (Invalid argument) fcntl64(1, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(1, F_SETFL, O_RDWR) = 0 ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 gettimeofday({1212802417, 879075}, NULL) = 0 shutdown(3, 2 /* send and receive */) = 0 close(3)= 0 brk(0x9c65000) = 0x9c65000 brk(0x9c5b000) = 0x9c5b000 brk(0x9c3d000) = 0x9c3d000 brk(0x9c23000) = 0x9c23000 exit_group(30) = ? Process 18766 detached read(3, \263\272\213?5\314\344\244\226M\4\215\305W)\1II\305\31..., 8192) = 128 close(5)= 0 close(4)= 0 close(6)= 0 select(7, [3], [3], NULL, NULL) = 1 (out [3]) write(3, \243\17K,.sR\227^\6\W\377\267\27\200\34\254O\331\304\34..., 32) = 32 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe18678) = -1 EINVAL (Invalid argument) fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(0, F_SETFL, O_RDWR) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe18678) = -1 EINVAL (Invalid argument) fcntl64(1, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl64(1, F_SETFL, O_RDWR) = 0 ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 gettimeofday({1212802417, 879075}, NULL) = 0 shutdown(3, 2 /* send and receive */) = 0 close(3)= 0 brk(0x9c65000) = 0x9c65000 brk(0x9c5b000) = 0x9c5b000 brk(0x9c3d000) = 0x9c3d000 brk(0x9c23000) = 0x9c23000 exit_group(30) = ? Process 18766 detached And this from the sending side: select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60, 0}) read(0, \1\0\0\7, 4) = 4 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60, 0}) read(0, \0, 1)= 1 select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {60, 0}) write(1, \1\0\0\7\0, 5) = 5 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {55, 486000}) read(0, \1\0\0\7, 4) = 4 select(1, [0
rsync error after server restore
Hi, We have this backup server running for a long time without problem, it run the rsync command from cron and connect to many other servers geting the files from those servers. One of these servers crashed a week before and we restored it, since then the rsync that connect to this server is giving the following erro after it get some files: rsync error: timeout in data send/receive (code 30) at io.c(233) [sender=3.0.0pre2] _exit_cleanup(code=30, file=io.c, line=233): about to call exit(30) rsync: connection unexpectedly closed (83654700 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(596) [receiver=3.0.0pre2] _exit_cleanup(code=12, file=io.c, line=596): about to call exit(12) rsync: connection unexpectedly closed (14185 bytes received so far) [generator] rsync error: timeout in data send/receive (code 30) at io.c(596) [generator=3.0.0pre2] _exit_cleanup(code=12, file=io.c, line=596): about to call exit(30) We have installed the same version as we had before the crash, is a Centos 5 64 bit. and the rsync version is rsync version 3.0.0pre2 protocol version 30.PR10 Wondering what could cause the error. Thank you in advance! Manuel -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153)
On Thu, May 08, 2008 at 08:59:41AM -0700, arguellodw wrote: rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153) You are reaching your idle-time timeout. Either make it larger (e.g. --timeout=360) or upgrade to a newer rsync version that has support for keep-alive messages in the protocol and see if that helps. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153)
As an update to this problem, it seems that rsync has no problem updating/transferring the directory tree (every day, new data is added in a date directory structure at the remote site). So when I rsync, I get the new folders, but the error message always pops up before data files are transferred over. -- View this message in context: http://www.nabble.com/rsync-error%3A-timeout-in-data-send-receive-%28code-30%29-at--home-lapo-packaging-tmp-rsync-2.6.3-io.c%28153%29-tp17127523p17151640.html Sent from the Samba - rsync mailing list archive at Nabble.com. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153)
We are rsync'ing from an xp box running cygwin to a redhat box, using a Perl script that fist calls for an ssh tunnel, then calls rsync through local host. ssh -P -f -L 8740:remote.host.ip:873 [EMAIL PROTECTED] -p 22 sleep 25 rsync -vrtz -v --timeout=180 --exclude-from=exludefiles rsync://localhost:8740/remote path target path == This has worked for quite a while on a daily cron job. We can still open the ssh tunnel without any problem. After the tunnel is open and we run rsync, we get the following error messages: rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153) rsync: connection unexpectedly closed (598306 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) rsync: connection unexpectedly closed (598306 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) == Then it returns to the command prompt. The number of 'bytes read so far' is not constant on the different times we've tried rsync'ing, but this number does stay around 590kB. Does anybody have any ideas? -- View this message in context: http://www.nabble.com/rsync-error%3A-timeout-in-data-send-receive-%28code-30%29-at--home-lapo-packaging-tmp-rsync-2.6.3-io.c%28153%29-tp17127523p17127523.html Sent from the Samba - rsync mailing list archive at Nabble.com. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5418] New: rsync error: error allocating core memory buffers (code 22)
https://bugzilla.samba.org/show_bug.cgi?id=5418 Summary: rsync error: error allocating core memory buffers (code 22) Product: rsync Version: 3.0.2 Platform: Other OS/Version: AIX Status: NEW Severity: major Priority: P3 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] I am using rsync 3.0.2 (on both ends) to copy a source tree from Mac OS (Intel) to AIX (Power 5). My command is rsync --rsync-path=/work/default/eschnett/rsync-3.0.2/bin/rsync --rsh ssh --archive --hard-links --sparse --verbose --progress --partial --stats --compress --exclude _darcs --exclude CVS --exclude doxygen --exclude .#* --exclude .DS_Store --exclude .git --exclude .svn --exclude *~ --delete --delete-excluded CONTRIBUTORS COPYRIGHT Makefile arrangements src lib .gitignore AEIArrangements AEIPhysics bbhfactory bin cactus.config carpet carpet-stable carpet-stable-2 carpet-stable-3 kranc parfiles [EMAIL PROTECTED]:/work/default/eschnett/Calpha After checking about 8000 files, I receive the error sending incremental file list rsync: connection unexpectedly closed (794 bytes received so far) [sender] rsync error: error allocating core memory buffers (code 22) at io.c(635) [sender=3.0.2] With two additional --verbose options, the last screen output is recv_generator(arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC1.dump,8043) arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC1.dump is uptodate send_files(8043, arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC1.dump) recv_generator(arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC10.dump,8044) arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC10.dump is uptodate send_files(8044, arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC10.dump) Here the transmission hangs. When I abort with ctrl-C, I receive ^CKilled by signal 2. rsync error: unexplained error (code 255) at rsync.c(541) [sender=3.0.2] _exit_cleanup(code=20, file=rsync.c, line=541): about to call exit(255) This is a show-stopper for using rsync 3.0.1 and 3.0.2 on AIX. I have no such problems on other platforms which use Linux operating systems and Intel processors. My current work-around is to fall back to 2.6.2. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync Error Code 23
On Thu, Apr 17, 2008 at 12:57:27PM -0600, Kenneth Seal wrote: I have tried running my script in verbose mode -vv but I really don't want to read all 1000+ lines of output to look for the error code. Errors should be output to stderr, and it isn't required that you have even one -v specified to see errors. You should be able to redirect stderr (file-handle 2) like this: rsync -av src/ dest/ 2/tmp/rsync-$$.txt That should give you the errors in whatever file you like. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rsync Error Code 23
Hi, Is it possible to log rsync error messages and read them in console (Mac OS 10.5 Utility), or perhaps a text file? I have tried running my script in verbose mode -vv but I really don't want to read all 1000+ lines of output to look for the error code. Currently my script looks something like this: rsync -aE --delete --progress ~/(Entire Home Directory) /Volumes/(My backup drive) Thanks, Ken -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: some files could not be transferred -- How to ignore
On Tue, 2008-04-08 at 21:27 -0600, Kenneth Seal wrote: In my case, rsync displays the error code rsync error: some files could not be transferred (code 23) and it kills my script. Do you have any advice on how would I go about writing, researching etc. a script to tell rsync to ignore such errors? If I were you, I would try to fix the code 23 instead of ignoring it! Rsync exits with code 23 when at least one non-fatal error occurs that may affect the correctness of the transfer. Perhaps the errors currently causing the code 23 are unimportant, but if you ignore code 23, you risk missing more important errors in the future (e.g., the nonexistence of a source argument). Look for the specific error messages in the output that are causing the code 23. If it isn't immediately obvious how to fix them, post them to the list and I'll take a look. Or if you don't care about copying the offending files, you can --exclude them. Matt signature.asc Description: This is a digitally signed message part -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: some files could not be transferred -- How to ignore
Hi Wayne, I read your thread online at http://lists.samba.org/archive/rsync/2005-June/012847.html and I am having a similar problem. In my case, rsync displays the error code rsync error: some files could not be transferred (code 23) and it kills my script. Do you have any advice on how would I go about writing, researching etc. a script to tell rsync to ignore such errors? I am using the bash shell in Mac OS 10.5.2. Any help would be much appreciated. Many thanks, Ken -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: some files could not be transferred -- How to ignore
On Apr 8, 2008, at 11:27 PM, Kenneth Seal [EMAIL PROTECTED] wrote: Hi Wayne, I read your thread online at http://lists.samba.org/archive/rsync/2005-June/012847.html and I am having a similar problem. In my case, rsync displays the error code rsync error: some files could not be transferred (code 23) and it kills my script. Do you have any advice on how would I go about writing, researching etc. a script to tell rsync to ignore such errors? I am using the bash shell in Mac OS 10.5.2. Any help would be much appreciated. Many thanks, Ken -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html The result code of a command is stored in a special variable named $? Check the value of that variable in an if statement immediately after the rsync line in your script If the value is 0 then there were no errors. If the value is 23, then you could log a warning or not. If there is any other value in $? , then you have another problem. If we could see the relevant lines of your script we might be able to provide more help. Also you control whether your script succeeds or fails based on the last line in your script. If you want it to succeed, the last line would be exit 0 Google for advanced bash scripting guide for more info. Kyle -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error
hi I have the script http://pastebin.com/d4b062d28 and the roots cron entry are as below 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh I am getting the below error building file list ... rsync: opendir /var/lib/mysql/wordpress failed: Permission denied (13) done mysql/ib_logfile0 mysql/ib_logfile1 Killed by signal 2. rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9] Any clue as what is happening Thanks and Regards Kaushal -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error
Log file is likely locked. - Original Message - From: Kaushal Shriyan [EMAIL PROTECTED] hi I have the script http://pastebin.com/d4b062d28 and the roots cron entry are as below 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh I am getting the below error building file list ... rsync: opendir /var/lib/mysql/wordpress failed: Permission denied (13) done mysql/ib_logfile0 mysql/ib_logfile1 Killed by signal 2. rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9] Any clue as what is happening This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to [EMAIL PROTECTED] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error
On Fri, Apr 4, 2008 at 4:51 PM, Steven Hartland [EMAIL PROTECTED] wrote: Log file is likely locked. - Original Message - From: Kaushal Shriyan [EMAIL PROTECTED] hi I have the script http://pastebin.com/d4b062d28 and the roots cron entry are as below 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh I am getting the below error building file list ... rsync: opendir /var/lib/mysql/wordpress failed: Permission denied (13) done mysql/ib_logfile0 mysql/ib_logfile1 Killed by signal 2. rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9] Any clue as what is happening This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to [EMAIL PROTECTED] hi steven I am getting the below error now building file list ... rsync: pop_dir /root failed: Permission denied (13) rsync error: errors selecting input/output files, dirs (code 3) at flist.c(1356) [sender=2.6.9] Thanks and Regards Kaushal -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error
On Fri, 4 Apr 2008 17:11:25 +0530 Kaushal Shriyan [EMAIL PROTECTED] wrote: hi steven I am getting the below error now building file list ... rsync: pop_dir /root failed: Permission denied (13) rsync error: errors selecting input/output files, dirs (code 3) at flist.c(1356) [sender=2.6.9] Check the permissions on the directory, and ensure that the user which rsync is running as can access that directory. -- Daniel Maher dma AT witbe.net signature.asc Description: PGP signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error: protocol incompatibility (code 2) at rsync.c, using --iconv=. and (code 2) and rsync-3.0.0pre8
On Thu, 2008-02-07 at 20:09 +0100, Edmond Dantes wrote: Running rsync on our intradisk Xscale Arm BigEndian MiniServer (NAS) System is causing some problems running on special character files and crashing. Rsync is syncing running on a mounted samba share, syncing to the local disk. It is started with the parameters --iconv=. what I suggest is the solution for syncing the attached file. log output in /var/log/messages received request to transfer non-regular file: 1706 [sender] rsync error: protocol incompatibility (code 2) at rsync.c(297) [sender=3.0.0pre8] If running without the --iconv=. option I get the following error rsync error: some files could not be transferred (code 23) at main.c(1058) [sender=3.0.0pre8] caused by the attached document file. I'm using libiconv-1.9.1 and a linux-2.4.31 Kernel System based on an open embedded linux similar to openslug libc-2.3.90 system my rsync command line ist as follows: /sbin/rsync -v --log-file=/var/log/rsync.status.log --delete-before --partial -y -ogt -vaxH /mnt/download /export/backup The transfer is local from rsync's perspective, so --iconv=. is not going to help because it converts filenames from the local machine's encoding to itself. Still, we should fix the crash with the --iconv=. option. And presumably you want to solve the problem without --iconv=. so you can transfer the file. So please re-run both commands (with and without --iconv) with verbosity level 3 (-vvv) and post the complete output of each. (In particular, the code 23 message means nothing to me without seeing the previous error message that led to it.) Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5221] rsync error: partial transfer (code 23) at main.c(576)
https://bugzilla.samba.org/show_bug.cgi?id=5221 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #2 from [EMAIL PROTECTED] 2008-01-26 16:25 CST --- As Matt mentioned, the reason for the partial transfer is mentioned in an earlier message. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5221] New: rsync error: partial transfer (code 23) at main.c(576)
https://bugzilla.samba.org/show_bug.cgi?id=5221 Summary: rsync error: partial transfer (code 23) at main.c(576) Product: rsync Version: 2.6.3 Platform: Sparc OS/Version: SunOS Status: NEW Severity: major Priority: P3 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] we get rsync error: partial transfer (code 23) at main.c(576) please let us know the resolution for the same or this can be ignorable -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 5221] rsync error: partial transfer (code 23) at main.c(576)
https://bugzilla.samba.org/show_bug.cgi?id=5221 --- Comment #1 from [EMAIL PROTECTED] 2008-01-23 01:03 CST --- Rsync prints the code 23 message at the end of the run when at least one non-fatal error occurred that may have affected the correctness of the run. Rsync should have printed another message to stderr stating the specific problem; what was that message? BTW, consider upgrading to a modern version of rsync. The latest stable version is 2.6.9. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error
Hi, I am doing a delta transmission through rsync from a SOURCE to TARGET with same folder name. My config files looks as below: HOSTTOBACKUP1=ctlrws002 SOURCE1=/opt/mscdr/ TARGET1=/opt/mscdr/ I am getting a error while running the cron job for the above config and sh file as below Error starts here: write failed on IBMIHS/logs/access.log : Error 0 Received signal 30. (no core) rsync: writefd_unbuffered failed to write 4092 bytes: phase unknown: Broken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(515) Error ends here. The IBMIHS is under /opt/mscdr folder in SOURCE. Please let me know as what could be wrong in this case. How can the access.log be copied to TARGET as well. Thanks in advance. Regards, Madhavan Chari -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error when sending lot's of small files
I noticed it is working with the rysnc-3.0.0-pre5, or at least the protocol of it. Is it possible to use that protocol for the curren stable release. Greetings Johan Johan Huysmans wrote: whoops forgot to mention the error i receive ;) This message appears on the client side: rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(1122) [generator=2.6.9] rsync error: received SIGUSR1 (code 19) at main.c(1182) [receiver=2.6.9] Fabian Cenedese wrote: At 11:57 15.11.2007 +0100, you wrote: Hi All, I have a problem when transferring files from a rsyncd. This is my setup: What is the error you get? bye Fabi -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- View this message in context: http://www.nabble.com/rsync-error-when-sending-lot%27s-of-small-files-tf4811248.html#a13989618 Sent from the Samba - rsync mailing list archive at Nabble.com. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error when sending lot's of small files
On Wed, 2007-11-28 at 02:29 -0800, Johan Huysmans wrote: I noticed it is working with the rysnc-3.0.0-pre5, or at least the protocol of it. Is it possible to use that protocol for the curren stable release. No, the protocol is new in rsync-3.0.0* . Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error?
On Thu, 2007-11-15 at 11:31 +0100, Daniel Maher wrote: On Thu, 2007-11-15 at 22:55 +1300, Morgan Read wrote: [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents 192.168.1.30:/home/morgan/Documents [EMAIL PROTECTED]'s password: building file list ... done rsync: rsync_xal_set: lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime) failed: Permission denied (13) rsync: rsync_xal_set: Though i'm relatively new to rsync, i've been mired in ACL and xattrs hell for a while now, and have seen this behaviour before. :P Can user morgan set ACLs on the filesystem of the receiving machine? If so, can user morgan set ACLs to the exactly the same state as the sending machine? If the answer to either of these is no, then you're going to run into problems like the one you've described. Don't know but suspect no is the answer to both Qs: destination system is my old laptop running fc5 that I'm begining to use as a mirror, with a file system that pre-dates fc5 (perhaps 4 or 3). Not sure ACLs were up and running on it. Once everything is sorted Ill be updating it. Regards, M. -- Getting errors: There are problems with the signature (or similar)? Update your system by installing certificates from CAcert Inc, see here: http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b Or, if Internet Explorer is your default browser, simply click this link: http://www.cacert.org/index.php?id=17 Morgan Read NEW ZEALAND mailto:mstuffATreadDOTorgDOTnz fedora: Freedom Forever! http://fedoraproject.org/wiki/Overview By choosing not to ship any proprietary or binary drivers, Fedora does differ from other distributions. ... Quote: Max Spevik http://interviews.slashdot.org/article.pl?sid=06/08/17/177220 RMS on fedora: http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error?
On Thu, 2007-11-15 at 19:37 +0100, Wesley W. Terpstra wrote: On Nov 15, 2007, at 10:55 AM, Morgan Read wrote: Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? The file is transferred as are the other files. However, rsync probably gives a non-zero exit status. lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime) failed: Permission denied (13) The things that failed to copy are meta-data used by beagle (the gnome desktop search tool). This meta-data is expendable. Don't worry. As a point of interest; what version of rsync is this, and was the file read-only? Thanks Wesley Yes, it was read only file - but, only one of many in that particular directory. Version of rsync: [EMAIL PROTECTED] ~]$ rpm -q rsync rsync-2.6.9-3.fc7 Regards, M. -- Getting errors: There are problems with the signature (or similar)? Update your system by installing certificates from CAcert Inc, see here: http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b Or, if Internet Explorer is your default browser, simply click this link: http://www.cacert.org/index.php?id=17 Morgan Read NEW ZEALAND mailto:mstuffATreadDOTorgDOTnz fedora: Freedom Forever! http://fedoraproject.org/wiki/Overview By choosing not to ship any proprietary or binary drivers, Fedora does differ from other distributions. ... Quote: Max Spevik http://interviews.slashdot.org/article.pl?sid=06/08/17/177220 RMS on fedora: http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Special Characters in Filenames - rsync error code 24, files vanished
Hello, there are problems syncing files with special charcters in the filename. The special characters in the filename are displayed as a question mark. During synchronization, the rsync tells the file is vanished. Here is the standard output with level 1 verbosity. Higher verbosity levels dont give more informations about the problem. The stat command with this file succeed. file has vanished: /backupmnt/neef/backup2/Sch?newolf.JPG sent 60557 bytes received 64 bytes 121242.00 bytes/sec total size is 188702060 speedup is 3112.82 rsync warning: some files vanished before they could be transferred (code 24) at main.c(977) [sender=2.6.9] Is rsync able to handle files with special characters in filename? Help would be appreciated, thanks in advance, Benjamin Neef. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error when sending lot's of small files
Hi All, I have a problem when transferring files from a rsyncd. This is my setup: * server: runs rsyncd on port 873. * firewall: forwarding for the 873 port from outside (using SNAT and DNAT). * client: manually running rsync command using modules. The problem occurs when lots of small identical files are being send. Small is smaller than 400 bytes. It also only occurs when the NATting happens, running it locally give no problems. Also when i use the --sockopts=SO_SNDBUF=xxx argument on the rsyncd it won't occur, but i noticed that the transfer is generally slower. (I also have normal sizes files available) I hope someone call help me or point me to the right direction. Greetings Johan Huysmans -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error when sending lot's of small files
At 11:57 15.11.2007 +0100, you wrote: Hi All, I have a problem when transferring files from a rsyncd. This is my setup: What is the error you get? bye Fabi -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error when sending lot's of small files
whoops forgot to mention the error i receive ;) This message appears on the client side: rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(1122) [generator=2.6.9] rsync error: received SIGUSR1 (code 19) at main.c(1182) [receiver=2.6.9] Fabian Cenedese wrote: At 11:57 15.11.2007 +0100, you wrote: Hi All, I have a problem when transferring files from a rsyncd. This is my setup: What is the error you get? bye Fabi -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error?
Hi Folks Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents 192.168.1.30:/home/morgan/Documents [EMAIL PROTECTED]'s password: building file list ... done rsync: rsync_xal_set: lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime) failed: Permission denied (13) rsync: rsync_xal_set: lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.Fingerprint) failed: Permission denied (13) rsync: rsync_xal_set: lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.MTime) failed: Permission denied (13) rsync: rsync_xal_set: lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.Uid) failed: Permission denied (13) sent 1572135 bytes received 20 bytes 89837.43 bytes/sec total size is 2063655599 speedup is 1312.63 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] [EMAIL PROTECTED] ~]$ Thanks, M. -- Getting errors: There are problems with the signature (or similar)? Update your system by installing certificates from CAcert Inc, see here: http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b Or, if Internet Explorer is your default browser, simply click this link: http://www.cacert.org/index.php?id=17 Morgan Read NEW ZEALAND mailto:mstuffATreadDOTorgDOTnz fedora: Freedom Forever! http://fedoraproject.org/wiki/Overview By choosing not to ship any proprietary or binary drivers, Fedora does differ from other distributions. ... Quote: Max Spevik http://interviews.slashdot.org/article.pl?sid=06/08/17/177220 RMS on fedora: http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error?
On Nov 15, 2007, at 10:55 AM, Morgan Read wrote: Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? The file is transferred as are the other files. However, rsync probably gives a non-zero exit status. lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime) failed: Permission denied (13) The things that failed to copy are meta-data used by beagle (the gnome desktop search tool). This meta-data is expendable. Don't worry. As a point of interest; what version of rsync is this, and was the file read-only? -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error?
On Thu, 2007-11-15 at 19:37 +0100, Wesley W. Terpstra wrote: On Nov 15, 2007, at 10:55 AM, Morgan Read wrote: Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? The file is transferred as are the other files. However, rsync probably gives a non-zero exit status. lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime) failed: Permission denied (13) The things that failed to copy are meta-data used by beagle (the gnome desktop search tool). This meta-data is expendable. Don't worry. As a point of interest; what version of rsync is this, and was the file read-only? Thanks Wesley Yes, it was read only file - but, only one of many in that particular directory. Version of rsync: [EMAIL PROTECTED] ~]$ rpm -q rsync rsync-2.6.9-3.fc7 Regards, M. -- Getting errors: There are problems with the signature (or similar)? Update your system by installing certificates from CAcert Inc, see here: http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b Or, if Internet Explorer is your default browser, simply click this link: http://www.cacert.org/index.php?id=17 Morgan Read NEW ZEALAND mailto:mstuffATreadDOTorgDOTnz fedora: Freedom Forever! http://fedoraproject.org/wiki/Overview By choosing not to ship any proprietary or binary drivers, Fedora does differ from other distributions. ... Quote: Max Spevik http://interviews.slashdot.org/article.pl?sid=06/08/17/177220 RMS on fedora: http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync error?
On Thu, 2007-11-15 at 11:31 +0100, Daniel Maher wrote: On Thu, 2007-11-15 at 22:55 +1300, Morgan Read wrote: [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents 192.168.1.30:/home/morgan/Documents [EMAIL PROTECTED]'s password: building file list ... done rsync: rsync_xal_set: lsetxattr(Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc,user.Beagle.AttrTime) failed: Permission denied (13) rsync: rsync_xal_set: ... Can user morgan set ACLs on the filesystem of the receiving machine? If so, can user morgan set ACLs to the exactly the same state as the sending machine? If the answer to either of these is no, then you're going to run into problems like the one you've described. Don't know but suspect no is the answer to both Qs: destination system is my old laptop running fc5 that I'm begining to use as a mirror, with a file system that pre-dates fc5 (perhaps 4 or 3). Not sure ACLs were up and running on it. Once everything is sorted Ill be updating it. Regards, M. -- Getting errors: There are problems with the signature (or similar)? Update your system by installing certificates from CAcert Inc, see here: http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b Or, if Internet Explorer is your default browser, simply click this link: http://www.cacert.org/index.php?id=17 Morgan Read NEW ZEALAND mailto:mstuffATreadDOTorgDOTnz fedora: Freedom Forever! http://fedoraproject.org/wiki/Overview By choosing not to ship any proprietary or binary drivers, Fedora does differ from other distributions. ... Quote: Max Spevik http://interviews.slashdot.org/article.pl?sid=06/08/17/177220 RMS on fedora: http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
better rsync error code when no space?
Hi All I ran into this situation when rsync some files to remote side and remote file system run out of space. rsync: writefd_unbuffered failed to write 4 bytes [sender]: Connection reset by peer (104) rsync: write failed on /IMG_5106.JPG (in dest): No space left on device (28) no space was detected and reported. rsync error: error in file IO (code 11) at receiver.c(298) [receiver=3.0.0pre5] rsync: connection unexpectedly closed (27 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.0pre5] _exit_cleanup(code=12, file=io.c, line=601): about to call exit(12) looks like error code 12 is caused by first error, 104. shall rsync report ENOSPC for this? so it can be much easier to trace and find out the error. thanks! -- Ming Zhang @#$%^ purging memory... (*!% http://blackmagic02881.wordpress.com/ http://www.linkedin.com/in/blackmagic02881 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Strange rsync error
Hello, Sometimes when I am using the command: rsync -avR -e rsh /raid/system/Images/./GHOST.BAT 192.168.192.2:/raid/system/Images/ --delete -z --progress --exclude-from=/usr/local/excludes --bwlimit=70 I get the following error: rsync: mkdir /raid/system/Images failed: File exists (17) rsync error: error in file IO (code 11) at main.c(529) [receiver=2.6.9] rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9] Other times it just works fine. Any ideas what the above error means and why that happened? Version: rsync version 2.6.9 protocol version 29 Thanks for your time. -- Charalampos Pournaris [EMAIL PROTECTED] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: error in rsync protocol data stream (code 12) at io.c(140)
This is an extrememly old post, so it might not be of any use anymore. I encountered this same error, and the problem ended up being a full filesystem (my destination filled up before completion). rsync error: error in rsync protocol data stream (code 12) at io.c(140) Dave Dykstra dwd at bell-labs.com mailto:rsync%40lists.samba.org?Subject=rsync%20error%3A%20error%20in%20 rsync%20protocol%20data%20stream%20%28code%2012%29%20at%20io.c%28140%29 In-Reply-To=3C7CC328.EBEFFDE1%40amtrak.co.uk Thu Feb 28 05:54:15 EST 2002 * Previous message: rsync error: error in rsync protocol data stream (code 12) at io.c(140) http://lists.samba.org/archive/rsync/2002-February/001717.html * Next message: rsync error: error in rsync protocol data stream (code 12) at io.c(140) http://lists.samba.org/archive/rsync/2002-February/001727.html * Messages sorted by: [ date ] http://lists.samba.org/archive/rsync/2002-February/date.html#1716 [ thread ] http://lists.samba.org/archive/rsync/2002-February/thread.html#1716 [ subject ] http://lists.samba.org/archive/rsync/2002-February/subject.html#1716 [ author ] http://lists.samba.org/archive/rsync/2002-February/author.html#1716 The rsync code that prints that error on line 270 of receiver.c is printing strerror(errno), and that error message Success:12 looks very strange to me. If the 12 indicates errno, that's an ENOMEM error. Is your system out of virtual address space? Maybe it is so low on memory that it's printing the default error message Success rather the real one. An argument against the out-of-virtual-memory theory is that I don't see write_file() calling malloc as a side effect anywhere. Maybe the kernel itself is out of memory. - Dave On Wed, Feb 27, 2002 at 11:29:44AM +, Andrew McGregor wrote: Hi, I have installed 2.5.3pre1 but have (virtually) the same error: | write failed on large_file2 : Success:12 | rsync error: error in file IO (code 11) at receiver.c(271) | rsync: connection unexpectedly closed (201 bytes read so far) | rsync error: error in rsync protocol data stream (code 12) at io.c(151) The command I run is: | andrewm at massachusetts http://lists.samba.org/mailman/listinfo/rsync :~/test-rsync$ rsync -v --progress conn:/home/andrewm/test-rsync/tree/* /home/andrewm/test-rsync/rsh_tree/ Are there other debug options I can use? Or possibly compile the source differently to help prove/disprove this as a bug/local system problem? Regards Andrew McGregor John Greenfelder System Engineer II Lowes Companies (336) 658-3741 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error: STATUS_ACCESS_VIOLATION
I received the following error on the client when testing the pre2 release. I'm not sure what it means or if it helps. Rsync 2.6.9 runs the same backup without error. I compiled rsync under cygwin CVS so it may be an issue there as well. Server side did not crash. It did log an error, but I'm pretty sure it was due to the client-side crash. Rsync was running using an ssh port forwarding initiated by a separate command. 4 [main] rsync 8728 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION Exception: STATUS_ACCESS_VIOLATION at eip= eax=011BD368 ebx=0040 ecx=61121124 edx= esi=C128 edi=0022D008 ebp=001F2E88 esp=001F2DF0 program=E: \bin\rsync.exe, pid 8728, thread main cs=001B ds=0023 es=0023 fs=003B gs= ss=0023 Stack trace: Frame Function Args Server Log Entry: 2007/10/25 18:52:29 [4328] rsync error: error in rsync protocol data stream (code 12) at io.c(596) [receiver=3.0.0pre2] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html