Non-clean Rsync 3.0.3 exit on OSX - Tools

This is a discussion on Non-clean Rsync 3.0.3 exit on OSX - Tools ; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've compiled rsync 3.0.3 on OSX 10.4 PPC via the plain jane ../configure; make method (no patches). The resulting binary has then been moved to /usr/local/bin/rsync3 and copied to a OSX 10.5.4 Intel client ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Non-clean Rsync 3.0.3 exit on OSX

  1. Non-clean Rsync 3.0.3 exit on OSX

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I've compiled rsync 3.0.3 on OSX 10.4 PPC via the plain jane
    ../configure; make method (no patches). The resulting binary has then
    been moved to /usr/local/bin/rsync3 and copied to a OSX 10.5.4 Intel
    client machine as rsync3.

    I then run the following command:

    rsync3 -vvv -e ssh -avAX --progress --delete
    - --rsync-path='/usr/local/bin/rsync3'
    root@xserver:/Users/portman/Sites/index.html
    /Volumes/MacHardDisk/Users/portman/Sites/index.html

    Which results in the following attached log. The entire transfer of
    data seems to proceed just fine, but it hangs and exits uncleanly at the
    end. Any ideas?

    - --
    Paul Ortman

    PGP Key: 55602C81
    - --
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFIa/XYfw8KGlVgLIERAsoDAJ4veko7osh3c4dtZRX/04O7rAHIJwCgjd7j
    h7MdxEe71NRiZuW6qNgzdyY=
    =xpUX
    -----END PGP SIGNATURE-----


    portman-mac:~ manager$ sh ~/rsync.sh
    cmd=ssh machine=xserver user=root path=/Users/portman/Sites/index.html
    cmd[0]=ssh cmd[1]=-l cmd[2]=root cmd[3]=xserver cmd[4]=/usr/local/bin/rsync3
    cmd[5]=--server cmd[6]=--sender cmd[7]=-vvvvlogDtpAXre.i cmd[8]=.
    cmd[9]=/Users/portman/Sites/index.html
    opening connection using: ssh -l root xserver /usr/local/bin/rsync3 --server
    --sender -vvvvlogDtpAXre.i . /Users/portman/Sites/index.html
    note: iconv_open("UTF-8", "UTF-8") succeeded.
    Password:
    (Server) Protocol versions: remote=30, negotiated=30
    (Client) Protocol versions: remote=30, negotiated=30
    receiving incremental file list
    server_sender starting pid=23973
    [sender] make_file(index.html,*,0)
    uid 10452(portman) maps to 10452
    gid 2053(its) maps to 2053
    [receiver] expand acl_duo to 16000 bytes, did move
    [sender] expand rsync_acl to 12000 bytes, did move
    [receiver] expand item_list to 1200 bytes, did move
    [receiver] expand rsync_xa to 0 bytes, did move
    recv_file_name(index.html)
    [sender] expand item_list to 1200 bytes, did move
    [sender] expand rsync_xa to 0 bytes, did move
    received 1 names
    [receiver] flist start=1, used=1, low=0, high=0
    [receiver] i=1 1 index.html mode=0100644 len=5756 uid=10452 gid=2053 flags=0
    recv_file_list done
    [sender] flist start=1, used=1, low=0, high=0
    [sender] i=1 /Users/portman/Sites index.html mode=0100644 len=5756 uid=10452
    gid=2053 flags=5
    send_file_list done
    get_local_name count=1 /Volumes/MacHardDisk/Users/portman/Sites/index.html
    generator starting pid=21246
    delta-transmission enabled
    recv_generator(index.html,1)
    recv_files(1) starting
    index.html is uptodate
    send_files starting
    generate_files phase=1
    send_files(1, /Users/portman/Sites/index.html)
    recv_files(index.html)
    send_files phase=1
    recv_files phase=1
    generate_files phase=2
    send_files phase=2
    recv_files phase=2
    send files finished
    generate_files phase=3
    total: matches=0 hash_hits=0 false_alarms=0 data=0
    recv_files finished
    generate_files finished
    _exit_cleanup(code=0, file=main.c, line=731): entered
    _exit_cleanup(code=0, file=main.c, line=731): about to call exit(0)
    rsync: connection unexpectedly closed (77 bytes received so far) [receiver]
    _exit_cleanup(code=12, file=io.c, line=635): entered
    rsync error: error in rsync protocol data stream (code 12) at io.c(635)
    [receiver=3.0.3]
    _exit_cleanup(code=12, file=io.c, line=635): about to call exit(12)
    client_run2 waiting on 21247
    _exit_cleanup(code=12, file=main.c, line=1506): entered
    rsync error: error in rsync protocol data stream (code 12) at main.c(1506)
    [generator=3.0.3]
    _exit_cleanup(code=12, file=main.c, line=1506): about to call exit(12)

    --
    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

  2. Re: Non-clean Rsync 3.0.3 exit on OSX

    I'd guess you're running into endian issues. Does the same error
    occur when you compile a version specifically for the i386
    architecture (e.g. on the Intel machine)?

    Mike

    On Jul 2, 2008, at 4:40 PM, Paul Ortman wrote:

    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > I've compiled rsync 3.0.3 on OSX 10.4 PPC via the plain jane
    > ./configure; make method (no patches). The resulting binary has then
    > been moved to /usr/local/bin/rsync3 and copied to a OSX 10.5.4 Intel
    > client machine as rsync3.
    >
    > I then run the following command:
    >
    > rsync3 -vvv -e ssh -avAX --progress --delete
    > - --rsync-path='/usr/local/bin/rsync3'
    > root@xserver:/Users/portman/Sites/index.html
    > /Volumes/MacHardDisk/Users/portman/Sites/index.html
    >
    > Which results in the following attached log. The entire transfer of
    > data seems to proceed just fine, but it hangs and exits uncleanly at
    > the
    > end. Any ideas?
    >
    > - --
    > Paul Ortman
    >
    > PGP Key: 55602C81
    > - --
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.4.6 (GNU/Linux)
    >
    > iD8DBQFIa/XYfw8KGlVgLIERAsoDAJ4veko7osh3c4dtZRX/04O7rAHIJwCgjd7j
    > h7MdxEe71NRiZuW6qNgzdyY=
    > =xpUX
    > -----END PGP SIGNATURE-----
    >
    > portman-mac:~ manager$ sh ~/rsync.sh
    > cmd=ssh machine=xserver user=root path=/Users/portman/Sites/index.html
    > cmd[0]=ssh cmd[1]=-l cmd[2]=root cmd[3]=xserver cmd[4]=/usr/local/
    > bin/rsync3
    > cmd[5]=--server cmd[6]=--sender cmd[7]=-vvvvlogDtpAXre.i cmd[8]=.
    > cmd[9]=/Users/portman/Sites/index.html
    > opening connection using: ssh -l root xserver /usr/local/bin/rsync3
    > --server
    > --sender -vvvvlogDtpAXre.i . /Users/portman/Sites/index.html
    > note: iconv_open("UTF-8", "UTF-8") succeeded.
    > Password:
    > (Server) Protocol versions: remote=30, negotiated=30
    > (Client) Protocol versions: remote=30, negotiated=30
    > receiving incremental file list
    > server_sender starting pid=23973
    > [sender] make_file(index.html,*,0)
    > uid 10452(portman) maps to 10452
    > gid 2053(its) maps to 2053
    > [receiver] expand acl_duo to 16000 bytes, did move
    > [sender] expand rsync_acl to 12000 bytes, did move
    > [receiver] expand item_list to 1200 bytes, did move
    > [receiver] expand rsync_xa to 0 bytes, did move
    > recv_file_name(index.html)
    > [sender] expand item_list to 1200 bytes, did move
    > [sender] expand rsync_xa to 0 bytes, did move
    > received 1 names
    > [receiver] flist start=1, used=1, low=0, high=0
    > [receiver] i=1 1 index.html mode=0100644 len=5756 uid=10452 gid=2053
    > flags=0
    > recv_file_list done
    > [sender] flist start=1, used=1, low=0, high=0
    > [sender] i=1 /Users/portman/Sites index.html mode=0100644 len=5756
    > uid=10452
    > gid=2053 flags=5
    > send_file_list done
    > get_local_name count=1 /Volumes/MacHardDisk/Users/portman/Sites/
    > index.html
    > generator starting pid=21246
    > delta-transmission enabled
    > recv_generator(index.html,1)
    > recv_files(1) starting
    > index.html is uptodate
    > send_files starting
    > generate_files phase=1
    > send_files(1, /Users/portman/Sites/index.html)
    > recv_files(index.html)
    > send_files phase=1
    > recv_files phase=1
    > generate_files phase=2
    > send_files phase=2
    > recv_files phase=2
    > send files finished
    > generate_files phase=3
    > total: matches=0 hash_hits=0 false_alarms=0 data=0
    > recv_files finished
    > generate_files finished
    > _exit_cleanup(code=0, file=main.c, line=731): entered
    > _exit_cleanup(code=0, file=main.c, line=731): about to call exit(0)
    > rsync: connection unexpectedly closed (77 bytes received so far)
    > [receiver]
    > _exit_cleanup(code=12, file=io.c, line=635): entered
    > rsync error: error in rsync protocol data stream (code 12) at
    > io.c(635)
    > [receiver=3.0.3]
    > _exit_cleanup(code=12, file=io.c, line=635): about to call exit(12)
    > client_run2 waiting on 21247
    > _exit_cleanup(code=12, file=main.c, line=1506): entered
    > rsync error: error in rsync protocol data stream (code 12) at
    > main.c(1506)
    > [generator=3.0.3]
    > _exit_cleanup(code=12, file=main.c, line=1506): about to call exit(12)
    > --
    > 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


  3. Re: Non-clean Rsync 3.0.3 exit on OSX

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Mike Bombich wrote:
    > I'd guess you're running into endian issues. Does the same error occur
    > when you compile a version specifically for the i386 architecture (e.g.
    > on the Intel machine)?


    Compiling on the Intel Mac was exactly what I needed to solve the
    problem. I kinda figured that was the problem but I thought it was odd
    that it would be fine until it was attempting to exit... Thanks for the
    help.

    - --
    Paul Ortman

    PGP Key: 55602C81
    - --
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFIbUN/fw8KGlVgLIERArxDAJ9Q1BwpDP4VXaZq/nB6hMIeASykDgCfbHOH
    2m150yuQk3sU/FnO+E3Y+1I=
    =CpTy
    -----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


+ Reply to Thread