Results 1 to 6 of 6

Thread: Initializing ldap...failed

  1. #1
    tahaka is offline New Member
    Join Date
    Apr 2011
    Posts
    3
    Rep Power
    4

    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.

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    tahaka is offline New Member
    Join Date
    Apr 2011
    Posts
    3
    Rep Power
    4

    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?

  4. #4
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    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

  5. #5
    tahaka is offline New Member
    Join Date
    Apr 2011
    Posts
    3
    Rep Power
    4

    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

  6. #6
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Initializing ldap...failed. (26624)
    By crapz in forum Installation
    Replies: 0
    Last Post: 02-15-2008, 04:49 AM
  2. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. Replies: 4
    Last Post: 11-15-2006, 12:16 PM
  5. Initializing ldap...FAILED (512)?
    By eger in forum Installation
    Replies: 9
    Last Post: 02-24-2006, 12:33 PM

Posting Permissions

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