![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rsync vs cp | jsy | UNIX for Dummies Questions & Answers | 1 | 03-24-2008 12:51 PM |
| rsync over ftp | Hitori | UNIX for Advanced & Expert Users | 2 | 03-14-2008 09:42 AM |
| rsync in ftp | Euler04 | Shell Programming and Scripting | 5 | 10-24-2005 04:17 AM |
| Rsync | darknite87 | UNIX for Advanced & Expert Users | 1 | 06-06-2002 12:37 PM |
| rsync | wz253 | UNIX for Dummies Questions & Answers | 6 | 09-04-2001 03:44 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
please help in rsync
Dear all,
I m trying to rsync a file remotely but it is throwing following error. #/opt/sfw/bin/rsync -v -a -e ssh user@xx.xx.xx.xx:/export/home/naresh/utils.sh 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(150) Please help me Thanks & Regards Naree |
| Forum Sponsor | ||
|
|
|
|||
|
Hi,
I believe you need to configure /etc/rsyncd.conf and try telnet to localhost on 873 and see if it gets connected also add that in /etc/services. I used this link for help Manpage of rsync Thanks. |
|
|||
|
Please help me rsync
Dear J,
Please help me how to add rsync entry in /etc/services. and /etc/rsyncd.conf what shud enter in this file please help me. I have telnet to local host and port no 873 is showing following error Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying ::1... telnet: Unable to connect to remote host: Network is unreachable Thanks & Regards Naree |
|
|||
|
In /etc/services
# Rsync port rsync 873/tcp In /etc/inetd.conf #Rsync Daemon rsync stream tcp nowait root /[location]/rsync rsync --daemon In /etc/rsyncd.conf [label name] comment="test folder" path=/var/tmp/test max connections=2 log file=/var/adm/rsyncserverlog uid=0 max verbosity=3 hosts allow=remote server The same should be done on the destination in rsyncd.conf and make sure its running rsync too. Thanks. |
|
|||
|
Need more in rsync
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 |
|
|||
|
Quote:
|
|
|||
|
Hi,
Did you gave the actual path where rsync resides in here In /etc/inetd.conf #Rsync Daemon rsync stream tcp nowait root /[location]/rsync rsync --daemon Also make sure the file is executable and permissions are ok. |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|