Open-Xchange The required service is temporary not available

Hello,

After Update to OX-App Suite Version 7.8.4-ucs5 I cannot login via Webinterface. The LoginScreen appears and after login following message appears:

Ein benötigter Dienst ist vorübergehend nicht verfügbar. Bitte versuchen Sie es später erneut. (SRV-0001)

In the logfile (open-xchange.log.0 ) I can see following error message:
com.openexchange.exception.OXException: SRV-0001 Categories=TRY_AGAIN Message='The required service com.openexchange.authentication.AuthenticationService is temporary not available. Please try again later.' exceptionID=608245803-69

Email Access with extern Clients (Thunderbird, K9) works.
Syncronisation of Calender and adressbook doesn’t work. Same error message at DavDroid as in OX-Logdatei (s.O.)

I tried this:
1.) uninstall OX-Suite via Webinterface and new installed
2.) uninstall OX-Suite via Webinterface, after that in Terminal:
apt-get purge “open-xChange*”, after that new installed
Same behavior
System says no broken packets.
No outstanding join-scripts.

Theres is only installed Nextcloud.
UCS Version is 4.2-1 errata133.

Please help

sincerly

Kay Koch
Original Post in german

Hi!

First, the authentication for IMAP (Thunderbird, K9) is done via dovecot+PAM and does not involve OX. This is why there are no problems with external clients. CalDav is done via OX and that’s why the calendar sync is affected.

Can you please attach the open-xchange.log.0 to this thread or alternatively send it via direct message to me?
Please also attach the output of the following command:

ucr search --brief ox/

Best regards

Sönke Schwardt-Krummrich

Hallo Sönke,
ich vermute, Du verstehst auch Deutsch. (Ein Ö im Namen …)

Hier mein logfile nach missglückter Anmeldung:

2017-08-15T22:58:47,488+0200 INFO  [OXWorker-0000192] com.openexchange.login.internal.LoginPerformer.logLoginRequest(LoginPerformer.java:673)
Login:null IP:91.44.50.41 AuthID:9fe2967ac53d4c1996be83e017a98503 Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36 Client:open-xchange-appsuite(null) Interface:HTTP_JSON No session created.
 com.openexchange.grizzly.method=GET
 com.openexchange.grizzly.queryString=action=autologin&client=open-xchange-appsuite&rampup=true&rampupFor=open-xchange-appsuite&version=7.8.4-6
 com.openexchange.grizzly.remoteAddress=91.44.50.41
 com.openexchange.grizzly.remotePort=38102
 com.openexchange.grizzly.requestURI=/ajax/login
 com.openexchange.grizzly.serverName=nathan.kaykoch.ddnss.de
 com.openexchange.grizzly.servletPath=/ajax/login
 com.openexchange.grizzly.session=8089901946516539310.APP1
 com.openexchange.grizzly.threadName=OXWorker-0000192
 com.openexchange.grizzly.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36
 com.openexchange.request.trackingId=634536826-317268516
2017-08-15T22:58:54,799+0200 INFO  [OXWorker-0000192] com.openexchange.login.internal.LoginPerformer.logLoginRequest(LoginPerformer.java:673)
Login:kaykoch IP:91.44.50.41 AuthID:6ea421d3123b4ce298d5ccf44e642ecb Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36 Client:open-xchange-appsuite(7.8.4-6) Interface:HTTP_JSON No session created.
 com.openexchange.grizzly.method=POST
 com.openexchange.grizzly.queryString=<none>
 com.openexchange.grizzly.remoteAddress=91.44.50.41
 com.openexchange.grizzly.remotePort=38106
 com.openexchange.grizzly.requestURI=/ajax/login
 com.openexchange.grizzly.serverName=nathan.kaykoch.ddnss.de
 com.openexchange.grizzly.servletPath=/ajax/login
 com.openexchange.grizzly.threadName=OXWorker-0000192
 com.openexchange.grizzly.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36
 com.openexchange.login.authId=6ea421d3123b4ce298d5ccf44e642ecb
 com.openexchange.login.client=open-xchange-appsuite
 com.openexchange.login.clientIp=91.44.50.41
 com.openexchange.login.login=kaykoch
 com.openexchange.login.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36
 com.openexchange.login.version=7.8.4-6
 com.openexchange.request.trackingId=634536826-317268518
