【 使用环境 】 测试环境
【 OB or 其他组件 】
【 使用版本 】oceanbase-all-in-one-4.1.0.0-100120230323143519.el7.x86_64.tar.gz
【问题描述】启动服务报错。obd cluster start obtest
【复现路径】问题出现前后相关操作
【问题现象及影响】
[root@test03 conf]# obd cluster deploy obtest -c all-components.yaml
±-------------------------------------------------------------------------------------------+
| Packages |
±-------------±--------±-----------------------±-----------------------------------------+
| Repository | Version | Release | Md5 |
±-------------±--------±-----------------------±-----------------------------------------+
| oceanbase-ce | 4.1.0.0 | 100000192023032010.el7 | 8439ecf8db5e0649bd49671b41ea9e8c85756b63 |
| obproxy-ce | 4.1.0.0 | 7.el7 | 2a9d9bf67f179dcca2a8c9e7c77373d94e7e2abe |
| obagent | 1.3.0 | 22.el7 | d57fbb4962b2fbecb6282358c59295fdfba4d6ac |
| ocp-express | 1.0.0 | 100000432023032015.el7 | 42c6fc921063f24f9e1072d75bfa7f21f42146e3 |
±-------------±--------±-----------------------±-----------------------------------------+
Repository integrity check ok
Parameter check ok
Open ssh connection ok
Cluster status check ok
Initializes observer work home x
[ERROR] OBD-1002: Fail to init server1(172.31.0.15) home path: /opt/oceanbase-all-in-one is not empty.
Initializes obproxy work home ok
Initializes obagent work home x
[ERROR] OBD-1002: Fail to init server1(172.31.0.15) home path: /opt/oceanbase-all-in-one is not empty.
Initializes ocp-express work home x
[ERROR] OBD-1002: Fail to init 172.31.0.15 home path: /opt/oceanbase-all-in-one is not empty.
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: cbc8cc1c-df4f-11ed-998f-fa163e0a93c5
If you want to view detailed obd logs, please run: obd display-trace cbc8cc1c-df4f-11ed-998f-fa163e0a93c5
[root@test03 conf]#
[root@test03 conf]# obd cluster start obtest
Get local repositories ok
Search plugins ok
Open ssh connection ok
Load cluster param plugin ok
Check before start observer x
[WARN] OBD-1007: (172.31.0.15) The recommended number of open files is 655350 (Current value: 65535)
[ERROR] OBD-2000: (172.31.0.15) not enough memory. (Available: 1.6G, Need: 3.0G)
[WARN] OBD-1012: (172.31.0.15) clog and data use the same disk (/)
[ERROR] OBD-2003: (172.31.0.15) / not enough disk space. (Avail: 355.6G, Need: 394.0G)
Check before start obproxy ok
Check before start obagent ok
Check before start ocp-express x
[ERROR] OBD-1009: 172.31.0.15 ocp-express need config: [‘jdbc_url’, ‘jdbc_password’, ‘jdbc_username’, ‘ob_cluster_id’, ‘root_sys_password’, ‘server_addresses’, ‘agent_username’, ‘agent_password’]
[ERROR] OBD-4300: 172.31.0.15: failed to query java version, you may not have java installed
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: ef1f1e68-df50-11ed-8535-fa163e0a93c5
If you want to view detailed obd logs, please run: obd display-trace ef1f1e68-df50-11ed-8535-fa163e0a93c5
[root@test03 conf]#