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

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 04-15-2011, 03:02 AM
New Member
 
Posts: 3
Default Initializing ldap...failed

Hi everybody,
I'm trying to install zimbra on a virtual server.
I have a local address that nat on a public one.

I'm trying to install without a MX configured, cause this is a test.

The domain i'm using exist and i've put in /etc/hosts so it can be resolved with my public address.

I'm using a Red Hat 5.4

Code:
[root@VM640-26NE8J4-1 zcs-.0.1_GA_3105.RHEL5.20110304210448]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:50:56:88:12:bb brd ff:ff:ff:ff:ff:ff
    inet 172.16.208.196/28 brd 172.16.208.207 scope global eth0
    inet6 fe80::250:56ff:fe88:12bb/64 scope link 
       valid_lft forever preferred_lft forever

[root@VM640-26NE8J4-1 zcs-7.0.1_GA_3105.RHEL5.20110304210448]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1		VM640-26NE8J4-1 localhost.localdomain localhost
127.0.0.1	localhost.localdomain localhost
::1		localhost6.localdomain6 localhost6	VM640-26NE8J4-1	VM640-26NE8J4-1.telecomitalia.it

172.16.208.196	VM640-26NE8J4-1.telecomitalia.it	VM640-26NE8J4-1
83.221.107.39   mail.prova.it                      mail

[root@VM640-26NE8J4-1 zcs-7.0.1_GA_3105.RHEL5.20110304210448]# cat /etc/resolv.conf
nameserver 212.216.112.112

[root@VM640-26NE8J4-1 zcs-7.0.1_GA_3105.RHEL5.20110304210448]# ./install.sh 

Operations logged to /tmp/install.log.29346
Checking for existing installation...

DNS ERROR resolving vm640-26ne8j4-1.telecomitalia.it
It is suggested that the hostname be resolveable via DNS
Change hostname [Yes] mail.prova.it         
A Yes/No answer is required
Change hostname [Yes] 
Please enter the logical hostname for this host [vm640-26ne8j4-1.telecomitalia.it] mail.prova.it 


DNS ERROR resolving MX for mail.prova.it
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] NO
done.
Checking for port conflicts
Port conflict detected: 995 (zimbra-store)
Port conflict detected: 110 (zimbra-store)
Port conflict detected: 25 (zimbra-mta)
Port conflict detected: 80 (zimbra-store)
Port conflict detected: 443 (zimbra-store)
Port conflicts detected! - Any key to continue 

[..]

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] 
Save config in file: [/opt/zimbra/config.3537] 
Saving config in /opt/zimbra/config.3537...done.
The system will be modified - continue? [No] YEs
Operations logged to /tmp/zmsetup.04152011-111344.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Initializing ldap...failed. (28160)

[root@VM640-26NE8J4-1 zcs-7.0.1_GA_3105.RHEL5.20110304210448]# telnet 83.221.107.39 80
Trying 83.221.107.39...
I'm on a virtual machine and i can't reach my public address.
Is this the problem?

thanks anyway

Last edited by tahaka; 04-15-2011 at 04:51 AM..
Reply With Quote
  #2 (permalink)  
Old 04-15-2011, 03:41 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

To start with, your hosts file is incorrect. Go to the Split DNS article and see what's necessary for DNS resolution and follow the instructions there.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-15-2011, 04:50 AM
New Member
 
Posts: 3
Default

Many thanks for helpin me.
I've installed DNSMASQ and it seems work fine but another error comes:

This is the error:

Code:
DNS ERROR resolving MX for mail.prova.it
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
and this is my cnf:

Code:
[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# cat /etc/resolv.conf 
search prova.it
nameserver 127.0.0.1

[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost 
172.16.208.196	mail.prova.it mail

[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# host $(hostname)
mail.prova.it has address 172.16.208.196

[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# dig mail.prova.it any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> mail.prova.it any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35106
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.prova.it.		IN	ANY

;; ANSWER SECTION:
mail.prova.it.	0	IN	A	172.16.208.196

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 15 13:38:49 2011
;; MSG SIZE  rcvd: 52

[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# dig mail.prova.it mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> mail.prova.it mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53385
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.prova.it.		IN	MX

;; AUTHORITY SECTION:
prova.it.		479	IN	SOA	dns.technorail.com. hostmaster.technorail.com. 1 86400 7200 2592000 86400

;; Query time: 17 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 15 13:39:32 2011
;; MSG SIZE  rcvd: 101
What's the problem?
Reply With Quote
  #4 (permalink)  
Old 04-15-2011, 05:12 AM
Trained Alumni
 
Posts: 160
Default

As you can see in the 'Verify ...' section of this article:

Split DNS - Zimbra :: Wiki

you have to run

Code:
dig prova.it mx
dig prova.it any
where 'prova.it' should be you domain, and put here the output.

Regards
Reply With Quote
  #5 (permalink)  
Old 04-15-2011, 05:30 AM
New Member
 
Posts: 3
Default

Oh yes, my mistake...
Code:
[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# dig prova.it mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> prova.it mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37833
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;prova.it.			IN	MX

;; ANSWER SECTION:
prova.it.		0	IN	MX	5 mail.prova.it.

;; ADDITIONAL SECTION:
mail.prova.it.	0	IN	A	172.16.208.196

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 15 14:20:54 2011
;; MSG SIZE  rcvd: 81

[root@mail zcs-7.0.1_GA_3105.RHEL5.20110304210448]# dig prova.it any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> prova.it any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11808
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;prova.it.			IN	ANY

;; ANSWER SECTION:
prova.it.		0	IN	MX	5 mail.prova.it.

;; ADDITIONAL SECTION:
mail.prova.it.	0	IN	A	172.16.208.196

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 15 14:21:16 2011
;; MSG SIZE  rcvd: 81
Reply With Quote
  #6 (permalink)  
Old 04-15-2011, 05:51 AM
Trained Alumni
 
Posts: 160
Default

Quote:
DNS ERROR resolving MX for mail.prova.it
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
this is a documentated error in the zimbra installation wiki:

below the related istallation step:
Code:
• Checks to see if MX record is configured in DNS. The installer checks to
see if the hostname is resolvable via DNS. If there is an error, the
installer asks if you would like to change the hostname. We recommend
that the domain name have an MX record configured in DNS.
Regards
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.