2017-08-15T22:58:54,799+0200 ERROR [OXWorker-0000192] com.openexchange.ajax.login.AbstractLoginRequestHandler.loginOperation(AbstractLoginRequestHandler.java:361)

 com.openexchange.grizzly.method=POST
 com.openexchange.grizzly.queryString=<none>
 com.openexchange.grizzly.remoteAddress=91.44.50.41
 com.openexchange.grizzly.remotePort=38106
 com.openexchange.grizzly.requestURI=/ajax/login
 com.openexchange.grizzly.serverName=nathan.kaykoch.ddnss.de
 com.openexchange.grizzly.servletPath=/ajax/login
 com.openexchange.grizzly.threadName=OXWorker-0000192
 com.openexchange.grizzly.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36
 com.openexchange.login.authId=6ea421d3123b4ce298d5ccf44e642ecb
 com.openexchange.login.client=open-xchange-appsuite
 com.openexchange.login.clientIp=91.44.50.41
 com.openexchange.login.login=kaykoch
 com.openexchange.login.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36
 com.openexchange.login.version=7.8.4-6
 com.openexchange.request.trackingId=634536826-317268518
com.openexchange.exception.OXException: SRV-0001 Categories=TRY_AGAIN Message='The required service com.openexchange.authentication.AuthenticationService is temporary not available. Please try again later.' exceptionID=-634536826-106
	at com.openexchange.exception.OXExceptionFactory.create(OXExceptionFactory.java:176)
	at com.openexchange.exception.OXExceptionFactory.create(OXExceptionFactory.java:166)
	at com.openexchange.exception.OXExceptionFactory.create(OXExceptionFactory.java:139)
	at com.openexchange.server.ServiceExceptionCode.create(ServiceExceptionCode.java:163)
	at com.openexchange.authentication.service.Authentication.login(Authentication.java:95)
	at com.openexchange.login.internal.NormalLoginMethod.doAuthentication(NormalLoginMethod.java:83)
	at com.openexchange.login.internal.LoginPerformer.doLogin(LoginPerformer.java:213)
	at com.openexchange.login.internal.LoginPerformer.doLogin(LoginPerformer.java:155)
	at com.openexchange.login.internal.LoginPerformer.doLogin(LoginPerformer.java:143)
	at com.openexchange.ajax.login.Login$1.doLogin(Login.java:109)
	at com.openexchange.ajax.login.AbstractLoginRequestHandler.loginOperation(AbstractLoginRequestHandler.java:222)
	at com.openexchange.ajax.login.AbstractLoginRequestHandler.loginOperation(AbstractLoginRequestHandler.java:181)
	at com.openexchange.ajax.login.Login.doLogin(Login.java:97)
	at com.openexchange.ajax.login.Login.handleRequest(Login.java:90)
	at com.openexchange.ajax.LoginServlet.doJSONAuth(LoginServlet.java:792)
	at com.openexchange.ajax.LoginServlet.doGet(LoginServlet.java:757)
	at com.openexchange.ajax.LoginServlet.doPost(LoginServlet.java:877)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at com.openexchange.ajax.AJAXServlet.doService(AJAXServlet.java:549)
	at com.openexchange.ajax.LoginServlet.service(LoginServlet.java:737)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:147)
	at com.openexchange.http.grizzly.servletfilter.RequestReportingFilter.doFilter(RequestReportingFilter.java:132)
	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:137)
	at com.openexchange.http.grizzly.servletfilter.WrappingFilter.doFilter(WrappingFilter.java:204)
	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:137)
	at com.openexchange.http.grizzly.service.http.OSGiAuthFilter.doFilter(OSGiAuthFilter.java:140)
	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:137)
	at org.glassfish.grizzly.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:106)
	at org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:224)
	at org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:178)
	at com.openexchange.http.grizzly.service.http.OSGiMainHandler.service(OSGiMainHandler.java:223)
	at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)
	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$MDCProvidingRunnable.run(CustomThreadPoolExecutor.java:2570)
	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:840)
	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:867)
	at java.lang.Thread.run(Thread.java:745)

Und hier der Output von “usr search”:

