Operating System - HP-UX
1832547 Members
7069 Online
110043 Solutions
New Discussion

Re: I can rsync from host A to B but not from B to A.

 
SOLVED
Go to solution
John E. Goetz
Frequent Advisor

I can rsync from host A to B but not from B to A.

Getting the following error:

ksh: rsync: cannot execute
2 REPLIES 2
VK2COT
Honored Contributor
Solution

Re: I can rsync from host A to B but not from B to A.

Hello,

Your rsync command is not executable, or
is protected in some way (for example, only root can run it, or some strange ACL was applied).

Check the PATH variable and see which
rsync you are actually invoking. Then,
check its permissions:

ls -als /pathdir/rsync

Cheers from overcast Sydney - Australia,

VK2COT
VK2COT - Dusan Baljevic
Bill Hassell
Honored Contributor

Re: I can rsync from host A to B but not from B to A.

Depending on how rsync was put together, it assumes where the remote rsync is located. Try adding --rsync-path=/usr/local/bin/rsync or whatever the remote path might be.


Bill Hassell, sysadmin