Problem: LISTENER WARN : replication: Can't contact LDAP server: retrying

Problem

In /var/log/univention/listener.log you notice the following warnings:
# LISTENER WARN : replication: Can't contact LDAP server: retrying

Solution

As this message is a warning and there might be no need for further action.
To verify the listener/ notifier replication is working fine use the check command:

root@ucs:/usr# /usr/lib/nagios/plugins/check_univention_replication
OK: replication complete (nid=2698 lid=2698)

If it gives an “OK” the replication is working.
If not, proceed with this article.

Note:
The warning indicates there is an issue connection to the LDAP server which seems to resolve a little bit later. It is recommended to do some troubleshooting steps to figure out the root cause. It might be related to:

  • DNS resolving issues
  • Network outages
  • Server overlad
  • Routing or Firewall issues