Monday, February 16, 2009

rsync: command not found error even though rsync installed in local & remote server (Solaris)

I was trying to take backup of some content from a Solaris machine to Linux machine using rsync. But it was giving a strange error

> /usr/bin/rsync -avuz --stats someuser@remote-solaris-machine:/export/CVS-xcert/* /export/HCL-CVS
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(454) [sender=2.6.9]

Even though rsync installed in both local & remote machines, it is complaining about rsync unavailability in Solaris machine (Remote machine)

What happened here is that it was not able to find rsync in standard path in remote machine. The solution for this problem is

/usr/bin/rsync -avuz --stats --rsync-path=/usr/local/bin/rsync someuser@remote-solaris-machine:/export/CVS-xcert/* /export/HCL-CVS

In these type of problems we need to explicitly suggest the rsync path of remote machine through --rsync-path argument

19 comments:

Lord Bharath Bhushan Lohray. said...

Thanks a lot. I had a similar problem and your post helped me solve it.

I am running slackware (local) and Solaris (remote) and wanted to sync a folder between them.

Anonymous said...

Hey. I don't normally leave comments, but I just wanted to say thanks for the great information. I have a blog too, though
I don't write as good as you do, but if you want to check it out here it is. Thanks again and have a great day!

Affliction Warlock Leveling Build

Anonymous said...

nucleon ornate turbines specialists expose insite slow explicitness lvkfdlv indigent rina
lolikneri havaqatsu

Anonymous said...

а все таки: превосходно. а82ч

Anonymous said...

Good morning

We do not agree with this year Brit awards decision.

Please attend our little web poll

http://micropoll.com/t/KDqOnZBCWt

Lady Gaga can not be better than Nina Hagen

Poll supported by BRIT awards 2010 sponsor femmestyle
[url=http://www.femmestyle.ch/nosecorrection.html]nasenkorrektur[/url]

Do you have a burning question we could ask all the stars at The BRIT Awards?

Anonymous said...

Genial dispatch and this enter helped me alot in my college assignement. Thank you seeking your information.

Anonymous said...

vimax pills - good blog friends! Post your article which is also useful for readers and to share information or experiences you have. I will visit your blog again. penis enlargement pills - http://www.male-sexual.com

Best Penis Enlargement Pills said...
This comment has been removed by a blog administrator.
Anonymous said...

Been trying to fix this for 3 days now, thank you so much! rsync all now fully up and running!

Amol Rajgure said...

thanks a lot

Anonymous said...

In fact no matter if someone doesn't understand after that its up to other visitors that they will assist, so here it takes place.

Also visit my web site - buy virility ex

Anonymous said...

It's really a nice and useful piece of info. I'm glad that you shared this helpful information with us.
Please keep us informed like this. Thank you for
sharing.

Also visit my page :: Data-Intelligence.Pl

Anonymous said...

Keep on writing, great job!

my site - buy xtreme no

Anonymous said...

What's Taking place i am new to this, I stumbled upon this I've discovered It positively helpful
and it has aided me out loads. I am hoping to give a contribution & assist different users like its aided me.

Great job.

my website ... ropermobile.com

Anonymous said...

Great blog here! Also your site loads up very fast! What host are you using?
Can I get your affiliate link to your host? I wish my
site loaded up as fast as yours lol

Also visit my blog - simple ways to escape the pain

Anonymous said...

Exceptional post but I was wondering if you could write a litte more on
this subject? I'd be very thankful if you could elaborate a little bit more. Bless you!

Check out my web page - meltdown fat burner

Anonymous said...

I think this is one of the most significant info for me.
And i am glad reading your article. But wanna remark on some general
things, The site style is wonderful, the articles is really
nice : D. Good job, cheers

Also visit my web site - buyaltawhite.eklablog.com

Anonymous said...

Great beat ! I would like to apprentice while you amend
your website, how can i subscribe for a blog website?
The account helped me a acceptable deal.

I had been tiny bit acquainted of this your broadcast provided bright clear idea

Stop by my web-site - hypothyroidism levels

Anonymous said...

Hello! I just wanted to ask if you ever have any issues with hackers?
My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no
back up. Do you have any solutions to stop hackers?

Visit my web page; Provillus