UPDATED: zmconfigd fails the first time when starting

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
sarsenal
Posts: 8
Joined: Fri Jul 15, 2016 5:13 am

UPDATED: zmconfigd fails the first time when starting

Post by sarsenal »

zmconfigd fails when I start the first time. I then run a second time and it works. I am using Ubuntu 14.04 and zimbra 8.5.1 for now. I am afraid to upgrade to 8.7 until I resolve, because the upgrade will fail.

At first I thought it was ldap. It says permission denied. That directory is owned by zimbra. ran fixperms with -extended. Still same issue. Any ideas? Ldap does start the first time. I then rerun zmcontrol start and zmconfigd starts the second time and everything starts and works.


From the zmconfigd.log

Code: Select all

Starting zmconfigd...zmconfigd is already running.
  Exception in thread ldap:Traceback (most recent call last):
  File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/threading.py", line 179, in _T
hread__bootstrap
    self.run()
  File "/opt/zimbra/lib/jars/jython-2.5.2.jar/Lib/threading.py", line 170, in ru
n
    self._target(*self._args, **self._kwargs)
  File "/opt/zimbra/zimbramon/pylibs/state.py", line 612, in runLdap
    if not self.doLdap(ldap, val):
  File "/opt/zimbra/zimbramon/pylibs/state.py", line 645, in doLdap
    rc = self.ldap.modify_attribute(key, val)
  File "/opt/zimbra/zimbramon/pylibs/state.py", line 645, in doLdap
    rc = self.ldap.modify_attribute(key, val)
  File "/opt/zimbra/zimbramon/pylibs/ldap.py", line 83, in modify_attribute
    mLdapContext = LdapClient.getContext(cls.mLdapConfig, LdapUsage.SEARCH)
LdapException: com.zimbra.cs.ldap.LdapException: LDAP error:  - unable to get co
nnection: An error occurred while attempting to connect to server dummy_host:1: 
 java.io.IOException: An error occurred while attempting to establish a connecti
on to server dummy_host:1:  org.newsclub.net.unix.AFUNIXSocketException: Permiss
ion denied (socket: /opt/zimbra/data/ldap/state/run/ldapi)
ExceptionId:ldap:1468663572497:3e57af2309c4c21d
Code:ldap.LDAP_ERROR
djzort
Posts: 17
Joined: Thu Dec 21, 2017 11:09 am

Re: UPDATED: zmconfigd fails the first time when starting

Post by djzort »

Post Reply