You are not logged in.

#1 2008-05-03 09:47:11

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

using unison to sync home

I can use unison to sync home between my laptop and my nfs server using the following command as root

unison /home ssh://root@starbug//home -auto -batch -group -user

all works fine, execpt i want my /home to sync on startup / shutdown, so I put the command above in /etc/rc.local and /etc/rc.local.shutdown, but it does not work i get the following error.

Connected [//Rimmer/home -> //starbug//home]
Looking for changes
Fatal error: Internal error: On-disk archives are not identical.

This can happen when both machines have the same hostname.

If this is not the case and you get this message repeatedly, please:
 a) Send a bug report to unison-users@yahoogroups.com (you may need to join before you are allowed to post).
 b) Move the archive files on each machine to some other directory
     (in case they may be useful for debugging).
     The archive files on this machine are in the directory
        /.unison
     and have names of the form
        arXXXXXXXXXXXXXXXXXXXXXXXXXXXX
     where the X's are a hexidecimal number .
  c) Run unison again to synchronize from scratch.

I can't see why it won't work on startup / shutdown, it does however work if I run /etc/rc.local from root's cli.

Anyone any ideas?

Thanks

Offline

Board footer

Powered by FluxBB