The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 05-13-2008
mr_crosby mr_crosby is offline
Registered User
 

Join Date: Apr 2008
Posts: 13
Quote:
Originally Posted by naree View Post
Dear Jartan,
As u suggested we have done entries in /etc/services. And in /etc/inetd.conf and checked whelther rsync is running and we noticed that it is running in both machines. And telnet localhost 873, it was able to telnet. Now we have given entires in /etc/rsyncd.conf as following

[label name]
comment="test folder"
path=/var/tmp/test
max connections=2
log file=/var/adm/rsyncserverlog
uid=0
max verbosity=3
hosts allow=xx.xx.xx.xx

And trying run rsync utility as

#/opt/sfw/bin/rsync -v -a -e ssh user@xx.xx.xx.xx:/export/home/naresh/utils.sh utils.sh

But our Bad luck it is throwing same error

bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

Please help us in this Regard it is really urgent.

Thanks & Regards
Naree
Do you need the --rsync-path=PATH in the command line? It appears that it cant see rsync on the remote machine.
Reply With Quote