Results 1 to 8 of 8

Thread: [SOLVED] Starting Zimbra gives LDAP error on freshly installed CentOS server

  1. #1
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    5

    Default [SOLVED] Starting Zimbra gives LDAP error on freshly installed CentOS server

    Code:
    Checking ldap status....not running.
    Starting ldap...failed with exit code: 256.
    And it keeps repeating that when I try to install Zimbra on my server... after the initial install, it already gave an error regarding LDAP.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Welcome to the forums

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes
    Did you also disable SELinux ?

  3. #3
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    5

    Default

    Code:
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    93.126.178.15   dns2.domain.nl   dns2
    127.0.0.1       localhost.localdomain   localhost
    81.23.228.150 budgetphone.nl
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# cat /etc/resolv.conf
    search domain.local
    nameserver 93.102.215.12
    nameserver 93.126.180.180
    nameserver 93.126.179.179
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# dig dns2.domain.nl mx
    
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> dns2.domain.nl mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37655
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;dns2.domain.nl.                 IN      MX
    
    ;; ANSWER SECTION:
    dns2.domain.nl.          14400   IN      MX      10 dns2.domain.nl.
    
    ;; AUTHORITY SECTION:
    domain.nl.               14400   IN      NS      dns2.domain.nl.
    domain.nl.               14400   IN      NS      dns1.domain.nl.
    
    ;; ADDITIONAL SECTION:
    dns2.domain.nl.          14400   IN      A       93.126.178.15
    dns1.domain.nl.          14400   IN      A       93.102.215.7
    
    ;; Query time: 6 msec
    ;; SERVER: 93.102.215.12#53(93.102.215.12)
    ;; WHEN: Tue Jan 19 04:24:49 2010
    ;; MSG SIZE  rcvd: 112
    
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# dig dns2.domain.nl any
    
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> dns2.domain.nl any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26264
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;dns2.domain.nl.                 IN      ANY
    
    ;; ANSWER SECTION:
    dns2.domain.nl.          14400   IN      MX      10 dns2.domain.nl.
    dns2.domain.nl.          14400   IN      A       93.126.178.15
    
    ;; AUTHORITY SECTION:
    domain.nl.               14400   IN      NS      dns1.domain.nl.
    domain.nl.               14400   IN      NS      dns2.domain.nl.
    
    ;; ADDITIONAL SECTION:
    dns2.domain.nl.          14400   IN      A       93.126.178.15
    dns1.domain.nl.          14400   IN      A       93.102.215.7
    
    ;; Query time: 6 msec
    ;; SERVER: 93.102.215.12#53(93.102.215.12)
    ;; WHEN: Tue Jan 19 04:24:49 2010
    ;; MSG SIZE  rcvd: 128
    
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# host `hostname`
    dns2.domain.nl has address 93.126.178.15
    dns2.domain.nl mail is handled by 10 dns2.domain.nl.
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
    Hostnames and IP's have been replaced.

    SELinux is disabled.

  4. #4
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    5

    Default

    I did have problems saving the configuration after installing.
    Code:
    [root@dns2 ~]# cat /opt/zimbra/conf/localconfig.xml
    
    
    
      
        /opt/zimbra/java
      
    
    [root@dns2 ~]#
    (Just 8 lines)

    Installer:
    Code:
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# ./install.sh --platform-override
    
    Operations logged to /tmp/install.log.7333
    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
    
    
    Press Return to continue
    
    Checking for prerequisites...
         FOUND: NPTL
         FOUND: sudo-1.6.9p17-5
         FOUND: libidn-0.6.5-1.1
         FOUND: gmp-4.1.4-10
         FOUND: compat-libstdc++-33-3.2.3-61
         FOUND: /usr/lib/libstdc++.so.5
         FOUND: /usr/lib/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
    
    You appear to be installing packages on a platform different
    than the platform for which they were built.
    
    This platform is CentOS5
    Packages found: RHEL5
    This may or may not work.
    
    Using packages for a platform in which they were not designed for
    may result in an installation that is NOT usable. Your support
    options may be limited if you choose to continue.
    
    
    Install anyway? [N] Y
    
    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/logrotate.d/zimbra...done.
    Cleaning up /etc/security/limits.conf...done.
    
    Finished removing Zimbra Collaboration Suite.
    
    Installing packages
    
        zimbra-core......zimbra-core-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-ldap......zimbra-ldap-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-logger......zimbra-logger-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-mta......zimbra-mta-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-snmp......zimbra-snmp-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-store......zimbra-store-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-apache......zimbra-apache-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
        zimbra-spell......zimbra-spell-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
    Operations logged to /tmp/zmsetup.01192010-043754.log
    Installing LDAP configuration database...done.
    Setting defaults...     MX: dns2.domain.nl (	)
    
            Interface: 93.126.178.15
            Interface: 127.0.0.1
                    93.126.178.15
    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@dns2.domain.nl
    ******* +Admin Password                        UNSET
            +Enable automated spam training:       yes
            +Spam training user:                   spam.abpug8rahf@dns2.domain.nl
            +Non-spam(Ham) training user:          ham.8rgy1tjpqe@dns2.domain.nl
            +Global Documents Account:             wiki@dns2.domain.nl
            +SMTP host:                            dns2.domain.nl
            +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://dns2.domain.nl: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@dns2.domain.nl
            +Version update source email:          admin@dns2.domain.nl
    
       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
    
    Address unconfigured (**) items  (? - help) s
    
    Save config in file: [/opt/zimbra/config.14239]
    Saving config in /opt/zimbra/config.14239...done.
    
    Main menu
    
       1) Common Configuration:
       2) zimbra-ldap:                             Enabled
       3) zimbra-store:                            Enabled
            +Create Admin User:                    yes
            +Admin user to create:                 admin@dns2.domain.nl
    ******* +Admin Password                        UNSET
            +Enable automated spam training:       yes
            +Spam training user:                   spam.abpug8rahf@dns2.domain.nl
            +Non-spam(Ham) training user:          ham.8rgy1tjpqe@dns2.domain.nl
            +Global Documents Account:             wiki@dns2.domain.nl
            +SMTP host:                            dns2.domain.nl
            +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://dns2.domain.nl: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@dns2.domain.nl
            +Version update source email:          admin@dns2.domain.nl
    
       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
    
    Address unconfigured (**) items  (? - help) q
    Quit without applying changes? [No] Yes
    [root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
    Last edited by ujjain; 01-18-2010 at 08:40 PM.

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Did you set the Admin password as in the screenshot it shows as not being set ?

  6. #6
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    5

    Default

    Well, the howto I read did not say I should do that, but I have no idea how I should set the admin password.

    And could it cause the LDAP error?

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

    Default

    Quote Originally Posted by ujjain View Post
    Well, the howto I read did not say I should do that, but I have no idea how I should set the admin password.
    Of course you need to set the admin password, it's what you need to login to the Admin UI.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    5

    Default

    I guess my install was not completed, when I read the quick-start it seemed that I indeed to set the admin password and than save configurationt.

    I am sorry for having wasted your and my time by not reading the documentation.

Similar Threads

  1. [SOLVED] Important Mta Issue!!!!!!!!
    By borngunners in forum Migration
    Replies: 2
    Last Post: 01-05-2010, 06:44 AM
  2. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  4. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 12:34 PM
  5. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 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
  •