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 12-27-2010, 01:23 AM
Junior Member
 
Posts: 9
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
Reply With Quote
  #2 (permalink)  
Old 12-27-2010, 02:51 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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.
__________________
Regards


Bill

Last edited by phoenix; 12-27-2010 at 05:16 AM..
Reply With Quote
  #3 (permalink)  
Old 12-27-2010, 04:58 AM
Junior Member
 
Posts: 9
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
Reply With Quote
  #4 (permalink)  
Old 12-27-2010, 05:19 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #5 (permalink)  
Old 12-28-2010, 09:39 AM
Junior Member
 
Posts: 9
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.

########
Reply With Quote
  #6 (permalink)  
Old 12-28-2010, 09:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #7 (permalink)  
Old 12-28-2010, 09:25 PM
Junior Member
 
Posts: 9
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
Reply With Quote
  #8 (permalink)  
Old 12-28-2010, 11:05 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #9 (permalink)  
Old 12-28-2010, 11:50 PM
Junior Member
 
Posts: 9
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.
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.