Hi Gabriel, you need to make sure that the port number you specify in the run file is the one you try and connect to. The one that is set in the qmail.prf file must match the /unison/unison -socket xxxx line in unison-run. On the primary confirm that the /root/.unison/qmail.prf file has the correct ip and socket. On the secondary, can you confirm the unison-run script matches what is on the wiki, or paste the contents here. Does the /unison/unison -socket xxxx & line have the & at the end? What happens on secondary if you manually run the above line. So at command type /unison/unison -socket xxxx & and then enter on the blank line. If that runs, do ps -ef|grep unison and you should get a line similar to root 24608 1 0 12:28 pts/1 00:00:00 /unison/unison -socket xxxx Let me know what that does, the primary error will definately be down to the socket not running. As for socket number you can use anything so long as they match and aren't on a known used socket. e.g. 6576
_____ From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: 07 February 2007 05:35 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours Hi Craig, I manage to redo the testing after so long you replied the email :) The error I got was extracted out from Primary Server, it says Contacting to server..... Error: Can't connect to server (192.168.119.133:1234) Deleting lock file I start the unison-run command with /unison/unison-run start, the next line shown me: sh-3.1# But, seems like it doesn't start the service on Secondary, that's y it cannot connect. Would u mind tell me what is the port number u use? Thanks ----- Original Message ---- From: Craig Smith <[EMAIL PROTECTED]> To: qmailtoaster-list@qmailtoaster.com Sent: Monday, January 22, 2007 10:21:25 PM Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours Gabriel Where were you getting errors? I set up this procedure and it works like a charm on my system, but there are minor changes needed between various OS's. I set this up on Fedora Core 5. Let me know what errors you were getting and where and I will try and help you with it. Also I changed the timing on the script to more than 1 min as after a few weeks it started causing problems on our server with the replication itself, so now it is more accurate to say the backup server is only ever 10 mins (or cronjob based) from the primary. Regards. _____ From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 07:24 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours Joseph, Have you tried with the QMT Setup steps? I tested previously, but failed at certain level. If you have tested before, maybe you can help me out with the errors Thanks ----- Original Message ---- From: Joseph Lundgren <[EMAIL PROTECTED]> To: qmailtoaster-list@qmailtoaster.com Sent: Friday, January 19, 2007 2:41:59 AM Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours Gabriel, Please look at http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup "This page gives you a procedure to configure a backup qmt server that will be available for failover in the event of primary server failure. The backup server will only ever be 1 minute out from the primary." I believe that it covers what you're trying to achieve. Sincerely, -- Joseph Lundgren Systems Engineer Peak Internet, LLC [EMAIL PROTECTED] From: Gabriel Lai [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 1:12 AM To: Qmail Toaster List 2 Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours Hello all, I would like to setup a QT site where the 2 email servers will be doing replication to each other 24 hours live. eg: when mail coming from Internet to Mail Server 1, it will automatically replicate to Mail Server 2. Jake has point me the backup & restore script guides, but that needs manual job when Mail Server 1 is down, someone have to manually restore the backup in Mail Server 2, then only can replace Mail Server 1. Have anyone tried to do so? Please assist. _____ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. _____ The fish are biting. Get more visitors <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon soredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50> on your site using Yahoo! Search Marketing. <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon soredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50> _____ Need Mail bonding? Go to the Yahoo! <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOAR fcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=39654 6091> Mail Q&A for great <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOAR fcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=39654 6091> tips from Yahoo! Answers users.