Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-2010, 04:30 AM
Loyal Member
 
Posts: 85
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
Reply With Quote
  #2 (permalink)  
Old 05-16-2010, 05:50 AM
Zimbra Consultant & Moderator
 
Posts: 19,581
Default

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


Bill
Reply With Quote
  #3 (permalink)  
Old 05-16-2010, 06:06 AM
Loyal Member
 
Posts: 85
Default

Hallo,

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

Greets,

John
Reply With Quote
  #4 (permalink)  
Old 05-16-2010, 06:31 AM
Zimbra Consultant & Moderator
 
Posts: 19,581
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
Reply With Quote
  #5 (permalink)  
Old 05-16-2010, 06:38 AM
Loyal Member
 
Posts: 85
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
Reply With Quote
  #6 (permalink)  
Old 05-16-2010, 06:48 AM
Zimbra Consultant & Moderator
 
Posts: 19,581
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
Reply With Quote
  #7 (permalink)  
Old 05-16-2010, 07:27 AM
Loyal Member
 
Posts: 85
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)
Reply With Quote
  #8 (permalink)  
Old 05-16-2010, 07:31 AM
Zimbra Consultant & Moderator
 
Posts: 19,581
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
Reply With Quote
  #9 (permalink)  
Old 05-16-2010, 08:41 AM
Loyal Member
 
Posts: 85
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
Reply With Quote
  #10 (permalink)  
Old 05-17-2010, 12:17 AM
Zimbra Consultant & Moderator
 
Posts: 19,581
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.