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