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

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 06-12-2009, 03:20 AM
Senior Member
 
Posts: 50
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!
Reply With Quote
  #2 (permalink)  
Old 06-12-2009, 03:22 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #3 (permalink)  
Old 06-12-2009, 04:07 AM
Senior Member
 
Posts: 50
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
Reply With Quote
  #4 (permalink)  
Old 06-12-2009, 04:08 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #5 (permalink)  
Old 06-12-2009, 04:20 AM
Senior Member
 
Posts: 50
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..
Reply With Quote
  #6 (permalink)  
Old 06-12-2009, 04:26 AM
Moderator
 
Posts: 7,928
Default

Well you are missing your A and MX records then in the other container.
__________________
Reply With Quote
  #7 (permalink)  
Old 06-12-2009, 04:41 AM
Senior Member
 
Posts: 50
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..
Reply With Quote
  #8 (permalink)  
Old 06-12-2009, 04:45 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #9 (permalink)  
Old 06-12-2009, 04:55 AM
Senior Member
 
Posts: 50
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
Reply With Quote
  #10 (permalink)  
Old 06-12-2009, 05:07 AM
Moderator
 
Posts: 7,928
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.
__________________
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.