Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Startup problem LDAP Unable to determine..

  1. #1
    Bugracan is offline Junior Member
    Join Date
    Dec 2010
    Posts
    8
    Rep Power
    4

    Default Startup problem LDAP Unable to determine..

    Hello,

    Today i try to install zimbra to my server.

    my /etc/hosts
    Code:
    [zimbra@mail ~]$ more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.14            mail.domain.com mail
    my resolv.conf file
    Code:
    [zimbra@mail ~]$ more /etc/resolv.conf
    nameserver 192.168.1.14
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    search oratech.com.tr
    I started installation

    ./install.sh
    Code:
    Operations logged to /tmp/install.log.6173
    Checking for existing installation...
        zimbra-ldap...NOT FOUND
        zimbra-logger...NOT FOUND
        zimbra-mta...NOT FOUND
        zimbra-snmp...NOT FOUND
        zimbra-store...NOT FOUND
        zimbra-apache...NOT FOUND
        zimbra-spell...NOT FOUND
        zimbra-convertd...NOT FOUND
        zimbra-memcached...NOT FOUND
        zimbra-proxy...NOT FOUND
        zimbra-archiving...NOT FOUND
        zimbra-cluster...NOT FOUND
        zimbra-core...NOT FOUND
    
    
    PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
    ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
    FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
    THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
    THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
    AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
    
    License Terms for the Zimbra Collaboration Suite:
      http://www.zimbra.com/license/zimbra_public_eula_2.1.html
    
    
    
    Do you agree with the terms of the software license agreement? [N] y
    
    Checking for prerequisites...
         FOUND: NPTL
         FOUND: sudo-1.6.9p17-3
         FOUND: libidn-0.6.5-1.1
    libidn-0.6.5-1.1
         FOUND: gmp-4.1.4-10
    gmp-4.1.4-10
         FOUND: /usr/lib64/libstdc++.so.6
    Checking for suggested prerequisites...
        FOUND: perl-5.8.8
        FOUND: sysstat
    Prerequisite check complete.
    
    Checking for installable packages
    
    Found zimbra-core
    Found zimbra-ldap
    Found zimbra-logger
    Found zimbra-mta
    Found zimbra-snmp
    Found zimbra-store
    Found zimbra-apache
    Found zimbra-spell
    Found zimbra-memcached
    Found zimbra-proxy
    
    
    Select the packages to install
    
    Install zimbra-ldap [Y] 
    
    Install zimbra-logger [Y] 
    
    Install zimbra-mta [Y] 
    
    Install zimbra-snmp [Y] 
    
    Install zimbra-store [Y] 
    
    Install zimbra-apache [Y] 
    
    Install zimbra-spell [Y] 
    
    Install zimbra-memcached [N] 
    
    Install zimbra-proxy [N] 
    Checking required space for zimbra-core
    checking space for zimbra-store
    
    Installing:
        zimbra-core
        zimbra-ldap
        zimbra-logger
        zimbra-mta
        zimbra-snmp
        zimbra-store
        zimbra-apache
        zimbra-spell
    
    
    The system will be modified.  Continue? [N] 
    Exit? [N] 
    
    The system will be modified.  Continue? [N] y
    
    Removing /opt/zimbra
    Removing zimbra crontab entry...done.
    done.
    Cleaning up zimbra init scripts...done.
    Cleaning up /etc/ld.so.conf...done.
    Cleaning up /etc/prelink.conf...done.
    Cleaning up /etc/security/limits.conf...done.
    
    Finished removing Zimbra Collaboration Suite.
    
    Installing packages
    
        zimbra-core......zimbra-core-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-ldap......zimbra-ldap-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-logger......zimbra-logger-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-mta......zimbra-mta-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-snmp......zimbra-snmp-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-store......zimbra-store-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-apache......zimbra-apache-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-spell......zimbra-spell-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
    Operations logged to /tmp/zmsetup.12292010-115605.log
    Installing LDAP configuration database...done.
    Setting defaults...
            Interface: 192.168.1.14
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for mail.domain.com
    resolve to this host
    Change domain name? [Yes] 
    Create domain: [mail.domain.com] domain.com
            MX: ns1.domain.com (192.168.1.14)
    
            Interface: 192.168.1.14
            Interface: 127.0.0.1
    done.
    Checking for port conflicts
    
    Main menu
    
       1) Common Configuration:                                                  
       2) zimbra-ldap:                             Enabled                       
       3) zimbra-store:                            Enabled                       
            +Create Admin User:                    yes                           
            +Admin user to create:                 admin@domain.com          
    ******* +Admin Password                        UNSET                         
            +Enable automated spam training:       yes                           
            +Spam training user:                   spam.hx35rnst@domain.com  
            +Non-spam(Ham) training user:          ham.hu0g0lpwpw@domain.com 
            +Global Documents Account:             wiki@domain.com           
            +SMTP host:                            mail.domain.com           
            +Web server HTTP port:                 80                            
            +Web server HTTPS port:                443                           
            +Web server mode:                      http                          
            +IMAP server port:                     143                           
            +IMAP server SSL port:                 993                           
            +POP server port:                      110                           
            +POP server SSL port:                  995                           
            +Use spell check server:               yes                           
            +Spell server URL:                     http://mail.domain.com:7780/aspell.php
            +Configure for use with mail proxy:    FALSE                         
            +Configure for use with web proxy:     FALSE                         
            +Enable version update checks:         TRUE                          
            +Enable version update notifications:  TRUE                          
            +Version update notification email:    admin@domain.com          
            +Version update source email:          admin@domain.com          
    
       4) zimbra-mta:                              Enabled                       
       5) zimbra-snmp:                             Enabled                       
       6) zimbra-logger:                           Enabled                       
       7) zimbra-spell:                            Enabled                       
       8) Default Class of Service Configuration:                                
       r) Start servers after configuration        yes                           
       s) Save config to file                                                    
       x) Expand menu                                                            
       q) Quit

    Seems like everything is fine..
    But when i try to zmcontrol status

    Code:
    [zimbra@mail ~]$ zmcontrol status 
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    I used dig command

    # dig domain.com mx
    Code:
    ; <<>> DiG 9.3.4-P1 <<>> domain.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33601
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;domain.com.                        IN      MX
    
    ;; ANSWER SECTION:
    domain.com.         3600    IN      MX      5 ns1.domain.com.
    
    ;; AUTHORITY SECTION:
    domain.com.         3600    IN      NS      ns1.domain.com.
    
    ;; ADDITIONAL SECTION:
    ns1.domain.com.     3600    IN      A       192.168.1.14
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.1.14#53(192.168.1.14)
    ;; WHEN: Wed Dec 29 12:15:28 2010
    ;; MSG SIZE  rcvd: 82
    # dig domain.com any

    Code:
    ; <<>> DiG 9.3.4-P1 <<>> domain.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21427
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;domain.com.                        IN      ANY
    
    ;; ANSWER SECTION:
    domain.com.         3600    IN      SOA     ns1.domain.com. root.panthera.domain.com. 5 10800 3600 604800 86400
    domain.com.         3600    IN      NS      ns1.domain.com.
    domain.com.         3600    IN      MX      5 ns1.domain.com.
    
    ;; ADDITIONAL SECTION:
    ns1.domain.com.     3600    IN      A       192.168.1.14
    
    ;; Query time: 2 msec
    ;; SERVER: 192.168.1.14#53(192.168.1.14)
    ;; WHEN: Wed Dec 29 12:15:35 2010
    ;; MSG SIZE  rcvd: 132

    I coudnt start zimbra what you suggest?

  2. #2
    Bugracan is offline Junior Member
    Join Date
    Dec 2010
    Posts
    8
    Rep Power
    4

    Default

    up
    please help

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Bugracan View Post
    up
    please help
    You could have searched the forums for this answer, post the output from all the commands in the 'Verify...' section of the Split DNS article.

    You should also have only one DNS server in your resolv.conf, that should be your LAN server and no others.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Bugracan is offline Junior Member
    Join Date
    Dec 2010
    Posts
    8
    Rep Power
    4

    Default

    Thanks for replay

    I already search lots of topic but i coudnt find what is wrong :S
    I also looked Split DNS but seems everything is fine.

    Code:
    [root@mail ~]# host $(hostname)
    mail.domain.com is an alias for ns1.domain.com
    ns1.domain.com has address 192.168.1.14
    [root@mail ~]#
    At my first post i wrote dig mx and any command output

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You've missed the output from the hosts file.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Bugracan is offline Junior Member
    Join Date
    Dec 2010
    Posts
    8
    Rep Power
    4

    Default

    Code:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.14            mail.domain.com mail

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Bugracan View Post
    Code:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.14            mail.domain.com mail
    That would be the problem, your DNS records don't reflect your hostname or it's FQDN.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Bugracan is offline Junior Member
    Join Date
    Dec 2010
    Posts
    8
    Rep Power
    4

    Default

    i changed it to domain.com and reinstall zimbra but doesnt change anything

  9. #9
    Bugracan is offline Junior Member
    Join Date
    Dec 2010
    Posts
    8
    Rep Power
    4

    Default

    i made new installation.

    my /etc/hosts
    Code:
    [root@mail ~]# more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.14           domain.com. mail
    And installation

    Code:
        zimbra-apache......zimbra-apache-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
        zimbra-spell......zimbra-spell-6.0.9_GA_2686.RHEL5_64-20101115233514.x86_64.rpm...done
    Operations logged to /tmp/zmsetup.01062011-143056.log
    Installing LDAP configuration database...done.
    Setting defaults...No results returned for A lookup of domain.com
    Checked nameservers:
            192.168.1.14
            8.8.8.8
            8.8.4.4
    
    Re-Enter hostname [Yes] 
    Please enter the logical hostname for this host [domain.com] mail.domain.com
    
            Interface: 192.168.1.14
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for mail.domain.com
    resolve to this host
    Change domain name? [Yes] 
    Create domain: [mail.domain.com] 
    
            Interface: 192.168.1.14
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for mail.domain.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes] y
    Create domain: [mail.domain.com] domain.com
            MX: ns1.domain.com (192.168.1.14)
    
            Interface: 192.168.1.14
            Interface: 127.0.0.1
    done.
    Checking for port conflicts
    Port conflict detected: 110 (zimbra-store)
    Port conflict detected: 143 (zimbra-store)
    Port conflict detected: 25 (zimbra-mta)
    but

    Code:
    [zimbra@mail ~]$ zmcontrol start
    Host localhost
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

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

    Default

    Quote Originally Posted by Bugracan View Post
    Code:
    [zimbra@mail ~]$ zmcontrol start
    Host localhost
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    That's hardly surprising as you've created the same problem again, your hosts file is incorrect and the server cannot be resolved by DNS. All the instructions for setting this correctly are in the Split DNS article.

    You hosts file should look like this:

    Code:
    [root@mail ~]# more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.14           mail.domain.com. mail
    I've also told you that your resolv.conf is incorrect, it should contain only the following DNS server:

    Code:
    192.168.1.14
    Do not put any other DNS server in there.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 12-29-2010, 12:50 AM
  2. Unable to determine enabled services from ldap.
    By ykaho in forum Administrators
    Replies: 16
    Last Post: 11-08-2010, 07:24 AM
  3. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  4. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 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
  •