Moin, I want to use rsysnc to get files from a linux box to a solaris server.
r...@solaris:/root # which rsync /usr/local/bin/rsync r...@solaris:/var/log/r5backup # rsync --version rsync version 3.0.7 protocol version 30 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, no xattrs, iconv, no symtimes r...@linux:/root # which rsync /usr/bin/rsync r...@linux:~# rsync --version rsync version 2.6.9 protocol version 29 Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others. <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, inplace, IPv6, ACLs, 64-bit system inums, 64-bit internal inums # rsync --rsh="/bin/ssh -i /etc/r5backup/ssh-keys/r5backup_id_rsa -p 22 " --log-file=/var/log/r5backup/1271674232.notebook.rsync -rlptgoDWzvvv --link-dest=/zfspool/data/notebook/current//usr --no-implied-dirs r...@192.168.5.30:/usr/src /zfspool/data/notebook/1271674232//usr >> /var/log/r5backup/1271674232.notebook.debug 2>>/var/log/r5backup/1271674232.notebook.stderr is the command that I use to transfer files from other solaris machines. Please note, that rsync is installed in /usr/local/bin/. Trying to use rsync with linux it fails: 2010/04/19 12:48:50 [17785] rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [Receiver=3.0.7] 2010/04/19 12:48:50 [17785] [Receiver] _exit_cleanup(code=20, file=rsync.c, line=543): about to call exit(20) opening connection using: /bin/ssh -i /etc/r5backup/ssh-keys/r5backup_id_rsa -p 22 192.168.5.30 -l root /usr/local/bin/rsync --server --sender -vvvlWogDtprze.isf . /usr/src bash: /usr/local/bin/rsync: No such file or directory rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [Receiver=3.0.7] No wonder, because rsync is installed in /usr/bin/ on linux. And: it is in the path. If I create a symlink from /usr/bin/rsync to /usr/local/bin/rsync it works, but this can't be be solution? Any hint? -- |Michael Renner E-mail: michael.ren...@gmx.de | |D-81541 Munich Germany ICQ: #112280325 | |Germany Don't drink as root! ESC:wq -- 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