Results 1 to 3 of 3

Thread: Initializing ldap...failed. (5632) On setup

  1. #1
    timgerr is offline Intermediate Member
    Join Date
    Feb 2007
    Posts
    22
    Rep Power
    8

    Question Initializing ldap...failed. (5632) On setup

    Hello all,
    I am now getting this error when setting up my server:
    Initializing ldap...failed. (5632)
    My os information is Centos 5 with 2 gb ram
    Here is my error when running the script
    Code:
    DNS ERROR resolving MX for vhda.danati.com
    It is suggested that the domain name have an MX record configured in DNS
    Change domain name? [Yes]
    Create Domain: [vhda.danati.com] danati.com
            MX: vhda.danati.com (72.52.242.117)
    
            Interface: 127.0.0.1
            Interface: 72.52.242.117
    done.
    Checking for port conflicts
    
    
    Note
    
    The previous configuration appears to have failed to complete
    
    Attempt to complete configuration now? [yes]
    Save configuration data to a file? [Yes]
    Save config in file: [/opt/zimbra/config.19547]
    Saving config in /opt/zimbra/config.19547...done.
    The system will be modified - continue? [No] yes
    Operations logged to /tmp/zmsetup.10142008-170716.log
    Initializing ldap...failed. (5632)
    
    ERROR
    
    Configuration failed
    
    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.
    
    Errors have been logged to /tmp/zmsetup.10142008-170716.log
    Here is my log file
    Code:
    IO::Socket::INET: Bad hostname '' at /opt/zimbra/libexec/zmldapinit line 160.
    Tue Oct 14 17:08:05 2008 failed. (5632)
    Tue Oct 14 17:08:05 2008
    
    ERROR
    
    Tue Oct 14 17:08:05 2008
    
    Configuration failed
    
    Tue Oct 14 17:08:05 2008 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    Tue Oct 14 17:08:05 2008 complete the configuration.
    Tue Oct 14 17:08:05 2008
    Errors have been logged to /tmp/zmsetup.10142008-170716.log

    Here is my /etc/host file:
    Code:
    cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    # Auto-generated hostname. Please do not remove this comment.
    72.52.242.117 vhda.danati.com vhda
    
    cat /etc/sysconfig/network
    NETWORKING="yes"
    GATEWAY="192.0.2.1"
    HOSTNAME="vhda.danati.com"
    
    [root@vhda bin]# hostname
    vhda.danati.com
    I think my hostname is fine:

    Here is my MX record
    Code:
    dig mx danati.com
    
    ; <<>> DiG 9.3.4-P1 <<>> mx danati.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31137
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;danati.com.                    IN      MX
    
    ;; ANSWER SECTION:
    danati.com.             176400  IN      MX      10 vhda.danati.com.
    
    ;; AUTHORITY SECTION:
    danati.com.             176400  IN      NS      phd1.danati.com.
    
    ;; ADDITIONAL SECTION:
    vhda.danati.com.        176400  IN      A       72.52.242.117
    phd1.danati.com.        176400  IN      A       72.52.242.116
    
    ;; Query time: 0 msec
    ;; SERVER: 72.52.242.116#53(72.52.242.116)
    ;; WHEN: Tue Oct 14 17:17:40 2008
    ;; MSG SIZE  rcvd: 100
    What am I doing wrong?
    Thanks for the help,
    timgerr

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Looking at your gateway
    Code:
    GATEWAY="192.0.2.1"
    it would appear that you are actually behind a firewall on a private LAN ? If so, then you will need to implement a Split DNS - Zimbra :: Wiki architecture.

  3. #3
    dragon434 is offline Starter Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    1

    Default

    I have the same error
    here my hosts files:
    cat /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    192.168.1.103 mail.example.com mail

    cat /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=mail.example.com


    cat /etc/resolv.conf
    ; generated by /sbin/dhclient-script
    search example.com
    nameserver 127.0.0.1


    dig mx example.com

    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> mx example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1259
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;example.com. IN MX

    ;; ANSWER SECTION:
    example.com. 25920 IN MX 10 mail.example.com.

    ;; AUTHORITY SECTION:
    example.com. 25920 IN NS mail.example.com.

    ;; ADDITIONAL SECTION:
    mail.example.com. 25920 IN A 127.0.0.1
    mail.example.com. 25920 IN A 192.168.1.103

    ;; Query time: 4 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Aug 6 08:22:04 2014
    ;; MSG SIZE rcvd: 96


    i search the same problem but can not reslove it
    what am i doing wrong
    Thanks for help!!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 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. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Initializing LDAP...Failed (256)
    By iratik in forum Installation
    Replies: 26
    Last Post: 03-06-2007, 03:10 PM
  5. Replies: 4
    Last Post: 11-15-2006, 12:16 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
  •