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

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 12-29-2010, 02:14 AM
Junior Member
 
Posts: 8
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?
Reply With Quote
  #2 (permalink)  
Old 01-05-2011, 11:41 PM
Junior Member
 
Posts: 8
Default

up
please help
Reply With Quote
  #3 (permalink)  
Old 01-06-2011, 12:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #4 (permalink)  
Old 01-06-2011, 12:45 AM
Junior Member
 
Posts: 8
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
Reply With Quote
  #5 (permalink)  
Old 01-06-2011, 01:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #6 (permalink)  
Old 01-06-2011, 01:50 AM
Junior Member
 
Posts: 8
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
Reply With Quote
  #7 (permalink)  
Old 01-06-2011, 01:57 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #8 (permalink)  
Old 01-06-2011, 03:54 AM
Junior Member
 
Posts: 8
Default

i changed it to domain.com and reinstall zimbra but doesnt change anything
Reply With Quote
  #9 (permalink)  
Old 01-06-2011, 04:51 AM
Junior Member
 
Posts: 8
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.
Reply With Quote
  #10 (permalink)  
Old 01-06-2011, 05:20 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
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.