obd日志(截取部分)
[DEBUG] -- connect 172.16.16.16 -P3306 -uroot -p
[ERROR] Traceback (most recent call last):
[ERROR] File "/root/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 614, in connect
[ERROR] (self.host, self.port), self.connect_timeout, **kwargs
[ERROR] File "socket.py", line 724, in create_connection
[ERROR] File "socket.py", line 713, in create_connection
[ERROR] ConnectionRefusedError: [Errno 111] Connection refused
[ERROR]
[ERROR] During handling of the above exception, another exception occurred:
[ERROR]
[ERROR] Traceback (most recent call last):
[ERROR] File "core.py", line 1446, in start_cluster
[ERROR] File "core.py", line 1541, in _start_cluster
[ERROR] File "_plugin.py", line 242, in __call__
[ERROR] File "_plugin.py", line 216, in _new_func
[ERROR] File "/root/.obd/plugins/oceanbase-ce/3.1.0/connect.py", line 65, in connect
[ERROR] db, cursor = _connect(server.ip, server_config['mysql_port'], password if password is not None else '')
[ERROR] File "/root/.obd/plugins/oceanbase-ce/3.1.0/connect.py", line 42, in _connect
[ERROR] db = mysql.connect(host=ip, user=user, port=int(port), password=str(password), cursorclass=mysql.cursors.DictCursor)
[ERROR] File "/root/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 353, in __init__
[ERROR] self.connect()
[ERROR] File "/root/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 664, in connect
[ERROR] raise exc
[ERROR] pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '172.16.16.16' ([Errno 111] Connection refused)")
[ERROR]
[DEBUG] -- connect 172.16.16.53 -P3306 -uroot -p
[ERROR] Traceback (most recent call last):
[ERROR] File "/root/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 614, in connect
[ERROR] (self.host, self.port), self.connect_timeout, **kwargs
[ERROR] File "socket.py", line 724, in create_connection
[ERROR] File "socket.py", line 713, in create_connection
[ERROR] ConnectionRefusedError: [Errno 111] Connection refused
[ERROR]
[ERROR] During handling of the above exception, another exception occurred:
[ERROR]
[ERROR] Traceback (most recent call last):
[ERROR] File "core.py", line 1446, in start_cluster
[ERROR] File "core.py", line 1541, in _start_cluster
[ERROR] File "_plugin.py", line 242, in __call__
[ERROR] File "_plugin.py", line 216, in _new_func
[ERROR] File "/root/.obd/plugins/oceanbase-ce/3.1.0/connect.py", line 65, in connect
[ERROR] db, cursor = _connect(server.ip, server_config['mysql_port'], password if password is not None else '')
[ERROR] File "/root/.obd/plugins/oceanbase-ce/3.1.0/connect.py", line 42, in _connect
[ERROR] db = mysql.connect(host=ip, user=user, port=int(port), password=str(password), cursorclass=mysql.cursors.DictCursor)
[ERROR] File "/root/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 353, in __init__
[ERROR] self.connect()
[ERROR] File "/root/.oceanbase-all-in-one/obd/usr/obd/lib/site-packages/pymysql/connections.py", line 664, in connect
[ERROR] raise exc
[ERROR] pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '172.16.16.53' ([Errno 111] Connection refused)")
[ERROR]
[ERROR] [ERROR] OBD-1006: Failed to connect to oceanbase-ce
[DEBUG] - sub connect ref count to 0
[DEBUG] - export connect
[INFO] See https://www.oceanbase.com/product/ob-deployer/error-codes .