LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2010, 05:24 PM   #1
paul1149
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Rep: Reputation: 0
Grsync failure


Hi,

I'm trying to sync a folder between my Windows install and my PCLinux install. Same machine, Windows 7 on the C drive and Linux on an external USB hard drive.

Using the Grsync GUI, I searched for the source and destination folders, and then executed the command. Here is the output:

** Launching RSYNC command (simulation mode):
pkexec rsync -r -n -t -v --progress -s /media/Win7/Documents and Settings/Paul/Application Data/The Word file:///root/.wine/drive_c/Program Files/The Word/myData

ssh: connect to host file port 22: No route to host

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7]
Rsync process exit status: 255
It seems to be doing an FTP operation, whereas all I need is a file transfer. Can anyone point out my error here?

Thanks,
Paul
 
Old 09-19-2010, 06:07 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
It seems to be doing an FTP operation, whereas all I need is a file transfer.
..which is what FTP is? Transferring files? We call it rsyncing when rsync is doing it, though.

Quote:
Can anyone point out my error here?
Yes, it's right here:
Code:
ssh: connect to host file port 22: No route to host
It's trying to connect to a remote host named file. But you don't want to go over the network. Does Grsync support local to local transfers? I know rsync does, but I have never used Grsync. Play around with the input you're giving Grsync, or just use the command line.
 
Old 09-20-2010, 09:41 AM   #3
paul1149
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, Thanks. I used the Grsync browser to spec the file locations, so I would think that the program would recognize the filespec as being local. But I'll try rsync and see what I can do there.
 
Old 09-20-2010, 09:55 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Code:
rsync -r -n -t -v --progress -s "/media/Win7/Documents and Settings/Paul/Application Data/The Word" "/root/.wine/drive_c/Program Files/The Word/myData"
Should do it.
 
Old 09-21-2010, 08:56 AM   #5
paul1149
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks again. I'm busy on Windows currently, but when I go to Linux I'll give this a run and then report back.
 
Old 09-22-2010, 06:05 PM   #6
paul1149
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I thought I'd be in the money with this. I cheated a bit on your suggestion, by only cleaning up the destination spec by removing its "media" prefix. Then I did a Simulation, with success. But every time I actually Executed (I'm still in Grsync), there was an error:
*** Launching RSYNC command:
pkexec rsync -r -t -v --progress -s /media/Win7/Documents and Settings/Paul/Application Data/The Word/ /root/.wine/drive_c/Application Data/The Word/

sending incremental file list
rsync: mkdir "/root/.wine/drive_c/Application Data/The Word" failed: No such file or directory (2)
Subsequent rsync tries using your suggestion failed as well, without notification.

This baffles me, because the directory exists already. The problem seems to be related to the program, theWord, running under WINE. Using theWord's browser within Wine, the destination directory should be file:///root/.wine/drive_c/users/root/Application Data/The Word. But using that gets me into the original Port 22 FTP problem. If I delete the file:/// prefix, the Simulation goes fine, but the Execution produces the mkdir error.

If I run the rsync using a plain vanilla directory, such as root/documents/the word, rsync works flawlessly. The problem there is that Wine isn't allowing theWord to see outside it's own simulated drive_c universe. So I'm stuck in no-man's land.

This is probably more a WINE question than an rsync question. I guess I need to ask it again in that light.

Thanks,
p.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting grsync to sync both ways. CrownAmbassador Linux - Software 0 04-27-2008 07:57 AM
is this a disk failure msg - hdc: request senense failure walterj Linux - Hardware 3 03-25-2008 11:01 PM
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
LXer: Instant backups with smbmount and grsync LXer Syndicated Linux News 0 08-01-2007 03:46 PM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration