开发者社区> 问答> 正文

在使用 OceanBase数据库obd启动集群,遇到异常怎么办?

obd启动集群,遇到异常[2024-04-16 14:23:58.034] [INFO] [ERROR] 192.168.0.51: failed to connect meta db
[2024-04-16 14:23:58.034] [INFO]
[2024-04-16 14:23:58.035] [DEBUG] - sub start ref count to 0
[2024-04-16 14:23:58.035] [DEBUG] - export start
[2024-04-16 14:23:58.035] [ERROR] ocp-express start failed
[2024-04-16 14:23:58.035] [DEBUG] - Call oceanbase-ce-py_script_display-3.1.0 for oceanbase-ce-4.1.0.0-101010022023051821.el7-21271468e0dee7aaf3d4eff4c4bf5e07421ef6fe
[2024-04-16 14:23:58.035] [DEBUG] - import display
[2024-04-16 14:23:58.037] [DEBUG] - add display ref count to 1
[2024-04-16 14:23:58.038] [INFO] Wait for observer init
[2024-04-16 14:23:58.039] [DEBUG] -- execute sql: select from oceanbase.__all_server. args: None
[2024-04-16 14:23:58.041] [DEBUG] -- OBD-5000: select
from oceanbase.all_server execute failed
[2024-04-16 14:23:58.042] [ERROR] Traceback (most recent call last):
[2024-04-16 14:23:58.042] [ERROR] File "core.py", line 1574, in start_cluster
[2024-04-16 14:23:58.042] [ERROR] File "core.py", line 1695, in _start_cluster
[2024-04-16 14:23:58.043] [ERROR] File "core.py", line 184, in call_plugin
[2024-04-16 14:23:58.043] [ERROR] File "_plugin.py", line 323, in
call
[2024-04-16 14:23:58.043] [ERROR] File "_plugin.py", line 285, in _new_func
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.obd/plugins/oceanbase-ce/3.1.0/display.py", line 37, in display
[2024-04-16 14:23:58.043] [ERROR] servers = cursor.fetchall('select * from oceanbase.
all_server', raise_exception=True, exc_level='verbose')
[2024-04-16 14:23:58.043] [ERROR] File "_stdio.py", line 885, in func_wrapper
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.obd/plugins/oceanbase-ce/3.1.0/connect.py", line 108, in fetchall
[2024-04-16 14:23:58.043] [ERROR] return self.execute(sql, args=args, execute_func='fetchall', raise_exception=raise_exception, exc_level=exc_level, stdio=stdio)
[2024-04-16 14:23:58.043] [ERROR] File "_stdio.py", line 885, in func_wrapper
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.obd/plugins/oceanbase-ce/3.1.0/connect.py", line 91, in execute
[2024-04-16 14:23:58.043] [ERROR] self.cursor.execute(sql, args)
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/cursors.py", line 148, in execute
[2024-04-16 14:23:58.043] [ERROR] result = self._query(query)
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/cursors.py", line 310, in _query
[2024-04-16 14:23:58.043] [ERROR] conn.query(q)
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 548, in query
[2024-04-16 14:23:58.043] [ERROR] self._affected_rows = self._read_query_result(unbuffered=unbuffered)
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 775, in _read_query_result
[2024-04-16 14:23:58.043] [ERROR] result.read()
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 1156, in read
[2024-04-16 14:23:58.043] [ERROR] first_packet = self.connection._read_packet()
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 725, in _read_packet
[2024-04-16 14:23:58.043] [ERROR] packet.raise_for_error()
[2024-04-16 14:23:58.043] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/protocol.py", line 221, in raise_for_error
[2024-04-16 14:23:58.044] [ERROR] err.raise_mysql_exception(self._data)
[2024-04-16 14:23:58.044] [ERROR] File "/home/oceanbase/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
[2024-04-16 14:23:58.044] [ERROR] raise errorclass(errno, errval)
[2024-04-16 14:23:58.044] [ERROR] pymysql.err.ProgrammingError: (1146, "Table 'oceanbase.__all_server' doesn't exist")
这是怎么回事

展开
收起
乐天香橙派 2024-04-20 12:44:24 42 0
来自:OceanBase
1 条回答
写回答
取消 提交回答
来源圈子
更多
收录在圈子:
+ 订阅
蚂蚁OceanBase数据库团队,用于OceanBase技术原理、运维经验和案例分享、对外交流。
问答排行榜
最热
最新

相关电子书

更多
DTCC 2022大会集锦《云原生一站式数据库技术与实践》 立即下载
阿里云瑶池数据库精要2022版 立即下载
2022 DTCC-阿里云一站式数据库上云最佳实践 立即下载