nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Rsync prblem pl. do favour, it's urgent

This is a discussion on Rsync prblem pl. do favour, it's urgent within the Web servers forums, part of the Mastering Servers category; when i am using this command rsync -avz /somedirectory/somefiles.* root@xxx.xxx.xxx.xxx : ml/ i am getting this error messages rsync: read ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 02-19-2007, 11:29 AM
Member
User
 
Join Date: Jul 2006
Posts: 78
Rep Power: 0
kasimani
Send a message via Yahoo to kasimani
Default Rsync prblem pl. do favour, it's urgent

when i am using this command
rsync -avz /somedirectory/somefiles.* root@xxx.xxx.xxx.xxx:ml/

i am getting this error messages

rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(604) [sender=2.6.9]

and when i am suing this command

rsync -avz /somedirectory/somefiles.* root@xxx.xxx.xxx.xxxml/

building file list ... done

sent 113 bytes received 16 bytes 258.00 bytes/sec
total size is 308 speedup is 2.39

this happens, but nothing updation on target network system directory.

Pl. can any on tell me

what is the difference between these two commands
what is the exect solution for this.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-21-2007, 09:40 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

I don't see any difference two commands
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 02-21-2007, 03:25 PM
Member
User
 
Join Date: Jul 2005
Posts: 85
Rep Power: 0
ricc
Default

vivek,

I see that there is an extra colon ( in between root@xxx.xxx.xxx.xxx and xml.

kasimani,

the rsync man-page explains the differnce between the two of them.

when using the extra colon( , the local rsync daemon( from which you are connecting) will connect to the remote daemon directly. you need to make sure that both the local and remote machines have the rsync daemon running.

when you use only the single colon, you use rsync thru a remote shell connection.

just try the options listed in the man-page and let us know.

ric
Reply With Quote
  #4 (permalink)  
Old 02-21-2007, 07:29 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

ricc,

You know I am *really* getting old ... LOL
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 02-22-2007, 05:12 PM
Member
User
 
Join Date: Jul 2006
Posts: 78
Rep Power: 0
kasimani
Send a message via Yahoo to kasimani
Default to ricc

that's the problem with me by using extra colon,
i am trying to connect the daemon on the remote server, and when i am giving the password or password through a file, the error message is

rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(604) [sender=2.6.9]

this is problem,

and when using single colon , then i have to provide full path like this
rsync -avz /data/ibnlive/web/html/xml/sms/*.xml ibn@202.87.54.236:/dirname/maindir/

it donesn;t give any error, and the prob is solved, but i am strucking on why the privious command firing error message even the daemon is running on both server and the passwd is also correct.


give me some cluse pl.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
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

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
rsync pls help linuxmanjusha Web servers 1 10-23-2007 12:12 PM
[URGENT..HELP!] Please help me out.. ='( kzapth Shell scripting 2 10-09-2007 08:54 PM
[URGENT..HELP]Please don't ignore my post. =( kzapth Shell scripting 0 09-16-2007 07:41 PM
rsync folder zafar466 Shell scripting 1 04-28-2007 04:28 AM
Rsync prblem pl. do favour, it's urgent kasimani Networking, Firewalls and Security 0 02-19-2007 11:27 AM


All times are GMT +5.5. The time now is 08:15 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.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