Available article translations:

How to enable LDAP logs


The clustered QMail module and SSL proxy functionality of Parallels Operations Automation (POA) are based on the OpenLDAP service. In order to troubleshoot various intermittent issues with clustered QMail and SSL proxy operability, it is necessary to enable verbose logging of the OpenLDAP service when an issue presents itself. In order to avoid gathering a large amount of superfluous information from OpenLDAP verbose logs, use the following steps to enable verbose logging on the fly.


  1. Add the following directive to the OpenLDAP configuration file:

    ~# grep loglevel /etc/openldap/slapd.conf
    loglevel -1
  2. Restart ldap service:

    ~# service ldap restart
  3. Add the following entry to /etc/syslog.conf:

    ~# grep ldap /etc/syslog.conf
    #local4.* /var/log/ldap.log
  4. When the issue is reproducible, remove the "#" mark from the "local4" line in /etc/syslog.conf.
  5. Restart syslog service:

    ~# service syslog restart

NB: There is no need to restart ldap service.

Was this article helpful?
Tell us how we may improve it.
Yes No