mail/antispam/ox/spamrunner/cron: <empty>
mail/antispam/ox/spamrunner/verbose: <empty>
mail/antispam/ox/spamrunner: yes
mail/dovecot/mailbox/delete: yes
mail/dovecot/mailbox/rename: yes
mail/dovecot/mailbox/share_keywords: <empty>
mail/postfix/virtual/mailbox/maps: ldap:/etc/postfix/ldap.ox-sharedfolder_mailbox, ldap:/etc/postfix/ldap.ox-virtual_mailbox
ox/caldav/useragent/whitelist: Calendar|Reminders|DataAccess|DAVKit|Lightning|Adresboek|dataaccessd|Preferences|Adressbuch|AddressBook|Address\ Book|CalendarStore|CalendarAgent|accountsd|eM\ Client|CoreDAV|DAVdroid
ox/cfg/AdminUser.properties/CHECK_USER_UID_FOR_NOT_ALLOWED_CHARS: false
ox/cfg/AdminUser.properties/PRIMARY_MAIL_UNCHANGEABLE: false
ox/cfg/AdminUser.properties/USERNAME_CHANGEABLE: true
ox/cfg/Group.properties/CHECK_GROUP_UID_FOR_NOT_ALLOWED_CHARS: false
ox/cfg/attachment.properties/MAX_UPLOAD_SIZE: 10485760
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.baseDn: 
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.bindDn: @%@ldap/hostdn@%@
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.bindPassword: @&@/etc/machine.secret@&@
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.contextIdAttribute: oxContextIDNum
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.ldapUrl: ldaps://@%@ldap/server/name@%@:7636
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.loginAttribute: uid
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.mailAttribute: 
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.passwordChangeURL: https://@%@hostname@%@.@%@domainname@%@/umc/
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.searchFilter: (&(objectClass=oxUserObject)(uid=%s))
ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.useLdapPool: false
ox/cfg/cache.ccf/jcs.auxiliary.LTCP.attributes.TcpServers: 127.0.0.1:57461
ox/cfg/cache.ccf/jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled: false
ox/cfg/client-onboarding-caldav.properties/com.openexchange.client.onboarding.caldav.url: nathan.kaykoch.ddnss.de
ox/cfg/client-onboarding-carddav.properties/com.openexchange.client.onboarding.carddav.url: nathan.kaykoch.ddnss.de
ox/cfg/client-onboarding-emclient.properties/com.openexchange.capability.emclient_premium: True
ox/cfg/client-onboarding-emclient.properties/com.openexchange.client.onboarding.emclient.url: https://nathan.kaykoch.ddnss.de/emclientforox/emclient_appsuite_7.1.30376.msi
ox/cfg/cluster.properties/com.openexchange.cluster.name: @%@hostname@%@.@%@domainname@%@
ox/cfg/configjump.properties/URL: https://nathan.kaykoch.ddnss.de/umc
ox/cfg/drive.properties/com.openexchange.capability.drive: true
ox/cfg/foldercache.properties/ENABLE_INTERNAL_USER_EDIT: false
ox/cfg/imap.properties/com.openexchange.imap.spamHandler: SpamAssassin
ox/cfg/infostore.properties/MAX_UPLOAD_SIZE: 10485760
ox/cfg/mail.properties/com.openexchange.mail.adminMailLoginEnabled: true
ox/cfg/mailfilter.properties/SIEVE_CREDSRC: imapLogin
ox/cfg/mailfilter.properties/SIEVE_LOGIN_TYPE: user
ox/cfg/mailfilter.properties/SIEVE_PORT: @%@mail/dovecot/sieve/port@%@
ox/cfg/noreply.properties/com.openexchange.noreply.address: OX App Suite <noreply@kaykoch.ddnss.de>
ox/cfg/notification.properties/object_link: https://[hostname][uiwebpath]#!!&app=io.ox/tasks&folder=[folder]&id=[folder].[object]
ox/cfg/push-udp.properties/com.openexchange.push.udp.senderAddress: nathan.kaykoch.ddnss.de
ox/cfg/server.properties/com.openexchange.UIWebPath: /appsuite/
ox/cfg/sessiond.properties/com.openexchange.sessiond.autologin: true
ox/cfg/sessiond.properties/com.openexchange.sessiond.maxSessionPerUser: 1000
ox/components/available: frontend62213,frontend784,backend784,oxmobility784,oxusm784,oxdrive784,oxdrivehelp200,oxoutlook784
ox/context/id: 10
ox/java/mem: 1024
ox/joinscript/skip: <empty>
ox/ldbaccount/passwordfile: /etc/ox-secrets/ldb-account.secret
ox/listener/cron: <empty>
ox/listener/enabled: <empty>
ox/listener/smtp-server: <empty>
ox/listener/userid-cache/autoinvalidate: <empty>

Vielen Dank im voraus

Kay
PS:
Sollte:

ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.baseDn:

wirklich leer sein ???

Guten Morgen,

in der Tat, das sieht ungewöhnlich aus. Bitte führen sie folgende Befehle aus, um die Konfiguration zu korrigieren, und starten Open-Xchange neu:

ucr set ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.baseDn="@%@ldap/base@%@"
ucr set ox/cfg/authplugin.properties/com.openexchange.authentication.ucs.mailAttribute="mailPrimaryAddress"
service open-xchange restart

Bitte beachten Sie, dass nach dem Neustart von Open-Xchange der Dienst (je nach System) ca. 1 Minute nicht zur Verfügung steht.

Funktioniert die Anmeldung an der App Suite anschließend wieder?

Viele Grüße

Sönke Schwardt-Krummrich

Guten Morgen,
(und es ist ein WIRKLICH guter Morgen :rofl::rofl: )

Dies war die Lösung.
Eine Anmeldung funktionuert wieder. Und trotz mehrfacher Löschung der Installation sind alle Einstellungen, wie zusätzliche Email-Accounts, Kalendereinträge etc. vorhanden.

Ich bin Ihnen/Dir zu großem Dank verpflichtet.

Kay Koch

Mastodon