Zimbra LDAP problem - Unable to determine enabled services from ldap

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
6131auanton
Posts: 23
Joined: Fri Sep 12, 2014 10:30 pm

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby 6131auanton » Tue May 26, 2009 3:28 am

[quote user="8141Klug"]I got this a couple of weeks ago.
LDAP was dropping connections attempts with a strange error ("broken pipe" iirc, causing "javax.naming.CommunicationException") : everything seems to be correctly running but nothing works at all...
It was the certificate that was too old and the upgrade script did not catch it (and did not create a new certificate)...[/quote]
------------------

just to confirm what klug said!
yesterday i updated from 5.04 to 5.016 and everything went smoothly

i had to do ./install.sh twice:

- the first run mysql stopped after the database integrity checks, correcting left-over errors - the second run went straight to the successful end, SAYING TO HAVE RENEWED ssl-certificate )

all looked fine the whole day
this morning no web-access, and the symptoms described in this thread.
recreating the certificate ( see below ) solved the problem
-------------------

from:

Administration Console and CLI Certificate Tools - Zimbra :: Wiki

Single-Node Self-Signed Certificate
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 365

3. Next deploy the certificate.

zmcertmgr deploycrt self

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

zmcertmgr viewdeployedcrt

----------------------------------


greetings

anton


632Ayan
Posts: 1
Joined: Sat Sep 13, 2014 12:30 am

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby 632Ayan » Thu Jun 18, 2009 12:12 am

I face the problem -

Starting ldap...

Unable to determine enabled services from ldap.

Enabled services read from cache. Service list may be inaccurate.

update the /etc/hosts -

127.0.0.1 localhost.localdomain localhost Domain Names, Web Hosting, VPS Hosting, and SSL Certificates - MyDomain

then it started smooth
phoenix
Ambassador
Ambassador
Posts: 26448
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby phoenix » Thu Jun 18, 2009 1:22 am

[quote user="632Ayan"]I face the problem -

Starting ldap...

Unable to determine enabled services from ldap.

Enabled services read from cache. Service list may be inaccurate.

update the /etc/hosts -

127.0.0.1 localhost.localdomain localhost Domain Names, Web Hosting, VPS Hosting,*and SSL Certificates - MyDomain

then it started smooth[/QUOTE]That format appears to be incorrect, you should check the [URL=Quick Start Installation Guide[/URL] (or search the forums) for the required format of the hosts file. If all you have in the hosts file is the information you've posted you will have problems with your Zimbra installation.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
thealchemistsark
Posts: 2
Joined: Sat Sep 13, 2014 12:36 am

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby thealchemistsark » Thu Sep 23, 2010 1:35 am

This might be a problem with zimbra/ postfix Certificate.
The following commands from CLI will renew your certificate or create new certificate.
Single-Node Self-Signed Certificate
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 365
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
phoenix
Ambassador
Ambassador
Posts: 26448
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby phoenix » Thu Sep 23, 2010 1:39 am

[quote user="thealchemistsark"]This might be a problem of Certificate[/QUOTE]It might be the certificate but the format of the host file is incorrect and is the usual cause of this problem. As the o/p hasn't replied in over a year I guess we'll never know what the problem was.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
mrcoffee11
Advanced member
Advanced member
Posts: 57
Joined: Fri Sep 12, 2014 11:11 pm

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby mrcoffee11 » Thu Sep 23, 2010 1:48 am

One and a half year back in time I documented the solution for myself and others. Maybe it helps you:

Zimbra: Problem after upgrading from 5.0.10 to 5.0.14
Roderick
pankaj_garg
Posts: 5
Joined: Sat Sep 13, 2014 1:00 am

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby pankaj_garg » Mon Jan 24, 2011 8:35 am

[quote user="trevormantle"]Background: Zimbra has been running fine on server for about one month. Restarted server and after restart I get the following when starting zimbra:
[zimbra@mail ~]$ zmcontrol start

Host mail.ofsloans.com

Starting ldap...Done.

Unable to determine enabled services from ldap.

Enabled services read from cache. Service list may be inaccurate.

Starting logger...Done.

Starting mailbox...Done.

Starting antispam...Done.

Starting antivirus...Done.

Starting snmp...Done.

Starting spell...Done.

Starting mta...Done.

Starting stats...Done.

You have new mail in /var/spool/mail/zimbra



Version Information:


[zimbra@mail ~]$ zmcontrol -v

Release 5.0.4_GA_2101.RHEL5_64_20080321154100 CentOS5_64
Verified slapd is running:

[zimbra@mail ~]$ ps -ef | grep slapd

zimbra 23494 1 0 08:18 ? 00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://mail.ofsloans.com:389 -f /opt/zimbra/conf/slapd.conf
Verified it could resolve itself:

[zimbra@mail ~]$ zmhostname

mail.ofsloans.com

You have new mail in /var/spool/mail/zimbra
Checked the mail referenced:

[zimbra@mail ~]$ tail /var/spool/mail/zimbra

X-Cron-Env:

X-Cron-Env:

X-Cron-Env:

Message-Id:

Sender: CronDaemon

Date: Thu, 29 May 2008 08:24:18 -0700
Unable to determine enabled services from ldap.

Enabled services read from cache. Service list may be inaccurate.
Everything shows as running but I can not access email through the web client. I also can't access the administrator console through web interface.
Any Ideas on how to fix the LDAP error? :confused::confused:[/QUOTE]


Hello,

Try the following steps as root:

1) Stop the zimbra service:

su - zimbra -c "/opt/zimbra/bin/zmcontrol stop"

2) Delete the contents of the redolog directory:

rm -rf /opt/zimbra/redolog/*

3)Fix zimbra permissions using the following command:

/opt/zimbra/libexec/zmfixperms -verbose -extended

4)Start the zimbra service again:

su - zimbra -c "/opt/zimbra/bin/zmcontrol start"
It should resolve the logger problem.
razmal
Posts: 15
Joined: Sat Sep 13, 2014 12:36 am

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby razmal » Thu Jan 27, 2011 4:26 am

I've got the same problem today, and i've done all your advice, and still get the same error message :
Starting ldap...Done.

Unable to determine enabled services from ldap.

Enabled services read from cache. Service list may be inaccurate.

Starting mailbox...Done.

Starting memcached...Done.

Starting imapproxy...Done.

Starting antispam...Done.

Starting antivirus...Done.

Starting spell...Done.

Starting mta...Done.

Starting stats...Done.
Cannot login to web admin, and web mail.

Before this happened, i've just adding a new domain, and works like a charm, but suddenly this trouble appears..
Still looking for a solution..:confused:
phoenix
Ambassador
Ambassador
Posts: 26448
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby phoenix » Thu Jan 27, 2011 5:56 am

[quote user="razmal"]Still looking for a solution..:confused:[/QUOTE]The information you've provided doesn't give us any idea what the problem may be. You need to look in the log files for the exact error that you're experiencing - saying 'it doesn't work' doesn't help us much. There are also several solutions mentioned in this thread, what have you tried to solve the problem - you need to give more details on what the problem is and what steps you've taken to resolve it.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
razmal
Posts: 15
Joined: Sat Sep 13, 2014 12:36 am

Zimbra LDAP problem - Unable to determine enabled services from ldap

Postby razmal » Thu Jan 27, 2011 6:39 am

I've tried your tips.
I,ve done the host file , the dig .. but still not work

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 5 guests