OceanBase DataBase 部署失败

[2024-10-23 22:15:24.568] [DEBUG] – root@1.92.131.175 execute: strings /soft/ob/ob/oceanbase/etc/observer.conf.bin
[2024-10-23 22:15:24.630] [DEBUG] – exited code 1, error output:
[2024-10-23 22:15:24.630] [DEBUG] strings: ‘/soft/ob/ob/oceanbase/etc/observer.conf.bin’: No such file
[2024-10-23 22:15:24.630] [DEBUG]
[2024-10-23 22:15:24.630] [DEBUG] –
[2024-10-23 22:15:24.630] [DEBUG] – strings: ‘/soft/ob/ob/oceanbase/etc/observer.conf.bin’: No such file
[2024-10-23 22:15:24.630] [DEBUG]
[2024-10-23 22:15:24.630] [DEBUG] – root@1.92.131.175 execute: cat /soft/ob/ob/oceanbase/run/obshell.pid
[2024-10-23 22:15:24.692] [DEBUG] – exited code 1, error output:
[2024-10-23 22:15:24.692] [DEBUG] cat: /soft/ob/ob/oceanbase/run/obshell.pid: No such file or directory
[2024-10-23 22:15:24.693] [DEBUG]
[2024-10-23 22:15:24.693] [DEBUG] – root@1.92.131.175 export OB_ROOT_PASSWORD=’’******’’
[2024-10-23 22:15:24.693] [DEBUG] – start obshell: cd /soft/ob/ob/oceanbase; /soft/ob/ob/oceanbase/bin/obshell admin start --ip 1.92.131.175 --port 2886
[2024-10-23 22:15:24.693] [DEBUG] – root@1.92.131.175 execute: cd /soft/ob/ob/oceanbase; /soft/ob/ob/oceanbase/bin/obshell admin start --ip 1.92.131.175 --port 2886
[2024-10-23 22:15:29.805] [DEBUG] – exited code 29, error output:
[2024-10-23 22:15:29.805] [DEBUG] e[31m[FAILED]e[0m create tcp listerner failed: listen tcp 1.92.131.175:2886: bind: cannot assign requested address
[2024-10-23 22:15:29.805] [DEBUG]
[2024-10-23 22:15:29.805] [DEBUG] obshell server exited with code 21, please check obshell.log for more details
[2024-10-23 22:15:29.805] [DEBUG]
[2024-10-23 22:15:29.805] [ERROR] 1.92.131.175 obshell failed
[2024-10-23 22:15:29.805] [DEBUG] - sub bootstrap ref count to 0
[2024-10-23 22:15:29.805] [DEBUG] - export bootstrap
[2024-10-23 22:15:29.805] [DEBUG] - plugin oceanbase-ce-py_script_bootstrap-4.2.2.0 result: None
[2024-10-23 22:15:29.806] [INFO] [ERROR] 1.92.131.175 obshell failed
[2024-10-23 22:15:29.806] [INFO]
[2024-10-23 22:15:29.806] [ERROR] Cluster init failed

2 个赞

您的部署方式是高可用部署的吗? 组件是怎么规划的呢?

建议:如果是高可用部署方案的话,将各个组件的部署分散开来,尽量少部署组件

比如obagent 和obproxy 先别部署,后期都能手工添加上的。

确认下IP地址

ifconfig -a 看下

云 ecs 服务器, 有一个公网地址跟 私有地址, ob 需要怎么配置呢

部署OB时使用私有地址就可以了