Announcement

Collapse
No announcement yet.

Database messed up when updating

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

  • molli123
    replied
    this fixed it, thanks for your help

    Code:
    /opt/open-xchange/sbin/registerserver -n exchange -A oxadminmaster -P ****"

    Leave a comment:


  • molli123
    replied
    Hi,

    how do I change back to 2? What is the number? Context?

    Code:
    exchange:~#  /opt/open-xchange/sbin/listserver -A oxadminmaster -P "*****"
    Id Name                     
     2 exchange                 
     7 exchange.****.de
    exchange:~#

    Leave a comment:


  • molli123
    started a topic Database messed up when updating

    Database messed up when updating

    Hi,

    I just updated 6.20.1 -> 6.20.7 -> 6.22.0 -> 6.22.2 -> 7.4.0R11 and it seems I messed up my database Configuration.

    Database is still filled with something, probably valid data, but how do I tell the system where to look?

    Another thing: I had so many logs in /var/log/open-xchange- created a new folder old, moved all logfiles there and rebootet, but all I see is this:
    Code:
    exchange:~# ll /var/log/open-xchange/
    total 4
    drwxr-xr-x 2 root         root         4096 Oct  4 20:09 old
    -rw------- 1 open-xchange open-xchange    0 Oct  6 14:18 open-xchange-console.log
    -rw------- 1 open-xchange open-xchange    0 Oct  6 09:55 open-xchange-console.log.old
    exchange:~#
    Log from the context thing
    Code:
    exchange:~# /opt/open-xchange/sbin/listdatabase -A oxadminmaster -P "******"
    id name       hostname  master mid weight maxctx curctx hlimit max inital
     4 oxdatabase localhost true     0    100   1000      1 false  100      2
    exchange:~# /opt/open-xchange/sbin/listcontext -A oxadminmaster -P "******"
    cid fid fname enabled qmax qused name lmappings
    exchange:~# /opt/open-xchange/sbin/listuser -c 1 -A oxadmin -P "******"
    users in context 1 could not be listed:
    Server response:
     com.openexchange.admin.rmi.exceptions.PoolException: DBP-0002 Categories=ERROR Message='Database for context 1 and server 7 can not be resolved' exceptionID=-1247742224-10
            at com.openexchange.admin.storage.mysqlStorage.OXToolMySQLStorage.getUserIDByUsername(OXToolMySQLStorage.java:1132)
            at com.openexchange.admin.storage.mysqlStorage.OXAuthMySQLStorage.authenticate(OXAuthMySQLStorage.java:106)
            at com.openexchange.admin.rmi.impl.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:192)
            at com.openexchange.admin.rmi.impl.OXUser.list(OXUser.java:1200)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:662)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
            at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
            at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
            at $Proxy0.list(Unknown Source)
            at com.openexchange.admin.console.user.List.maincall(List.java:82)
            at com.openexchange.admin.console.user.ListCore.commonfunctions(ListCore.java:118)
            at com.openexchange.admin.console.user.List.<init>(List.java:77)
            at com.openexchange.admin.console.user.List.main(List.java:70)
    
    exchange:~#
    Any help appreciated.

    Kind regards,
    Michael!
Working...
X