Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Unable to determine enabled services from ldap message.

  1. #1
    k1e0x is offline Intermediate Member
    Join Date
    Jan 2008
    Posts
    19
    Rep Power
    7

    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

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

    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

  3. #3
    k1e0x is offline Intermediate Member
    Join Date
    Jan 2008
    Posts
    19
    Rep Power
    7

    Default

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

    cat /etc/hosts
    Code:
    127.0.0.1	localhost.localdomain localhost
    
    &#37;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 10:41 AM.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    k1e0x is offline Intermediate Member
    Join Date
    Jan 2008
    Posts
    19
    Rep Power
    7

    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.

  6. #6
    k1e0x is offline Intermediate Member
    Join Date
    Jan 2008
    Posts
    19
    Rep Power
    7

    Default

    No good, still receiving this message. message arrived at 11:02.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    k1e0x is offline Intermediate Member
    Join Date
    Jan 2008
    Posts
    19
    Rep Power
    7

    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.

  9. #9
    brettcave is offline Member
    Join Date
    Oct 2009
    Posts
    13
    Rep Power
    5

    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.

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

    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.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 48
    Last Post: 09-18-2012, 08:49 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. DNS Questions and Trouble Installing
    By smurraysb in forum Installation
    Replies: 22
    Last Post: 03-14-2008, 03:27 PM
  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
  •