Results 1 to 9 of 9

Thread: Zimbra LDAP problem - Unable to determine enabled services from ldap

  1. #1
    sidhurana is offline Junior Member
    Join Date
    Jan 2010
    Posts
    9
    Rep Power
    5

    Default Zimbra LDAP problem - Unable to determine enabled services from ldap

    Hi,

    From past few weeks, everything was running fine on Zimbra. Suddenly, mail server goes down and after a reboot.... it won't start zimbra server.

    When we issue the command zmcontrol start it shows an error :-
    host mail.compurxinfotech.com
    Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.

    DNS is running fine (named service)..

    #####################################
    [root@mail ~]# dig mail.compurxinfotech.com

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> mail.compurxinfotech.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34972
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.compurxinfotech.com. IN A

    ;; ANSWER SECTION:
    mail.compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; AUTHORITY SECTION:
    mail.compurxinfotech.com. 86400 IN NS 192.168.20.5.mail.compurxinfotech.com.

    ;; Query time: 30 msec
    ;; SERVER: 192.168.20.5#53(192.168.20.5)
    ;; WHEN: Mon Dec 27 14:36:12 2010
    ;; MSG SIZE rcvd: 85

    ##############################

    hostname, resolv.conf, /etc/hosts all looks fine...

    What can be the sudden issue for this type of error? Please suggest.

    Thanks,
    Sidh

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

    Default

    Quote Originally Posted by sidhurana View Post
    From past few weeks, everything was running fine on Zimbra. Suddenly, mail server goes down and after a reboot.... it won't start zimbra server.

    When we issue the command zmcontrol start it shows an error :-
    host mail.compurxinfotech.com
    Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    The usual reason for that is invalid (or non-existent) DNS A & MX records, invalid hosts file or possibly a full HD.

    Quote Originally Posted by sidhurana View Post
    DNS is running fine (named service)..
    That's a good start.

    Quote Originally Posted by sidhurana View Post
    [root@mail ~]# dig mail.compurxinfotech.com

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> mail.compurxinfotech.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34972
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.compurxinfotech.com. IN A

    ;; ANSWER SECTION:
    mail.compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; AUTHORITY SECTION:
    mail.compurxinfotech.com. 86400 IN NS 192.168.20.5.mail.compurxinfotech.com.

    ;; Query time: 30 msec
    ;; SERVER: 192.168.20.5#53(192.168.20.5)
    ;; WHEN: Mon Dec 27 14:36:12 2010
    ;; MSG SIZE rcvd: 85
    This shows that you have an A record for the Zimbra server. It also shows you have an invalid NS records, it should point to an IP address not the format you have above.

    Quote Originally Posted by sidhurana View Post
    hostname, resolv.conf, /etc/hosts all looks fine...
    I can't see that, how about posting the information here for confirmation? Go to the Split DNS article and post the output of all the commands in the 'Verify ...' section of that article.


    Quote Originally Posted by sidhurana View Post
    What can be the sudden issue for this type of error? Please suggest.
    You could also search the forums for an answer as this has been covered many times.
    Last edited by phoenix; 12-27-2010 at 06:16 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    sidhurana is offline Junior Member
    Join Date
    Jan 2010
    Posts
    9
    Rep Power
    5

    Default

    Can you please let me know the correct way.. I followed the link and my file looks like:-

    ;Start_SOA
    $TTL 86400
    @ SOA mail.compurxinfotech.com. admin.mail.compurxinfotech.com. (
    2007090101 ; zone serial number in ccyymmddxx format
    3600 ; slave polls master for SOA/serial number
    1800 ; slave re-polls unreachable master
    864000 ; slave expires zone after master unreachable
    3600 ; TTL for negative answers
    )
    IN NS 192.168.20.5
    IN MX 10 mail.compurxinfotech.com.
    IN A 192.168.20.5


    And named.conf file:-

    options
    {
    query-source port 53;
    # query-source-v6 port 53;

    directory "/var/named"; // the default

    dump-file "data/cache_dump.db";
    statistics-file "data/named_stats.txt";
    memstatistics-file "data/named_mem_stats.txt";
    allow-transfer {10.10.100.9;};
    recursion no;
    };
    logging
    {
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };
    key ddns_key
    {
    algorithm hmac-md5;
    secret "XGCydyne6jkeujEErz7dec590T8RjmTb2V2PryV48vEWtvqNP BBd206crPo3";
    };

    include "/etc/rndc.key";


    include "/etc/named.root.hints";

    zone "mail.compurxinfotech.com" {
    type master;
    file "db.mail.compurxinfotech.com";

    ################################

    These files looks fine .. But still the same issue is there..Please suggest

    Thanks,
    Sidh

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

    Default

    Quote Originally Posted by sidhurana View Post
    Can you please let me know the correct way.. I followed the link and my file looks like:-

    ;Start_SOA
    $TTL 86400
    @ SOA mail.compurxinfotech.com. admin.mail.compurxinfotech.com. (
    2007090101 ; zone serial number in ccyymmddxx format
    3600 ; slave polls master for SOA/serial number
    1800 ; slave re-polls unreachable master
    864000 ; slave expires zone after master unreachable
    3600 ; TTL for negative answers
    )
    IN NS 192.168.20.5
    IN MX 10 mail.compurxinfotech.com.
    IN A 192.168.20.5


    And named.conf file:-

    options
    {
    query-source port 53;
    # query-source-v6 port 53;

    directory "/var/named"; // the default

    dump-file "data/cache_dump.db";
    statistics-file "data/named_stats.txt";
    memstatistics-file "data/named_mem_stats.txt";
    allow-transfer {10.10.100.9;};
    recursion no;
    };
    logging
    {
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };
    key ddns_key
    {
    algorithm hmac-md5;
    secret "XGCydyne6jkeujEErz7dec590T8RjmTb2V2PryV48vEWtvqNP BBd206crPo3";
    };

    include "/etc/rndc.key";


    include "/etc/named.root.hints";

    zone "mail.compurxinfotech.com" {
    type master;
    file "db.mail.compurxinfotech.com";
    You were not asked for any of that information from that article.

    Quote Originally Posted by sidhurana View Post
    These files looks fine .. But still the same issue is there..Please suggest
    Go to the article and read the section that is titled "Verify that everything is working", the output of four commands is described there - run those commands on your Zimbra server and post the output here.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    sidhurana is offline Junior Member
    Join Date
    Jan 2010
    Posts
    9
    Rep Power
    5

    Default

    Following is the required info:-

    #dig mail.compurxinfotech.com mx

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> mail.compurxinfotech.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27869
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mail.compurxinfotech.com. IN MX

    ;; ANSWER SECTION:
    mail.compurxinfotech.com. 86400 IN MX 10 mail.compurxinfotech.com.

    ;; AUTHORITY SECTION:
    mail.compurxinfotech.com. 86400 IN NS mail.compurxinfotech.com.

    ;; ADDITIONAL SECTION:
    mail.compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; Query time: 0 msec
    ;; SERVER: 192.168.20.5#53(192.168.20.5)
    ;; WHEN: Tue Dec 28 22:59:00 2010
    ;; MSG SIZE rcvd: 88
    #####################################
    # dig mail.compurxinfotech.com any

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> mail.compurxinfotech.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53074
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mail.compurxinfotech.com. IN ANY

    ;; ANSWER SECTION:
    mail.compurxinfotech.com. 86400 IN SOA mail.compurxinfotech.com. admin.mail.compurxinfotech.com. 2007090101 3600 1800 864000 3600
    mail.compurxinfotech.com. 86400 IN NS mail.compurxinfotech.com.
    mail.compurxinfotech.com. 86400 IN MX 10 mail.compurxinfotech.com.
    mail.compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; ADDITIONAL SECTION:
    mail.compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; Query time: 0 msec
    ;; SERVER: 192.168.20.5#53(192.168.20.5)
    ;; WHEN: Tue Dec 28 22:59:30 2010
    ;; MSG SIZE rcvd: 146

    ####################
    # host `hostname`
    mail.compurxinfotech.com has address 192.168.20.5
    mail.compurxinfotech.com mail is handled by 10 mail.compurxinfotech.com.

    ########

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

    Default

    Quote Originally Posted by sidhurana View Post
    Following is the required info:-
    Not quite, where is the contents from your hosts file? Also, the following command is incorrect:

    Code:
    dig mail.compurxinfotech.com any
    What you've used in that command is the FQDN of your server (i.e. you've actually used a sub-domain for the dig command). You actual domain name and the command you should have used is the following:

    Code:
    dig compurxinfotech.com any
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    sidhurana is offline Junior Member
    Join Date
    Jan 2010
    Posts
    9
    Rep Power
    5

    Default

    Following is the relevant Output;-
    #######################
    # dig compurxinfotech.com any
    ;; Got referral reply from 192.168.20.5, trying next server

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> compurxinfotech.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33125
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 2, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;compurxinfotech.com. IN ANY

    ;; ANSWER SECTION:
    compurxinfotech.com. 900 IN A 220.227.168.98
    compurxinfotech.com. 900 IN SOA ns1.planet4domain.com. support.sprintserve.net. 2010033020 1200 120 1209600 900
    compurxinfotech.com. 900 IN TXT "v=spf1 ip4:220.227.168.98 ip4:220.227.168.99 a mx ~all"
    compurxinfotech.com. 900 IN MX 0 mail.compurxinfotech.com.
    compurxinfotech.com. 900 IN NS ns1.planet4domain.com.
    compurxinfotech.com. 900 IN NS ns2.planet4domain.com.

    ;; AUTHORITY SECTION:
    compurxinfotech.com. 900 IN NS ns2.planet4domain.com.
    compurxinfotech.com. 900 IN NS ns1.planet4domain.com.

    ;; ADDITIONAL SECTION:
    mail.compurxinfotech.com. 900 IN A 220.227.168.99

    ;; Query time: 284 msec
    ;; SERVER: 192.168.20.1#53(192.168.20.1)
    ;; WHEN: Wed Dec 29 10:38:45 2010
    ;; MSG SIZE rcvd: 294


    ########################################
    2# cat /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.20.5 mail.compurxinfotech.com mail

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

    Default

    Quote Originally Posted by sidhurana View Post
    Following is the relevant Output;-
    #######################
    # dig compurxinfotech.com any
    ;; Got referral reply from 192.168.20.5, trying next server

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> compurxinfotech.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33125
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 2, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;compurxinfotech.com. IN ANY

    ;; ANSWER SECTION:
    compurxinfotech.com. 900 IN A 220.227.168.98
    compurxinfotech.com. 900 IN SOA ns1.planet4domain.com. support.sprintserve.net. 2010033020 1200 120 1209600 900
    compurxinfotech.com. 900 IN TXT "v=spf1 ip4:220.227.168.98 ip4:220.227.168.99 a mx ~all"
    compurxinfotech.com. 900 IN MX 0 mail.compurxinfotech.com.
    compurxinfotech.com. 900 IN NS ns1.planet4domain.com.
    compurxinfotech.com. 900 IN NS ns2.planet4domain.com.

    ;; AUTHORITY SECTION:
    compurxinfotech.com. 900 IN NS ns2.planet4domain.com.
    compurxinfotech.com. 900 IN NS ns1.planet4domain.com.

    ;; ADDITIONAL SECTION:
    mail.compurxinfotech.com. 900 IN A 220.227.168.99

    ;; Query time: 284 msec
    ;; SERVER: 192.168.20.1#53(192.168.20.1)
    ;; WHEN: Wed Dec 29 10:38:45 2010
    ;; MSG SIZE rcvd: 294


    ########################################
    2# cat /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.20.5 mail.compurxinfotech.com mail
    If you read the section of the Split DNS article I pointed you to you would have seen that the highlighted entry should point to your LAN IP address.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    sidhurana is offline Junior Member
    Join Date
    Jan 2010
    Posts
    9
    Rep Power
    5

    Default

    Hi,

    Ok.. Now I have changed the config : O/P looks like :-
    [root@mail named]# dig compurxinfotech.com any

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> compurxinfotech.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11402
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;compurxinfotech.com. IN ANY

    ;; ANSWER SECTION:
    compurxinfotech.com. 86400 IN SOA compurxinfotech.com. admin.compurxinfotech.com. 2007090101 3600 1800 864000 3600
    compurxinfotech.com. 86400 IN NS mail.compurxinfotech.com.
    compurxinfotech.com. 86400 IN MX 10 mail.compurxinfotech.com.
    compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; ADDITIONAL SECTION:
    mail.compurxinfotech.com. 86400 IN A 192.168.20.5

    ;; Query time: 0 msec
    ;; SERVER: 192.168.20.5#53(192.168.20.5)
    ;; WHEN: Wed Dec 29 13:09:49 2010
    ;; MSG SIZE rcvd: 146


    ############# Still got the error message while starting zimbra services#######

    [zimbra@mail ~]$ zmcontrol start
    Host mail.compurxinfotech.com
    Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  2. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  3. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •