Announcement

Collapse
No announcement yet.

Database connection lost after Update to 6.10 and restart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database connection lost after Update to 6.10 and restart

    Hi
    yesterday I update my OX from 6.8 to 6.10.
    After the update all work fine. But today I had done some maintanace and restart the machine.
    After restart I get following error:
    HTML Code:
    Fehlermeldung: Verbindung zur Datenbank kann nicht hergestellt 
    werden. (CTX-0005, -428952902-5)
    Following is in open-xchange.log
    HTML Code:
    SCHWERWIEGEND: CTX-0005 Category=5 Message=Cannot get connection to database. exceptionID=-428952902-5
    CTX-0005 Category=5 Message=Cannot get connection to database. exceptionID=-428952902-5
            at com.openexchange.authentication.database.impl.DatabaseAuthentication.handleLoginInfo(DatabaseAuthentication.java:113)
            at com.openexchange.authentication.service.Authentication.login(Authentication.java:92)
            at com.openexchange.login.internal.LoginPerformer.doLogin(LoginPerformer.java:137)
            at com.openexchange.ajax.Login.doGet(Login.java:137)
            at com.openexchange.ajax.Login.doPost(Login.java:388)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
            at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:381)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:429)
            at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:128)
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:282)
            at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:189)
            at com.openexchange.ajp13.najp.AJPv13Task.run(AJPv13Task.java:258)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
            at java.util.concurrent.FutureTask.run(FutureTask.java:123)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: CTX-0005 Category=5 Message=Cannot get connection to database. exceptionID=-428952902-4
            at com.openexchange.groupware.contexts.impl.RdbContextStorage.getMailadmin(RdbContextStorage.java:148)
            at com.openexchange.groupware.contexts.impl.RdbContextStorage.loadContext(RdbContextStorage.java:244)
            at com.openexchange.groupware.contexts.impl.CachingContextStorage$1.load(CachingContextStorage.java:157)
            at com.openexchange.groupware.contexts.impl.CachingContextStorage$1.load(CachingContextStorage.java:167)
            at com.openexchange.cache.dynamic.impl.Refresher.refresh(Refresher.java:162)
            at com.openexchange.groupware.contexts.impl.ContextReloader.<init>(ContextReloader.java:79)
            at com.openexchange.groupware.contexts.impl.CachingContextStorage.loadContext(CachingContextStorage.java:172)
            at com.openexchange.groupware.contexts.impl.ContextStorage.getContext(ContextStorage.java:115)
            at com.openexchange.context.internal.ContextServiceImpl.getContext(ContextServiceImpl.java:79)
            at com.openexchange.authentication.database.impl.DatabaseAuthentication.handleLoginInfo(DatabaseAuthentication.java:101)
            ... 18 more
    Caused by: DBP-0019 Category=10 Message=Cannot resolve server id for server local. exceptionID=-428952902-3
            at com.openexchange.database.internal.DBPoolingExceptionFactory.createException(DBPoolingExceptionFactory.java:76)
            at com.openexchange.database.internal.DBPoolingExceptionFactory.createException(DBPoolingExceptionFactory.java:62)
            at com.openexchange.exceptions.Exceptions.create(Exceptions.java:139)
            at com.openexchange.exceptions.Exceptions.create(Exceptions.java:143))
            at com.openexchange.exceptions.Exceptions.create(Exceptions.java:155)
            at com.openexchange.database.DBPoolingExceptionCodes.create(DBPoolingExceptionCodes.java:186)
            at com.openexchange.database.internal.Server.getServerId(Server.java:104)
            at com.openexchange.database.internal.AssignmentStorage.getAssignment(AssignmentStorage.java:138)
            at com.openexchange.database.internal.DatabaseServiceImpl.get(DatabaseServiceImpl.java:136)
            at com.openexchange.database.internal.DatabaseServiceImpl.get(DatabaseServiceImpl.java:121)
            at com.openexchange.database.internal.DatabaseServiceImpl.getReadOnly(DatabaseServiceImpl.java:312)
            at com.openexchange.databaseold.Database.get(Database.java:114)
            at com.openexchange.server.impl.DBPool.pickup(DBPool.java:69)
            at com.openexchange.groupware.contexts.impl.RdbContextStorage.getMailadmin(RdbContextStorage.java:146)
            ... 27 more
    Sure it's my mistake. But where??

  • #2
    I have same problem, any solution?

    Comment


    • #3
      My solution: check difference in /opt/open-xchange/etc/groupware

      Between these two files:

      system.properties
      system.properties.dkpg-old

      In my setup it was the "SERVER_NAME=xxxxx"

      Comment

      Working...
      X