Error Running Unison Sync in 2 Server Cluster ISPConfig 3.1.5

Discussion in 'Installation/Configuration' started by DirtyTodd, Jul 20, 2017.

  1. DirtyTodd

    DirtyTodd New Member

    Hi Folks,

    Apart from below error everything went smooth as described, can you please help me solve the issues

    1. In step 7 on running
    Code:
    /root/scripts/unison.sh
    I get error
    Code:
    Warning: No archive files were found for these roots, whose canonical names are:
            /var/www
            //server2//var/www
    This can happen either
    because this is the first time you have synchronized these roots,
    or because you have upgraded Unison to a new version with a different
    archive format.
    
    Update detection may take a while on this run if the replicas are
    large.
    
    Unison will assume that the 'last synchronized state' of both replicas
    was completely empty.  This means that any files that are different
    will be reported as conflicts, and any files that exist only on one
    replica will be judged as new and propagated to the other replica.
    If the two replicas are identical, then no changes will be reported.
    
    If you see this message repeatedly, it may be because one of your machines
    is getting its address from DHCP, which is causing its host name to change
    between synchronizations.  See the documentation for the UNISONLOCALHOSTNAME
    environment variable for advice on how to correct this.
    
    Donations to the Unison project are gratefully accepted:
    http://www.cis.upenn.edu/~bcpierce/unison
    
    2. Step 8 describe to enable iterate_query in both the servers but in my servers it was already enabled so I found it a bit fishy can anyone explains how it was enabled when I haven't
    Server1 had this entry
    Code:
    iterate_query = SELECT email as user FROM mail_user WHERE server_id = '1'
    Server2 has this entry
    Code:
    iterate_query = SELECT email as user FROM mail_user WHERE server_id = '3'
    and one last question how do I link my domain to this cluster
    Code:
    I want my domain www.xyz.com as base and want nameservers to be ns1.xyz.com and ns2.xyz.com
    and host my second www.abc.com domain as a reseller
    and my third domain www.aaa.com as client to reseller (www.abc.com) 
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    ISPConfig now enables iterate_query on dovecot versions that support it.
     

Share This Page