Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2013
    Posts
    1

    Default cant create context

    Hi everybody,

    I m trying to install OX on centOS6, but get stuck at creating a context every time. I tried it with 6.22 and latest AppSuite Version (same behavior). I followed the centOS6 install guidelines, everything works fine, DB-user gets created, configdb gets created, but when I run

    /opt/open-xchange/sbin/createcontext -A oxadminmaster -P 123456 -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p 123456 -L defaultcontext -e oxadmin@test.cc -q 10000 --access-combination-name=all

    I get:
    context 1 could not be created:
    Server response:
    Internal server error occured
    at com.openexchange.admin.rmi.impl.OXContextCommonImp l.createcommon(OXContextCommonImpl.java:168)
    at com.openexchange.admin.rmi.impl.OXContext.create(O XContext.java:337)
    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:616)
    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:679)
    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 sun.proxy.$Proxy0.create(Unknown Source)
    at com.openexchange.admin.console.context.Create.main call(Create.java:136)
    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)
    When I run it for a second time, i get:
    context 1 could not be created:
    Server response:
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorEx ception: Unknown database 'oxdatabase_5'
    at com.openexchange.admin.rmi.impl.OXContextCommonImp l.createcommon(OXContextCommonImpl.java:168)
    ......
    i would appreciate any help or hint I can get on this one.

    Thanks
    Matthias

  2. #2
    Join Date
    Sep 2013
    Posts
    2

    Default

    Hi Matthias,

    I am also getting the same error. Hope if someone show up and help us, both.

    Code:
    [root@ip-172-31-7-114 ~]# /opt/open-xchange/sbin/createcontext -A oxadminmaster -P 'th*0X@dm!nP@55w0rd' -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p secret -L defaultcontext -e oxadmin@fledge.in -q 1024 --access-combination-name=all
    context 1 could not be created: 
    Server response:
     The new context could not be created. All not full databases can not be connected to.
    	at com.openexchange.admin.rmi.impl.OXContextCommonImpl.createcommon(OXContextCommonImpl.java:168)
    	at com.openexchange.admin.rmi.impl.OXContext.create(OXContext.java:344)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:616)
    	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    	at sun.rmi.transport.Transport$1.run(Transport.java:177)
    	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$ConnectionHandler.run0(TCPTransport.java:808)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.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:679)
    	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
    	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
    	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
    	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
    	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
    	at sun.proxy.$Proxy0.create(Unknown Source)
    	at com.openexchange.admin.console.context.Create.maincall(Create.java:136)
    	at com.openexchange.admin.console.context.CreateCore.commonfunctions(CreateCore.java:140)
    	at com.openexchange.admin.console.context.Create.<init>(Create.java:78)
    	at com.openexchange.admin.console.context.Create.main(Create.java:82)
    
    [root@ip-172-31-7-114 ~]#

    Warm Regards,
    Abhishek

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •