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 10-28-2008, 10:13 PM
Intermediate Member
 
Posts: 19
Default Unable to determine enabled services from ldap message.

I get this message about every day or so. I've looked into the server and I can't find a thing wrong with it.. everything seems normal.

What does this mean?

"Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate."

On searching the forums I found someone who had received this on the console when starting zimbra and showed signs of drastic failure of the LDAP server. However mine seems just fine..

Code:
Return-Path: zimbra@example.com
Received: from mail.example.com (LHLO host.example.com)
 (10.?.?.?) by host.example.com with LMTP; Tue, 28 Oct 2008
 20:06:21 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by host.example.com (Postfix) with ESMTP id 3054EE23CB
	for <user@example.com>; Tue, 28 Oct 2008 21:06:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at 
X-Spam-Flag: NO
X-Spam-Score: -4.399
X-Spam-Level: 
X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6
	tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599]
Received: from host.example.com ([127.0.0.1])
	by localhost (host.example.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9dbRng9VtNLU for <user@example.com>;
	Tue, 28 Oct 2008 21:06:07 -0700 (PDT)
Received: from host.example.com (mail.example.com [10.?.?.?])
	by host.example.com (Postfix) with SMTP id 769BEE23C8
	for <zimbra@example.com>; Tue, 28 Oct 2008 21:06:06 -0700 (PDT)
Received: by host.example.com (sSMTP sendmail emulation); Tue, 28 Oct 2008 21:06:04 -0700
From: nce.com@host.example.com
Date: Tue, 28 Oct 2008 21:06:04 -0700
To: zimbra@host.example.com
Subject: Cron <zimbra@host> /opt/zimbra/libexec/zmstatuslog
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/opt/zimbra>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=zimbra>
Message-Id: <20081029040606.769BEE23C8@host.example.com>

Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Using 5.0.10GA-OS
Reply With Quote
  #2 (permalink)  
Old 10-29-2008, 02:09 AM
Moderator
 
Posts: 7,911
Default

That error message can also be attributed to issues with your hosts file or name resolution. If you could post the following (okay to obscure it)
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig domainname mx
dig yourserverfqdn
host `hostname` <- note backticks and not double quotes
__________________
Reply With Quote
  #3 (permalink)  
Old 10-29-2008, 11:36 AM
Intermediate Member
 
Posts: 19
Default

It handles mail for two domains so I'll add them both.

cat /etc/hosts
Code:
127.0.0.1	localhost.localdomain localhost

%other hosts%
10.?.?.10	 mail.example.com mail.example2.com mailhost.example.com mailhost.example2.com mail mailhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
cat /etc/resolv.conf
Code:
search example.com
nameserver 10.?.?.1
dig example.com mx
Code:
; <<>> DiG 9.4.2-P1 <<>> example.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55258
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;example.com.		IN	MX

;; ANSWER SECTION:
example.com.	3600	IN	MX	10 mail.example.com.

;; Query time: 72 msec
;; SERVER: 10.?.?.1#53(10.?.?.1)
;; WHEN: Wed Oct 29 10:27:33 2008
;; MSG SIZE  rcvd: 55
dig example2.com mx
Code:
; <<>> DiG 9.4.2-P1 <<>> example2.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57350
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;example2.com.			IN	MX

;; ANSWER SECTION:
example2.com.		1800	IN	MX	10 mail.example2.com.

;; Query time: 151 msec
;; SERVER: 10.?.?.1#53(10.?.?.1)
;; WHEN: Wed Oct 29 10:33:14 2008
;; MSG SIZE  rcvd: 52
dig mailhost.example.com
Code:
; <<>> DiG 9.4.2-P1 <<>> mailhost.example.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34102
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mailhost.example.com.	IN	A

;; ANSWER SECTION:
mailhost.example.com. 0	IN	A	10.?.?.10

;; Query time: 1 msec
;; SERVER: 10.?.?.1#53(10.?.?.1)
;; WHEN: Wed Oct 29 10:29:14 2008
;; MSG SIZE  rcvd: 57
host `hostname` <- note backticks and not double quotes
Code:
mailhost.example.com has address 10.?.?.10
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
The strange thing is, I've gotten this message a couple time now, but there doesn't seem to be a standard time or reason why. (distro is ubuntu 8.04 server amd64)

Last edited by k1e0x; 10-29-2008 at 11:41 AM..
Reply With Quote
  #4 (permalink)  
Old 10-29-2008, 11:49 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Do not add both domains to your hosts file (you don't need it), just make sure you use the FQDN of the Zimbra server.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 10-29-2008, 12:01 PM
Intermediate Member
 
Posts: 19
Default

Ok, I'll edit that and see what happens, if I don't get another message in a week I'll call it solved.
Reply With Quote
  #6 (permalink)  
Old 10-30-2008, 12:07 AM
Intermediate Member
 
Posts: 19
Default

No good, still receiving this message. message arrived at 11:02.
Reply With Quote
  #7 (permalink)  
Old 10-30-2008, 01:01 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

You haven't really told us much about your setup, which o/s, is this an upgrade to 5.0.10 or a new install, is there a firewall or SELinux installed?

Could this be an intermittent DNS problem? Could it be a cabling or switch problem? Could you try installing bind on your Zimbra server and see if the problem goes away?
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 10-30-2008, 07:58 PM
Intermediate Member
 
Posts: 19
Default

So what your saying is the problem is related to DNS? I'm not really sure what this problem refers to the error is kind of vague, what component is unable to access the LDAP server? What is the "service list"? If I knew more about the error I would have a place to start looking.

The system is a relatively new install not an upgrade, for an existing domain. Package is zcs-5.0.10_GA_2638.UBUNTU8_64.20081003052844 on Ubuntu 8.04 server 64. It handles mail for two domains, with about 10-20 users. It uses apache reverse proxy on another host to serve for those domains. DNS server is handled by a separate system.
Reply With Quote
  #9 (permalink)  
Old 10-19-2009, 02:04 AM
Member
 
Posts: 13
Default

I have the same problem, this is my dns configuration (my IP / domain has been obfusticated, ip is a valid public ip):

/etc/hosts:
127.0.0.1 localhost.localdomain localhost
1.2.3.4 demo.mycompany.com demo somename somename.mycompany.com zimbra.mycompany.com mail.mycompany.com

hosts also had "mycompany.com" in the 1.2.3.4 line, while the A record for mycompany.com actually points to a completely different server. I removed this entry from the hosts line.

resolv.conf:
search dev.mycompany.local mycompany.local
nameserver list-of-valid-nameservers (6, as given by my service provider)

dig mycompany.com mx:
ANSWER SECTION:
mycompany.com. 300 IN MX 10 mail.mycompany.com.
ADDITIONAL SECTION:
mail.mycompany.com 300 IN A 1.2.3.4

dig somename.mycompany.com # this is the fqdn
ANSWER SECTION:
somename.mycompany.com. 14400 IN A 1.2.3.4

host `hostname`
somename.mycompany.com has address 1.2.3.4


My server was installed using demo.mycompany.com, but the server hostname changed. This did not cause any problems until I upgrades from zcs-5.0.4 to 6.0.1

localconfig.xml has zimbra_server_hostname set to demo.mycompany.com

There were some instances of ldap url's in localconfig.xml that referenced ldap://mycompany.com:389 - this would have worked with host lookups, i manually changed these to somename.mycompany.com after removing the mycompany.com entry from hosts.

after zmcontrol stop && zmcontrol start, i still get the error.
Reply With Quote
  #10 (permalink)  
Old 10-19-2009, 02:10 AM
Moderator
 
Posts: 7,911
Default

Welcome to the forums

Your /etc/hosts file is incorrect and should look like
Code:
127.0.0.1 localhost.localdomain localhost
1.2.3.4 demo.mycompany.com demo
Your MX is also pointing at mail.mycompany.com when it should be demo.mycompany.com.
__________________
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.