[2024-05-28 09:35:33.250] [ERROR] Traceback (most recent call last):
[2024-05-28 09:35:33.250] [ERROR] File “pymysql/connections.py”, line 613, in connect
[2024-05-28 09:35:33.250] [ERROR] File “socket.py”, line 808, in create_connection
[2024-05-28 09:35:33.250] [ERROR] File “socket.py”, line 796, in create_connection
[2024-05-28 09:35:33.250] [ERROR] ConnectionRefusedError: [Errno 111] Connection refused
[2024-05-28 09:35:33.250] [ERROR]
[2024-05-28 09:35:33.250] [ERROR] During handling of the above exception, another exception occurred:
[2024-05-28 09:35:33.250] [ERROR]
[2024-05-28 09:35:33.250] [ERROR] Traceback (most recent call last):
[2024-05-28 09:35:33.250] [ERROR] File “concurrent/futures/thread.py”, line 57, in run
[2024-05-28 09:35:33.251] [ERROR] File “service/handler/deployment_handler.py”, line 320, in _do_install
[2024-05-28 09:35:33.251] [ERROR] File “core.py”, line 2117, in _start_cluster
[2024-05-28 09:35:33.251] [ERROR] File “core.py”, line 186, in call_plugin
[2024-05-28 09:35:33.251] [ERROR] File “_plugin.py”, line 346, in call
[2024-05-28 09:35:33.251] [ERROR] File “_plugin.py”, line 304, in _new_func
[2024-05-28 09:35:33.251] [ERROR] File “/home/cqfy/.obd/plugins/oceanbase-ce/4.2.2.0/connect.py”, line 550, in connect
[2024-05-28 09:35:33.251] [ERROR] cursor = Cursor(ip=server.ip, port=server_config[‘mysql_port’], tenant=’’, password=password if password is not None else ‘’, stdio=stdio)
[2024-05-28 09:35:33.251] [ERROR] File “_stdio.py”, line 899, in wrapper
[2024-05-28 09:35:33.251] [ERROR] File “/home/cqfy/.obd/plugins/oceanbase-ce/4.2.2.0/connect.py”, line 442, in init
[2024-05-28 09:35:33.251] [ERROR] self._connect()
[2024-05-28 09:35:33.251] [ERROR] File “/home/cqfy/.obd/plugins/oceanbase-ce/4.2.2.0/connect.py”, line 472, in _connect
[2024-05-28 09:35:33.251] [ERROR] self.db = mysql.connect(host=self.ip, user=self.user, port=int(self.port), password=str(self.password),
[2024-05-28 09:35:33.251] [ERROR] File “pymysql/connections.py”, line 353, in init
[2024-05-28 09:35:33.251] [ERROR] File “pymysql/connections.py”, line 664, in connect
[2024-05-28 09:35:33.251] [ERROR] pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘149.0.167.67’ ([Errno 111] Connection refused)”)
[2024-05-28 09:35:33.251] [ERROR]
[2024-05-28 09:35:36.255] [ERROR] OBD-1006: Failed to connect to oceanbase-ce
[2024-05-28 09:35:36.255] [DEBUG] - sub connect ref count to 0
[2024-05-28 09:35:36.255] [DEBUG] - export connect
[2024-05-28 09:45:39.527] [DEBUG] – connect 149.0.167.67 -P2883 -umeta@ocp -pY1YCG6P7gu
[2024-05-28 09:45:41.526] [DEBUG] – connect 149.0.167.67 -P2883 -umeta@ocp -pY1YCG6P7gu
[2024-05-28 09:45:43.524] [ERROR] 149.0.167.67: failed to connect meta db
[2024-05-28 09:45:43.525] [INFO] [ERROR] 149.0.167.67: failed to connect meta db
[2024-05-28 09:45:43.525] [INFO]
[2024-05-28 09:45:43.525] [DEBUG] - sub start ref count to 0
[2024-05-28 09:45:43.525] [DEBUG] - export start
[2024-05-28 09:45:43.525] [ERROR] ocp-express start failed
检查下文件目录权限是否正常
OB应该没正常启动,可以单独拉起看下是否正常。
obd cluster start 部署名称 -c oceanbase-ce
如果不正常,需要看下observer.log日志看下(ob安装目录下的log)。