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 03-11-2011, 12:19 AM
Loyal Member
 
Posts: 95
Question [SOLVED] Unable to determine enabled services from ldap

[zimbra@mail ~]$ zmcontrol start
Host mail.mydomain.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.
[zimbra@mail ~]$


zimbra.log output
Mar 11 13:16:04 mail sendmail[21154]: p2B7k3ds021154: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30363, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Last edited by sadiq007; 03-11-2011 at 12:23 AM.. Reason: adding zimbra.log
Reply With Quote
  #2 (permalink)  
Old 03-11-2011, 12:36 AM
Trained Alumni
 
Posts: 160
Default

Quote:
Originally Posted by sadiq007 View Post
[zimbra@mail ~]$ zmcontrol start
Host mail.mydomain.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.
[zimbra@mail ~]$


zimbra.log output
Mar 11 13:16:04 mail sendmail[21154]: p2B7k3ds021154: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30363, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Hi,

in the forums this issue was handled many times.

If you're behind a NAT router or firewall, you need a valid DNS MX and A records, and also a correct /etc/hosts file.

You can follow the istruction of this article:

Split DNS - Zimbra :: Wiki.

At the end, in 'Verify...' section, you can check the correctness of your configuration, by running the commands.

Regards
Reply With Quote
  #3 (permalink)  
Old 03-11-2011, 12:58 AM
Loyal Member
 
Posts: 95
Default

Dear i am not behind firewall, My MX and A entries all or ok.
and i got this problem suddenly on working mail server
Reply With Quote
  #4 (permalink)  
Old 03-11-2011, 01:09 AM
Trained Alumni
 
Posts: 160
Default

Quote:
Originally Posted by sadiq007 View Post
Dear i am not behind firewall, My MX and A entries all or ok.
and i got this problem suddenly on working mail server
Let's start step by step.

1) Permissions on the Zimbra files/directories, shutdown Zimbra and run the following (as root):

Code:
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms -verbose
restart Zimbra and see if that fixes it.

2) If the problem persists, do the following:

Code:
cat /etc/hosts 
host `hostname` 
dig yourdomain.com mx
dig yourdomain.com any
and post the output.
Reply With Quote
  #5 (permalink)  
Old 03-11-2011, 01:43 AM
Loyal Member
 
Posts: 95
Default

Same problem even after
zmcontrol stop
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms -verbose

output

cat /etc/hosts[/B]
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail mydomain.com
::1 localhost6.localdomain6 localhost6

cat /etc/resolve.conf
search mydomain.com
nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 4.2.2.2

dig mydomain.com MX

; <<>> DiG 9.3.4-P1 <<>> mydomain.com MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60506
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

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

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

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

;; ADDITIONAL SECTION:
mail.mydomain.com. 86400 IN A 192.168.1.1

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Mar 11 14:32:28 2011
;; MSG SIZE rcvd: 83

dig mydomain.com any

; <<>> DiG 9.3.4-P1 <<>> mydomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28123
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
mydomain.com. 86400 IN SOA mail.mydomain.com. root.mail.mydomain.com. 2 28800 7200 604800 86400
mydomain.com. 86400 IN NS mail.mydomain.com.
mydomain.com. 86400 IN MX 10 mail.mydomain.com.

;; ADDITIONAL SECTION:
mail.mydomain.com. 86400 IN A 192.168.1.1

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Mar 11 14:32:32 2011
;; MSG SIZE rcvd: 124

host 'mail.mydomain.com'
mail.mydomain.com has address 192.168.1.1
[root@mail named]#
Reply With Quote
  #6 (permalink)  
Old 03-11-2011, 02:10 AM
Trained Alumni
 
Posts: 160
Default

Quote:
Originally Posted by sadiq007 View Post
cat /etc/hosts[/B]
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail mydomain.com
::1 localhost6.localdomain6 localhost6
The /etc/hosts file isn't correct.

You have to change it from this:

Code:
127.0.0.1       localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail mydomain.com
::1             localhost6.localdomain6 localhost6
to be like this one:
Code:
127.0.0.1       localhost.localdomain localhost
192.168.1.1    mail.mydomain.com   mail
After making that change, reboot the server and see what happens.

Regards
Reply With Quote
  #7 (permalink)  
Old 03-11-2011, 02:32 AM
Loyal Member
 
Posts: 95
Default

dear same error even after changes in /etc/hosts
like this
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.mydomain.com mail
Reply With Quote
  #8 (permalink)  
Old 03-11-2011, 04:34 AM
Loyal Member
 
Posts: 95
Default

any other solution please?
Reply With Quote
  #9 (permalink)  
Old 03-11-2011, 05:14 AM
Trained Alumni
 
Posts: 160
Default

Quote:
Originally Posted by sadiq007 View Post
any other solution please?
Can you put the output of this command:

Code:
zmcontrol status
Reply With Quote
  #10 (permalink)  
Old 03-11-2011, 05:37 AM
Loyal Member
 
Posts: 95
Default

Well the output of zmcontrol status is
Host mail.mydomain.com
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running

surprised ??..

Yeh it was like that and the problem is sloved BY ME after this practice.


1. Begin by generating a new Certificate Authority (CA).

zmcertmgr createca -new

2. Then generate a certificate signed by the CA that expires in 365 days.

zmcertmgr createcrt -new -days 786

3. Next deploy the certificate.

zmcertmgr deploycrt self

4. Next deploy the CA.

zmcertmgr deployca

5. To finish, verify the certificate was deployed to all the services.

zmcertmgr viewdeployedcrt

( and the reson of this problem is that my certificate was expired after one year)

Well thanks for great response..keep it UP.

Last edited by sadiq007; 03-11-2011 at 05:38 AM.. Reason: chenge domain name to fake
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.