Announcement

Collapse
No announcement yet.

New installation, cannot create context - Cannot resolve server id

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

  • New installation, cannot create context - Cannot resolve server id

    Hello!

    I am installing OX in a VM env to test a migration to LDAP user auth.

    I am using the install guide, and after completing the setup while attempting to create context I get this:

    root@openexchange:~# /opt/open-xchange/sbin/createcontext -A oxadminmaster -P admin_master_password -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p admin_password -L defaultcontext -e oxadmin@example.com -q 1024 --access-combination-name=groupware_standard
    context 1 could not be created:
    Server response:
    DBP-0019 Categories=CONFIGURATION Message='Cannot resolve server id for server oxserver.' exceptionID=1192907501-9
    at com.openexchange.admin.rmi.impl.OXContextCommonImp l.createcommon(OXContextCommonImpl.java:189)
    at com.openexchange.admin.rmi.impl.OXContext.create(O XContext.java:387)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:322)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 77)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:173)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:553)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:808)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:667)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:701)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:273)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:251)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 60)
    at java.rmi.server.RemoteObjectInvocationHandler.invo keRemoteMethod(RemoteObjectInvocationHandler.java: 194)
    at java.rmi.server.RemoteObjectInvocationHandler.invo ke(RemoteObjectInvocationHandler.java:148)
    at com.sun.proxy.$Proxy0.create(Unknown Source)
    at com.openexchange.admin.console.context.Create.main call(Create.java:140)
    at com.openexchange.admin.console.context.CreateCore. commonfunctions(CreateCore.java:140)
    at com.openexchange.admin.console.context.Create.<ini t>(Create.java:78)
    at com.openexchange.admin.console.context.Create.main (Create.java:82)

    Can anyone point me in the right direction to look?
    I am using vanilla Debian6, java version "1.6.0_31"

    Thank you!
    matias
    Last edited by ma123; 07-02-2014, 01:51 PM.

  • #2
    OK, got it.

    I've changed the value of SERVER_NAME at /opt/open-xchange/etc/system.properties to match my hostname.

    Then was an error of db already exists, I've restarted app and next try it worked.

    Best,
    M

    Comment

    Working...
    X