Directory listener problem after update

Hello,

after the last recent update i have problems to update my users. I digged around in the logfiles and found some problematic entrys:

NEU root@mailserver:~# tail -f /var/log/univention/listener.log
15.11.17 12:05:10.190 LISTENER ( WARN ) : ox-groups(OXUserIdCache): cache rebuild failed - dropping all entries
15.11.17 12:05:10.192 LISTENER ( PROCESS ) : ox-groups: transaction 1510229691.3869230747 deferred: dn=cn=Domain Users,cn=groups,dc=mail,dc=xxx,dc=local “listcontext None” returned 101
15.11.17 12:05:10.195 LISTENER ( WARN ) : ox-groups(OXUserIdCache): database is empty - starting cache rebuild
15.11.17 12:05:10.195 LISTENER ( WARN ) : ox-groups(OXUserIdCache): rebuilding cache…
15.11.17 12:05:10.998 LISTENER ( WARN ) : ox-groups(OXUserIdCache): cache rebuild failed - dropping all entries
15.11.17 12:05:11.000 LISTENER ( WARN ) : ox-groups(OXUserIdCache): cache rebuild: runtime error: “listcontext None” returned 101
15.11.17 12:05:11.000 LISTENER ( WARN ) : ox-groups(OXUserIdCache): database is empty - starting cache rebuild
15.11.17 12:05:11.000 LISTENER ( WARN ) : ox-groups(OXUserIdCache): rebuilding cache…
15.11.17 12:05:11.830 LISTENER ( WARN ) : ox-groups(OXUserIdCache): cache rebuild failed - dropping all entries
15.11.17 12:05:11.832 LISTENER ( PROCESS ) : ox-groups: transaction 1510229638.3926999569 deferred: dn=cn=Domain Users,cn=groups,dc=mail,dc=xxx,dc=local “listcontext None” returned 101

It’s also not processing the tasks:

NEU root@mailserver:~# ls -1 /var/spool/univention-directory-listener/ox-user/* | head -n10
/var/spool/univention-directory-listener/ox-user/1510744237.8406460285
/var/spool/univention-directory-listener/ox-user/lock.tmp

NEU root@mailserver:~# /usr/share/univention-ox/process-listener
2017-11-15 12:12:49 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv
2017-11-15 12:12:53 INFO: command /opt/open-xchange/sbin/listcontext --adminuser=oxadminmaster --csv

I think it’s a problem with listcontext None, does anybody has idea how to fix this?

Good afternoon biff31337,

you should run the following command on your system, and post the resulting error message.

 /opt/open-xchange/sbin/listcontext -A oxadminmaster -P "$(< /etc/ox-secrets/master.secret)"

Regards

Anna Takang

Hi,

thank you for your reply.

NEU root@mailserver:~# /opt/open-xchange/sbin/listcontext -A oxadminmaster -P “$(< /etc/ox-secrets/master.secret)”
contexts could not be listed:
Server response:
Authentication failed
at com.openexchange.admin.rmi.impl.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:188)
at com.openexchange.admin.rmi.impl.OXContext.list(OXContext.java:882)
at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:345)
at sun.rmi.transport.Transport$2.run(Transport.java:202)
at sun.rmi.transport.Transport$2.run(Transport.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy0.list(Unknown Source)
at com.openexchange.admin.console.context.List.maincall(List.java:80)
at com.openexchange.admin.console.context.ListCore.commonfunctions(ListCore.java:102)
at com.openexchange.admin.console.context.List.(List.java:70)
at com.openexchange.admin.console.context.List.main(List.java:74)

Hello,

there was a /etc/ox-secrets/master.secret-bak file, i copied it to /etc/ox-secrets/master.secret and, for the moment, it worked again.
Where to change the password of the template variable?

Best regards
Frank

/etc/ox-secrets/master.secret is not a file created from a template. Just overwriting it with the correct contents is fine.

Mastodon