As a follow up, I did a direct copy of the text from the wiki into a test file, I ran sh testfile and it ran fine. Assuming that the unison application and the qmail.prf file is in place, it should run fine. Try running the unison command manually and let me know what happens. /unison/unison -force / -batch qmail Did you skip anything in the process or run into problems during it? It may be something that centos doesn't like that fedora doesn't care about, but I can't say as I've never used centos. Try recopying, the script and let me know what happens. Craig
_____ From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 24 November 2006 16:15 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Problem in using "Failover replication Setup" Hi Ben, If you vi qmail-replicatec and do :61 what do you get? It may just be something that copied from the site. In terms of setup, on the backup server you don't need to create anything, just have QMT installed and working. The replication script will replicate all folders, users, control files and mysql data to populate the backup folder. The fact that you are getting an error in the script means there is something wrong on line 61. On my line 61 there is an open line with nothing. I will copy the one from the wiki and run it to see what I get. As for the file, it fails during transfer which is why it is blank. Let me see what happens if I copy and paste directly from the wiki. Also I've just made a minor change to the qmail-replicatec file by adding a lock file process, as mine went a bit nuts last night. Also I've removed the qmail-replicateb from cron as this only really needs to be run if you switch to the backup. Sorry for the slow reply been mad busy. Regards Craig _____ From: Bill Kwok [mailto:[EMAIL PROTECTED] Sent: 23 November 2006 09:30 To: qmailtoaster-list Subject: [qmailtoaster] Problem in using "Failover replication Setup" Hi all, I am trying to setup a setup for failover. Both machines are running CentOS 4.2. I've just installed qt to my backup server, but no domains and users were setup. I am having problem in synchronizing them. When I run the qmail-replicatec, I got the following error: [EMAIL PROTECTED] unison]# ./qmail-replicatec ./qmail-replicatec: line 61: [: root: integer expression expected In the unisonlog.full, some error message such as the following are logged: Failed: The file /home/vpopmail/.spamassassin/auto-whitelist has been modified during synchronization: transfer aborted 2% 04:06 ETAFailed [home/vpopmail/.spamassassin]: The file /home/vpopmail/.spamassassin/auto-whitelist has been modified during synchronization: transfer aborted Failed: The file /home/vpopmail/domains/my.domain.com/alison.lam/Maildir/maildirsize has been modified during synchronization: transfer aborted 2% 04:06 ETAFailed [home/vpopmail/domains]: The file /home/vpopmail/domains/my.domain.com/userA/Maildir/maildirsize has been modified during synchronization: transfer aborted UNISON finished propagating changes at 17:04:14 on 23 Nov 2006 Saving synchronizer state Synchronization incomplete (1 item transferred, 0 skipped, 2 failures) failed: home/vpopmail/.spamassassin failed: home/vpopmail/domains Then I found that there's no file copied to /home/vpopmail/domains. Am I in a wrong sequence of installation? Do I need to create all domains and users in backup server before synchronizating them? Thanks in advance. Best regards, Bill