Bhattacharyya, Somraj [EMAIL PROTECTED] wrote: > > Hi All > I am using the following command to update data from one server to another > one. But it is > returning back with error. > > Without SSH: > [EMAIL PROTECTED] var]# rsync -ae /var/www pc165002.napier.ac.uk:/var/www
Without ssh also means without -e. Take the -e out, and this 'Failed to exec' error should disappear. > Failed to exec /var/www : Permission denied > rsync error: error in IPC code (code 14) at util.c(162) > rsync: connection unexpectedly closed (0 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(150) > > With SSH: > [EMAIL PROTECTED] var]# rsync -ae ssh/var/www pc165002.napier.ac.uk:/var/www ^^^^^^^^^^^ You need a space between ssh and '/var/www'. > Failed to exec ssh/var/www : No such file or directory > rsync error: error in IPC code (code 14) at util.c(162) > rsync: connection unexpectedly closed (0 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(150) > > For with SSH option, I have the specified directory. > > Can anyone please guide me. > > Thanks in advance. > Somraj > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Hardy Merrill Red Hat, Inc. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html