0-1
2023 年5 月 6 日 16:51
#1
【 使用环境 】测试环境
【 OB or 其他组件 】OB
【 使用版本 】4.1
【附件】
日志文件如下:
$ obd tool command myoceanbase log -c oceanbase-ce -s 127.0.0.1
Get local repositories and plugins ok
Open ssh connection ok
ssh
angel@127.0.0.1
总用量 76
-rw-r–r–. 1 angel angel 0 5月 6 16:29 election.log
-rw-r–r–. 1 angel angel 0 5月 6 16:29 election.log.wf
-rw-r–r–. 1 angel angel 77397 5月 6 16:29 observer.log
-rw-r–r–. 1 angel angel 0 5月 6 16:29 observer.log.wf
-rw-r–r–. 1 angel angel 0 5月 6 16:29 rootservice.log
-rw-r–r–. 1 angel angel 0 5月 6 16:29 rootservice.log.wf
-rw-r–r–. 1 angel angel 0 5月 6 16:29 trace.log
‘abrt-cli status’ timed out
玉楼
2023 年5 月 6 日 17:08
#3
麻烦提供下obd日志在~/.obd/log目录下 和 observer 日志
日志可能比较大,可以压缩
另外在提供下obd的版本(obd --version查看)还有安装OB的操作系统信息
0-1
2023 年5 月 6 日 19:35
#4
[2023-05-04 00:50:11.965] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - try to get share lock /home/angel/.obd/lock/global
[2023-05-04 00:50:11.965] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/global
, count 1
[2023-05-04 00:50:11.965] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - cmd: []
[2023-05-04 00:50:11.965] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - opts: {‘port’: 8680}
[2023-05-04 00:50:12.248] [91f69a0e-e9d2-11ed-9008-68071587795e] [INFO] start OBD WEB in 0.0.0.0:8680
[2023-05-04 00:50:12.249] [91f69a0e-e9d2-11ed-9008-68071587795e] [INFO] please open http://127.0.0.1:8680
[2023-05-04 00:50:12.250] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - set environment variable OBD_DISALBE_PARALLER_EXTRACT value True
[2023-05-04 00:50:12.326] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - mkdir /home/angel/.obd/mirror
[2023-05-04 00:50:12.326] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - mkdir /home/angel/.obd/mirror/remote
[2023-05-04 00:50:12.327] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - mkdir /home/angel/.obd/mirror/local
[2023-05-04 00:50:12.327] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - try to get exclusive lock /home/angel/.obd/lock/mirror_and_repo
[2023-05-04 00:50:12.327] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/mirror_and_repo
, count 1
[2023-05-04 00:50:12.327] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - load repo config: /home/angel/.obd/mirror/remote/OceanBase.repo
[2023-05-04 00:50:12.327] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - open /home/angel/.obd/mirror/remote/OceanBase.repo for r
[2023-05-04 00:50:12.328] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/mirror_and_repo
, count 2
[2023-05-04 00:50:12.328] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - load repo config: /home/angel/.obd/mirror/remote/OceanBase.repo
[2023-05-04 00:50:53.219] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - mkdir /home/angel/.obd/cluster/
[2023-05-04 00:50:53.219] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - mkdir /home/angel/.obd/config_parser/
[2023-05-04 00:50:53.220] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - try to get share lock /home/angel/.obd/lock/deploy_demo
[2023-05-04 00:50:53.220] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/deploy_demo
, count 1
[2023-05-04 00:50:53.221] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - try to get share lock /home/angel/.obd/lock/deploy_myoceanbase
[2023-05-04 00:50:53.221] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/deploy_myoceanbase
, count 1
[2023-05-04 00:50:55.478] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/mirror_and_repo
, count 3
[2023-05-04 00:50:55.479] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/mirror_and_repo
, count 4
[2023-05-04 00:50:55.479] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - load repo config: /home/angel/.obd/mirror/remote/OceanBase.repo
[2023-05-04 00:50:55.488] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/deploy_demo
, count 2
[2023-05-04 00:50:55.488] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/deploy_myoceanbase
, count 2
[2023-05-04 00:51:21.532] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - try to get exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
[2023-05-04 00:51:21.532] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
, count 1
[2023-05-04 00:51:28.031] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
, count 2
[2023-05-04 00:58:55.070] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
, count 3
[2023-05-04 00:59:04.642] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
, count 4
[2023-05-04 01:00:12.487] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
, count 5
[2023-05-04 01:00:12.650] [91f69a0e-e9d2-11ed-9008-68071587795e] [DEBUG] - exclusive lock /home/angel/.obd/lock/deploy_myoceanbase
, count 6
[2023-05-04 01:09:19.351] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - mkdir /home/angel/.obd/lock/
[2023-05-04 01:09:19.351] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - unknown lock mode
[2023-05-04 01:09:19.351] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - try to get share lock /home/angel/.obd/lock/global
[2023-05-04 01:09:19.351] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/global
, count 1
[2023-05-04 01:09:19.351] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - cmd: []
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - opts: {}
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO] Usage: obd cluster display [options]
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO]
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO] Options:
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO] -h, --help Show help and exit.
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO] -v, --verbose Activate verbose output.
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO]
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO] Trace ID: 3ddc58fc-e9d5-11ed-9d5e-68071587795e
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [INFO] If you want to view detailed obd logs, please run: obd display-trace 3ddc58fc-e9d5-11ed-9d5e-68071587795e
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - share lock /home/angel/.obd/lock/global release, count 0
[2023-05-04 01:09:19.352] [3ddc58fc-e9d5-11ed-9d5e-68071587795e] [DEBUG] - unlock /home/angel/.obd/lock/global
0-1
2023 年5 月 6 日 19:38
#5
$ obd --version
OceanBase Deploy: 2.0.0
REVISION: b438bf4f16d9a4c2a40ad67c2e9d10215495535e
BUILD_BRANCH: HEAD
BUILD_TIME: Mar 21 2023 14:19:40OURCE
Copyright (C) 2021 OceanBase
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
0-1
2023 年5 月 6 日 19:42
#6
CentOS Linux release 7.6.1810 (Core)
玉楼
2023 年5 月 10 日 17:44
#8
0-1:
observer.log
版本和OS是符合预期的。环境还在吗,还在的化可以提供下observer.log