The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM
Home Forums Register Rules & FAQ 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 .


Other UNIX.COM Threads You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #6 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: Apr 2008
Posts: 12
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Forum Sponsor
  #7 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: Dec 2006
Posts: 42
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #8 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: Feb 2008
Posts: 70
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I have check .. for rsync

Dear Jartan,
I have checked entry in /etc/inetd.conf the entry is correct as u have told us. But even though it is throwing same Error. what would be the problem. Please Kndly help me

Thanks & Regards
Naree
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 09:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102