Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: [SOLVED] Disaster recovery

  1. #1
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default [SOLVED] Disaster recovery

    Hello,

    I want to transfer my zimbra to a new server !
    Now I am running on a ubuntu 6.06.
    I have a ubuntu 8.04 running that I want to setup my zimbra.

    I followed the steps from your wiki : Network Edition Disaster Recovery
    I am on the 6th step of recovery.

    I copied the last full and incr that follows to my new server /opt/zimbra/backup/sessions.

    Now I have to do a zmrestorrldap -lb

    When this is done I get an error :
    Code:
    Starting ldap...ldap_url and ldap_master_url cannot be the same on an ldap replica
    ERROR: failed to start ldap.
    What is wrong ?

    Greets
    John

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Which wiki article and what is your Zimbra configuration (multi-server, single server etc.)?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default

    Hallo,

    This is the wiki article and it is a single server.

    Greets,

    John

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    The correct command should be as follows (do you still get the error with this?):

    Code:
    zmrestorrldap -lbs
    Have you also made sure that the /etc/hosts file is the same (the same FQDN as the old server) and the DNS A & MX records resolve to the new server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default

    Yes, this was a typo on the forum, sorry.

    I have setup a splitDNS and did a nslookup and everything looks fine:
    Code:
    root@mail:~# nslookup robotronic.be
    Server:         192.168.0.236
    Address:        192.168.0.236#53
    
    Name:   robotronic.be
    Address: 192.168.0.236
    
    root@mail:~#
    greets,
    John

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Just for confirmation let's see the full output of the following commands (run on the new server):

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com any
    dig yourdomain.com mx
    host `hostname`  <- use that exact command with backticks not single quotes
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default

    Hello,

    Here are the outputs :
    Code:
    root@mail:~# cat /etc/hosts
    127.0.0.1       localhost.localdomain           localhost
    192.168.0.236   mail.robotronic.be              mail
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    Code:
    root@mail:~# cat /etc/resolv.conf
    nameserver 192.168.0.236
    Code:
    root@mail:~# dig robotornic.be any
    
    ; <<>> DiG 9.4.2-P2.1 <<>> robotornic.be any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48887
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;robotornic.be.                 IN      ANY
    
    ;; AUTHORITY SECTION:
    be.                     600     IN      SOA     a.ns.dns.be. tech.dns.be. 1005160227 3600 1800 2419200 600
    
    ;; Query time: 76 msec
    ;; SERVER: 192.168.0.236#53(192.168.0.236)
    ;; WHEN: Sun May 16 15:24:05 2010
    ;; MSG SIZE  rcvd: 81
    Code:
    root@mail:~# dig robotornic.be mx
    
    ; <<>> DiG 9.4.2-P2.1 <<>> robotornic.be mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42022
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;robotornic.be.                 IN      MX
    
    ;; AUTHORITY SECTION:
    be.                     410     IN      SOA     a.ns.dns.be. tech.dns.be. 1005160227 3600 1800 2419200 600
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.236#53(192.168.0.236)
    ;; WHEN: Sun May 16 15:27:15 2010
    ;; MSG SIZE  rcvd: 81
    Code:
    root@mail:~# host `hostname`
    Host mail not found: 3(NXDOMAIN)

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    You seem to have no A or MX resolution for this domain (robotronic.be), I assume you've also disabled the firewall and AppArmor on the server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default

    I have done the restore, and it was a password error of my root_ldap_password.

    But now I can't send mails?

    Here the a cut of the zimbra.log

    Code:
    May 16 16:31:33 mail postfix/smtp[15947]: connect to mx1.hotmail.com[65.55.92.184]: Connection refused (port 25)
    May 16 16:31:33 mail postfix/smtp[15947]: connect to mx2.hotmail.com[65.54.188.126]: Connection refused (port 25)
    May 16 16:31:33 mail postfix/smtp[15947]: connect to mx2.hotmail.com[65.55.37.88]: Connection refused (port 25)
    May 16 16:31:33 mail postfix/smtp[15947]: connect to mx1.hotmail.com[65.55.92.136]: Connection refused (port 25)
    May 16 16:31:33 mail postfix/smtp[15947]: connect to mx4.hotmail.com[65.55.92.136]: Connection refused (port 25)
    Is this an apparmor problem or is ubuntu 8.04 blocking port 25?
    If so How can I check this ?

    Greets

    John

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    If you have apparmor or the firewall enabled it could be causing you problems, it's not recommended to run either on the Zimbra server. The error you've posted is indicative of a problem at the receiving server, howevere I can connect to those servers without problems. You can check the connection with telnet by FQDN or IP like this:

    Code:
    telnet 65.55.92.184 25
    telnet mx1.hotmail.com 25
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Please, help me. I'm doing on Disaster Recovery
    By Brainstop in forum Administrators
    Replies: 4
    Last Post: 05-11-2010, 08:32 AM
  2. Disaster recovery test.
    By Dirk in forum Administrators
    Replies: 4
    Last Post: 10-07-2008, 11:18 AM
  3. Question about redo logs and disaster recovery
    By dlochart in forum Administrators
    Replies: 10
    Last Post: 08-12-2008, 03:40 AM
  4. Disaster Recovery
    By rmvg in forum Administrators
    Replies: 4
    Last Post: 06-15-2008, 07:22 PM
  5. Disaster Recovery on a Multi Server Configuration
    By dlochart in forum Administrators
    Replies: 2
    Last Post: 04-14-2007, 05:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •