Process pending OX listener transactions /usr/share/univention-ox/process-listener sending Mails every 5 Minutes

After the latest OX Update i am receiving mails every 5 minutes

root@backup:~# /usr/share/univention-ox/process-listener
2020-12-14 08:49:28 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:29 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10
2020-12-14 08:49:29 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10
2020-12-14 08:49:30 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:30 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:30 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:32 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:32 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:32 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:32 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2020-12-14 08:49:33 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10
2020-12-14 08:49:33 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10
2020-12-14 08:49:33 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10
2020-12-14 08:49:33 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10
2020-12-14 08:49:33 INFO: command /opt/open-xchange/sbin/listgroup --adminuser=oxadmin --csv --contextid 10

Related to the comment of the cron-job it seems like there are pending listener transactions

Process pending OX listener transactions

*/5 * * * * root [ -x /usr/share/univention-ox/process-listener ] && /usr/share/univention-ox/process-listener

I restarted univetion-ox, i checked if all join scripts are successfull but i dont know how to fix that issue.

Do you have any idea?

There is a cron job that runs every 5min, that’s intended: /etc/cron.d/univention-ox
You have probably configured an email address for cron or root to send emails to. Thus you are receiving the output of all cronjobs.

Thank you, very much for the reply, yes that the cron. The question is why there is some output, i was trying to pipe it to /dev/null so that i only get stderr but the output is still there, so its not on stdout. Do i have to worry about the output?

*/5 * * * * root [ -x /usr/share/univention-ox/process-listener ] && /usr/share/univention-ox/process-listener > /dev/null

whats the propose of that script?

Not as long as it’s in loglevel INFO.

The listener module ox-user will only run, when triggered by an LDAP change.
But when a previous operation on the OX database failed, it will be queued and should be retried after a while without requiring an LDAP change. So we trigger the listener module code regularly through a cronjob.

1 Like