Problem: Directory-Logger Traceback in listener.log

Problem

In the listener.log file you will notice a traceback from the directory-logger:

Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 198, in handler
    (timestamp, dellog_id, modifier, action) = process_dellog(dn)
  File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 120, in process_dellog
    (dellog_stamp, dellog_id, dellog_dn, modifier, action) = [line.rstrip() for line in f]
ValueError: need more than 0 values to unpack

Solution

Die UCR variable ldap/logging/dellogdir points to the directory to check. Default path is /var/lib/univention-directory-logger/dellog.

If you see files with a zero size in this directory remove them.

Mastodon