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

Thread: error: "Unable to determine enabled services from ldap."

  1. #1
    lowlow is offline Senior Member
    Join Date
    Mar 2009
    Posts
    50
    Rep Power
    6

    Default error: "Unable to determine enabled services from ldap."

    Hi all,

    I'm yet struggling for some time with this error:
    Code:
    zimbra@zimbraserv:/$ zmcontrol status
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    I get the same error with zmcontrol start.

    The problem lies with LDAP.
    I uninstalled and reinstalled Zimbra (also removed some dir's as I read here on this forum somewhere - the do a FULL uninstallation). I tried installing without LDAP and still getting the LDAP error.

    Seems that it started after a reboot. It worked fine for a few days. Of course, for the moment, I cannot reach the webclient or Admin Console.

    Thanks in advance!

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

    Default

    This is most probably a DNS issue so please post the following
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes
    and so we know which version of ZCS you are running
    Code:
    su - zimbra
    zmcontrol -v

  3. #3
    lowlow is offline Senior Member
    Join Date
    Mar 2009
    Posts
    50
    Rep Power
    6

    Default

    Thanks for your reply; here are the results:

    Code:
    zimbraserv:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    # Auto-generated hostname. Please do not remove this comment.
    192.168.0.97 zimbraserv.impactweb.xxx.be zimbraserv
    zimbraserv:~# cat /etc/resolv.conf
    search impactweb.xxx.be
    nameserver 192.168.0.92
    nameserver 192.168.0.2
    zimbraserv:~# dig yourdomain mx
    
    ; <<>> DiG 9.3.4-P1.1 <<>> yourdomain mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30986
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;yourdomain.                    IN      MX
    
    ;; AUTHORITY SECTION:
    .                       10800   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISI                                                                                                                               GN-GRS.COM. 2009061200 1800 900 604800 86400
    
    ;; Query time: 128 msec
    ;; SERVER: 192.168.0.2#53(192.168.0.2)
    ;; WHEN: Fri Jun 12 11:02:44 2009
    ;; MSG SIZE  rcvd: 103
    
    zimbraserv:~# dig yourdomain any
    
    ; <<>> DiG 9.3.4-P1.1 <<>> yourdomain any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61568
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;yourdomain.                    IN      ANY
    
    ;; AUTHORITY SECTION:
    .                       10799   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISI                                                                                                                               GN-GRS.COM. 2009061200 1800 900 604800 86400
    
    ;; Query time: 131 msec
    ;; SERVER: 192.168.0.2#53(192.168.0.2)
    ;; WHEN: Fri Jun 12 11:02:45 2009
    ;; MSG SIZE  rcvd: 103
    And about the version
    Code:
    zimbra@zimbraserv:/root$ zmcontrol -v
    
    
    Release 5.0.13_GA_2791.DEBIAN4.0 DEBIAN4.0

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

    Default

    You need to replace yourdomain with your actual domain As you appear to be on a private IP have you setup a Split DNS - Zimbra :: Wiki architecture ?

    Your /etc/hosts is also incorrect as you do not have a localhost entry as per the Installation documentation.

  5. #5
    lowlow is offline Senior Member
    Join Date
    Mar 2009
    Posts
    50
    Rep Power
    6

    Default

    Code:
    zimbra@zimbraserv:/root$ dig zimbraserv.impactweb.xxx.be
    
    ; <<>> DiG 9.3.4-P1.1 <<>> zimbraserv.impactweb.xxx.be
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 13876
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;zimbraserv.impactweb.xxx.be.   IN      A
    
    ;; AUTHORITY SECTION:
    xxx.be.                 3594    IN      SOA     ns1.xxx.be. domains.xxx.be. 2008110251 900 600 86400 3600
    
    ;; Query time: 211 msec
    ;; SERVER: 192.168.0.2#53(192.168.0.2)
    ;; WHEN: Fri Jun 12 11:17:02 2009
    ;; MSG SIZE  rcvd: 93
    Thx. I will have a look at the splits-DNS thing. But as a matter a fact, it worked fine before? I'm running Zimbra in a Openvz container .0.93 and I have a DNS server in another container at .0.92, in the same subnet.
    Last edited by lowlow; 06-12-2009 at 04:23 AM.

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

    Default

    Well you are missing your A and MX records then in the other container.

  7. #7
    lowlow is offline Senior Member
    Join Date
    Mar 2009
    Posts
    50
    Rep Power
    6

    Default

    Quote Originally Posted by uxbod View Post
    Well you are missing your A and MX records then in the other container.
    Thanks. But how exactly can I solve this?

    On my nameserver I find this file. Maybe it should be configurated elsewhere?

    Code:
    File: /etc/bind/impactweb.***.be.hosts
    
    $ttl 38400
    impactweb.***.be.       IN      SOA     dnsserv.impactweb.***.be. domains.***.be. (
                            1241519003
                            10800
                            3600
                            604800
                            38400 )
    impactweb.***.be.       IN      NS      dnsserv.impactweb.***.be.
    .............................
    subversion.impactweb.***.be.    IN      A       192.168.0.96
    zimbraserv.impactweb.***.be.    IN      A       192.168.0.97
    vpnserv.impactweb.***.be.       IN      A       192.168.0.98
    vpnserv.impactweb.***.be.       IN      A       192.168.0.55
    accesscontrol.impactweb.***.be. IN      A       192.168.0.56
    impactweb.***.be.       IN      MX      10 ***serv1.impactweb.***.be.
    zimbra.impactweb.***.be.        IN      MX      10 zimbraserv.***pactweb.***.be
    Last edited by lowlow; 06-12-2009 at 04:51 AM.

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

    Default

    You have two servers listed in /etc/resolv.conf and according to your first dig in queried 192.168.0.2. As it would appear from your zone the main DNS server is on IP 192.168.0.92 then remove the other entry from resolv.conf.

  9. #9
    lowlow is offline Senior Member
    Join Date
    Mar 2009
    Posts
    50
    Rep Power
    6

    Default

    I removed the .0.2 nameserver ?
    Code:
    zimbra@zimbraserv:/root$ 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.
    zimbra@zimbraserv:/root$ cat /etc/resolv.conf
    search impactweb.XXX.be
    nameserver 192.168.0.92
    I guess I still have to add the A and MX record somewhere in my BIND DNS server. But the matter is, how exactly? Thx

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

    Default

    You have your domain listed in DNS as zimbra.impactweb.***.be is that correct ? As you are searching impactweb.***.be and you have called your server zimbra.impactweb.***.be.

    You need to decide what domain your ZCS installation is going to accept email for and then we can start working from that point.

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. [SOLVED] install zcs 6 beta1 / centos 5.3 - LDAP FAIL
    By powrrrplay in forum Installation
    Replies: 7
    Last Post: 04-24-2009, 09:15 AM
  2. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  3. upgrading problem
    By geoffDeGeoffGeoff in forum Installation
    Replies: 1
    Last Post: 09-17-2008, 05:21 AM
  4. Debian - Upgrade from 4.5.6
    By magikman in forum Installation
    Replies: 1
    Last Post: 01-19-2008, 12:59 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
  •