Hi all,
This is a strange error that I only get from my Mandrake machines.
My FreeBSD and CentOS servers work fine.
I believe my syntax is correct in my script as well.
I have 3 servers installed with:
Mandrake Linux release 9.2 (FiveStar)
Kernel 2.4.26-mdkmosixsmp
I run my rsync in a script, which looks as follows:
Code:
#!/bin/bash
VAULT='backupserver'
RSYNC=`which rsync`
DATE=$(date +%Y-%m-%d.%H:%M)
LOG="/tmp/Server1-$DATE.log"
$RSYNC -avl --delete --stats /usr/local/data root@$VAULT:/Backups/Server1 >> $LOG
When I run this script, all 3 servers give me the same error:
Quote:
Failed to exec rsh : No such file or directory
rsync error: error in IPC code (code 14) at pipe.c(82)
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
|
My rsync is located in "/usr/bin/rsync" which is in my path.
I tried to run the command manually but I get the same errors.
Is it something I have to install ?
I do not know Mandrake very well, I actually am not even too sure how to install anything on Mandrake.
Thanks for the help.