Open-Xchange 安装“已达到每个数据库集群中的最大上下文数”

Open-Xchange 安装“已达到每个数据库集群中的最大上下文数”

我目前正在尝试使用 Open-Xchange 配置我的 Ubuntu 服务器以供个人使用。我已经启动并运行了 Open-Xchange(所有数据库和用户都已创建,网站可通过 HTTPS 访问,等等)。

目前,我在创建所需的上下文时遇到了一些麻烦,遗憾的是我找不到有关此问题的任何信息。

这是我正在调用的命令: createcontext -A oxadminmaster -P '</snip>' -c 1 -u oxadmin -d "Context Administrator" -g Admin -s User -p '</snip>' -L defaultcontext -e oxadmin@myhost -q 1024 --access-combination-name=groupware_standard

我收到以下错误:

context 1 could not be created:
Server response:
 The maximum number of contexts in every database cluster has been reached. Use register-, create- or change database to resolve the problem.
        at com.openexchange.admin.storage.mysqlStorage.OXUtilMySQLStorage.getNextDBHandleByWeight(OXUtilMySQLStorage.java:3940)
        at com.openexchange.admin.plugin.hosting.storage.mysqlStorage.OXContextMySQLStorage.create(OXContextMySQLStorage.java:1601)
        at com.openexchange.admin.plugin.hosting.rmi.impl.OXContext.createmaincall(OXContext.java:1347)
        at com.openexchange.admin.rmi.impl.OXContextCommonImpl.createcommon(OXContextCommonImpl.java:174)
        at com.openexchange.admin.plugin.hosting.rmi.impl.OXContext.create(OXContext.java:468)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
        at sun.rmi.transport.Transport$1.run(Transport.java:200)
        at sun.rmi.transport.Transport$1.run(Transport.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
        at com.sun.proxy.$Proxy0.create(Unknown Source)
        at com.openexchange.admin.console.context.Create.maincall(Create.java:143)
        at com.openexchange.admin.console.context.CreateCore.commonfunctions(CreateCore.java:147)
        at com.openexchange.admin.console.context.Create.<init>(Create.java:80)
        at com.openexchange.admin.console.context.Create.main(Create.java:84)

似乎 initconfigdb 和 registerdatabase 没有创建任何数据库,我继续创建了一个空数据库:

+--------------------+
| Database           |
+--------------------+
| configdb           |
| information_schema |
| mysql              |
| oxglobal           |

以下是 db_pool 表的输出:

+------------+-----------------------------+-----------------------+--------------+----------------+-----------+------+---------+----------+
| db_pool_id | url                         | driver                | login        | password       | hardlimit | max  | initial | name     |
+------------+-----------------------------+-----------------------+--------------+----------------+-----------+------+---------+----------+
|          3 | jdbc:mysql://mail.hyhost    | com.mysql.jdbc.Driver | openexchange |                |         1 |  100 |       0 | oxglobal |
+------------+-----------------------------+-----------------------+--------------+----------------+-----------+------+---------+----------+

我是不是漏掉了什么?我尝试删除 configdb 数据库并调用其安装教程中的所有步骤,但又遇到了同样的问题。

任何有关此事的帮助都将不胜感激。

相关内容