未启动griddb服务器集群节点

问题描述 投票:0回答:1

我使用的是 Ubuntu 24.04 LTS。当我尝试启动 GridDB 服务器时,它启动服务器并向我显示此错误:

gridstore.service 作业失败,因为控制进程退出并出现错误代码。 有关详细信息,请参阅“systemctl status gridstore.service”和“journalctl -xeu gridstore.service”。

我期待这些结果,

{
    "checkpoint": {
        "backupOperation": 0,
        "duplicateLog": 0,
        "endTime": 1681163543250,
        "mode": "NORMAL_CHECKPOINT",
        "normalCheckpointOperation": 747,
        "pendingPartition": 0,
        "periodicCheckpoint": "ACTIVE",
        "requestedCheckpointOperation": 0,
        "startTime": 1681163543246
    },
    "cluster": {
        "activeCount": 1,
        "applyRuleLimitTime": "2023-04-07T22:09:04.281-08:00",
        "autoGoal": "ACTIVE",
        "clusterName": "myCluster",
        "clusterRevisionId": "db3ff2a8-319e-42d3-8cb2-5ecf1657e0ad",
        "clusterRevisionNo": 8975,
        "clusterStatus": "MASTER",
        "currentRule": "Initial",
        "designatedCount": 1,
        "loadBalancer": "ACTIVE",
        "master": {
            "address": "127.0.0.1",
            "port": 10040
        },
        "nodeList": [
            {
                "address": "127.0.0.1",
                "port": 10040
            }
        ],
        "nodeStatus": "ACTIVE",
        "notificationMode": "FIXED_LIST",
        "partitionStatus": "NORMAL",
        "startupTime": "2023-04-07T09:40:58.181-08:00",
        "syncCount": 2
    },

    ...
}

当我运行以下命令来启动 GridDB 服务器节点时:

$ sudo systemctl start gridstore

以下是上述错误的日志文件详细信息。

[

$ sudo systemctl status gridstore.service
命令的日志详细信息]:

× gridstore.service - GridDB 数据库服务器。 已加载:已加载(/usr/lib/systemd/system/gridstore.service;已启用;预设:已启用) 活动:自 2024 年 5 月 15 日星期三 21:47:34 PKT 起失败(结果:退出代码); 1分17秒前 进程:3260 ExecStart=/usr/griddb/bin/gridstore start (code=exited, status=1/FAILURE)

5 月 15 日 21:47:29 JavaWorkstation gridstore[3277]:ValueError:无效模式:'rU' 5 月 15 日 21:47:29 JavaWorkstation gridstore[3260]:停止 gridstore 服务: 5 月 15 日 21:47:31 JavaWorkstation gridstore[3293]: . 5 月 15 日 21:47:31 JavaWorkstation gridstore[3293]:该节点已从 GridDB 集群中离开。 5 月 15 日 21:47:34 JavaWorkstation gridstore[3260]:已停止。 5 月 15 日 21:47:34 JavaWorkstation gridstore[3260]:F01002:Startnode 错误 5 月 15 日 21:47:34 JavaWorkstation gridstore[3260]: [ 失败 ] 5 月 15 日 21:47:34 JavaWorkstation systemd[1]:gridstore.service:控制进程已退出,>code=exited,status=1/FAILURE 5 月 15 日 21:47:34 JavaWorkstation systemd[1]:gridstore.service:失败,结果为“退出代码”。 5 月 15 日 21:47:34 JavaWorkstation systemd[1]:无法启动 gridstore.service - GridDB 数据库>服务器..

[

$ sudo journalctl -xeu gridstore.service
命令的日志]:

5 月 15 日 21:47:29 JavaWorkstation gridstore[3277]:ValueError:无效模式:'rU' 5 月 15 日 21:47:29 JavaWorkstation gridstore[3260]:停止 gridstore 服务: 5 月 15 日 21:47:31 JavaWorkstation gridstore[3293]: . 5 月 15 日 21:47:31 JavaWorkstation gridstore[3293]:该节点已从 GridDB 集群中离开。 5 月 15 日 21:47:34 JavaWorkstation gridstore[3260]:已停止。 5 月 15 日 21:47:34 JavaWorkstation gridstore[3260]:F01002:Startnode 错误 5 月 15 日 21:47:34 JavaWorkstation gridstore[3260]: [ 失败 ] 5 月 15 日 21:47:34 JavaWorkstation systemd[1]:gridstore.service:控制进程已退出,代码=已退出,状态=1/FAILURE ░░ 主题:单元进程退出 ░░ 定义者:systemd ░░ 支持:http://www.ubuntu.com/support ░░ ░░ 属于单元gridstore.service 的ExecStart= 进程已退出。 ░░ ░░ 进程的退出代码为“exited”,退出状态为1。 5 月 15 日 21:47:34 JavaWorkstation systemd[1]:gridstore.service:失败,结果为“退出代码”。 ░░ 主题:单元失败 ░░ 定义者:systemd ░░ 支持:http://www.ubuntu.com/support ░░ ░░ 单元 gridstore.service 已进入“失败”状态,结果为“退出代码”。 5 月 15 日 21:47:34 JavaWorkstation systemd[1]:无法启动 gridstore.service - GridDB 数据库服务器。 ░░ 主题:单元 gridstore.service 的启动作业失败 ░░ 定义者:systemd ░░ 支持:http://www.ubuntu.com/support ░░ ░░ 单元 gridstore.service 的启动作业已完成但失败。 ░░ ░░ 作业标识符为1909,作业结果失败。

任何帮助将非常感激!

server griddb
1个回答
0
投票

看起来大写

U
已被弃用!

因此,我从位于此目录

U
的文件的fp = open(path, 'Ur')
行中删除了大写字母
util.py
/usr/griddb-5.5.0/bin/util.py
它就像一个魅力! GridDB服务器节点启动成功!

这是我正在运行的服务器的日志:

● gridstore.service - GridDB 数据库服务器。 已加载:已加载(/usr/lib/systemd/system/gridstore.service;已启用;预设:已启用) 活跃:自 PKT 星期四 2024-05-16 22:18:06 起活跃(运行); 1分55秒前 进程:206 ExecStart=/usr/griddb/bin/gridstore start(代码=已退出,状态=0/SUCCESS) 主PID:373(gsserver) 任务:35(限制:9487) 内存:76.5M() CGroup:/system.slice/gridstore.service └─373 /usr/bin/gsserver --conf /var/lib/gridstore/conf

5 月 16 日 22:18:00 JavaWorkstation systemd[1]:启动 gridstore.service - GridDB 数据库服务器.... 5 月 16 日 22:18:01 JavaWorkstation gridstore[206]:启动 gridstore 服务: 5 月 16 日 22:18:06 JavaWorkstation gridstore[318]:... 5月16日22:18:06 JavaWorkstation gridstore[318]:GridDB节点已启动。 5 月 16 日 22:18:06 JavaWorkstation gridstore[206]: [ 确定 ] 5 月 16 日 22:18:06 JavaWorkstation systemd[1]:启动 gridstore.service - GridDB 数据库服务器..

© www.soinside.com 2019 - 2024. All rights reserved.