Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with unison

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Sun Nov 18, 2012 8:42 am    Post subject: Problem with unison Reply with quote

I read the article in LXF 165 on using unison, thought that it might get round a problem I've been having keeping files in sync between three different machines.

I installed a copy of unison on my laptop (Arch) and a copy on my desktop (Salix). I then created a test directory in ~/ on the laptop, then created an empty directory of the same name on the desktop machine. Created a test profile which has the following:

Code:
label = this is a test profile
root = /home/fang/test
root = ssh://fang@deneb/test
sshargs = -C
force = newer
times = true


I then ran unison from the command line with this:

Code:
unison -ui text test


Trouble is, every time I've tried this, I get the following error:

Code:
  Waiting for changes from server\ chan5
Reconciling changes
Dumping archives to ~/unison.dump on both hosts
Finished dumping archives
Fatal error: Internal error: New archives are not identical.
Retaining original archives.  Please run Unison again to bring them up to date.


I don't understand the 'server\ chan5' reference and so far can't get any further than that.

Anyone who has experience with unison got any idea what I've done wrong?

Paul.
Back to top
View user's profile Send private message
cmcevoy



Joined: Wed Nov 30, 2005 4:06 pm
Posts: 70
Location: Ripon, UK

PostPosted: Wed Nov 21, 2012 12:04 am    Post subject: Problem with unison Reply with quote

Different versions of unison on the two machines? I think there is a switch to stop it being so picky, but I imagine the advice to use the same version at both ends is there for a reason!
Back to top
View user's profile Send private message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Wed Nov 21, 2012 9:08 pm    Post subject: Re: Problem with unison Reply with quote

cmcevoy wrote:
Different versions of unison on the two machines? I think there is a switch to stop it being so picky, but I imagine the advice to use the same version at both ends is there for a reason!


Same version, though different build numbers (similar to the differences between the Linux and Mac version mentioned in the article).

Had to stop for the moment - I upgraded Salix to the latest RC and lost unison - I'll have to try building it myself sometime in the next few days, unless the it appears in the updated repo....

I wondered if it might be the Salix build had a problem, but haven't so far been able to test.

Paul.
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7632
Location: Midlands, UK

PostPosted: Thu Nov 22, 2012 4:02 pm    Post subject: Reply with quote

Given the order you set things up and your use of force = newer and times = true, try it again without those two options in your perf.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
Bruno
LXF regular


Joined: Tue Sep 18, 2007 7:07 pm
Posts: 139
Location: Cambridgeshire, UK

PostPosted: Thu Nov 22, 2012 8:15 pm    Post subject: Reply with quote

You may have a permissions problem. Check that you are allowed to read from and write to the relevant files and directories on both machines.

Probably a red herring, but do you need the compression switch on SSH? This setting may conflict with settings in your ssh_config or sshd_config files.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast