Hello
I research this problem into forum and I have found similar messages but none of could help me.I think the problem is missing user or it does not sync with mysql db.
For example When I run listuser command it says;
/opt/open-xchange/sbin/listuser -c 10 -A oxadmin -P $(< /etc/ox-secrets/context10.secret)
users in context 10 could not be listed:
Server response:
Authentication failed
at com.openexchange.admin.rmi.impl.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:259)
at com.openexchange.admin.rmi.impl.OXUser.list(OXUser.java:2332)
at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:235)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:180)
at com.sun.proxy.$Proxy0.list(Unknown Source)
at com.openexchange.admin.console.user.List.maincall(List.java:87)
at com.openexchange.admin.console.user.ListCoreExtended.maincall(ListCoreExtended.java:98)
at com.openexchange.admin.console.user.ListCore.commonfunctions(ListCore.java:107)
at com.openexchange.admin.console.user.List.(List.java:77)
at com.openexchange.admin.console.user.List.main(List.java:70)
Additionally I can see something about my newly created users in queue
/usr/share/univention-ox/manage_listener_queue --list
Date | Module | * | Name | Timestamp
2020-07-13 05:52:30 | user | a | olriss | 1594608750.0212070942
2020-07-13 05:52:31 | groups | m | Domain Users | 1594608751.7332088947
And there is only one account in locahost_5\user table.So I can only login to ox suite with using this user.Others not.
I also checked secrets files and java db config files (/opt/open-xchange/etc/configdb.properties)
What could be a problem?
Thank you .
Hello again,
I've changed first two values to true in /opt/open-xchange/etc/AdminDaemon.properties
# Disabling authentication for system calls like context/server etc. creation!
# ONLY USE THIS SWITCH IF YOU EXACTLY KNOW WHAT YOU DO!!!
MASTER_AUTHENTICATION_DISABLED=true
# Disabling authentication for context calls like user/group etc. creation!
# This also disables authentication for calls which a "normal" user can make
# like change his own data or get his own data!
# ONLY USE THIS SWITCH IF YOU EXACTLY KNOW WHAT YOU DO!!!
CONTEXT_AUTHENTICATION_DISABLED=true
USER_STORAGE=com.openexchange.admin.storage.mysqlStorage.OXUserMySQLStorage
GROUP_STORAGE=com.openexchange.admin.storage.mysqlStorage.OXGroupMySQLStorage
RESOURCE_STORAGE=com.openexchange.admin.storage.mysqlStorage.OXResourceMySQLStorage
# how many jobs should be executed concurrently
CONCURRENT_JOBS=2
# Set this to true if you want to be able to do all operations on any context using the
# login and password of the oxadminmaster account
MASTER_ACCOUNT_OVERRIDE=false
It works but I thinks there is still a problem about security and I'm sure there was a password mismatch situation on my server.Because open-xchange log shows that repeatedly;
Admin authentication for user oxadmin
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException: Authentication failed
at com.openexchange.admin.rmi.impl.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:259)
at com.openexchange.admin.rmi.impl.OXUser.list(OXUser.java:2332)
at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-07-16T00:55:10,210+0300 ERROR [RMI TCP Connection(2713)-ip_address] com.openexchange.admin.rmi.impl.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:261)
OX App Suite 7.10.3-ucs6 has been released yesterday.
An upgrade should fix the problem described in case the initial installation was based on “OX App Suite 7.10.3-ucs4” or “OX App Suite 7.10.3-ucs5”
Hello.
This solution helped me about my problem.Firstly I upgraded and it did not work but it works now after uninstall & reinstall ox suite
Thank You.