新人求助:MacOs docker安装就绪后,oceanbase启动失败

【 使用环境 】测试环境
【 OB】
【 使用版本 】docker 4.34.3. oceanbase-ce: oceanbase-ce-421.x86
【问题描述】2024-10-13 19:08:42 /////////////////////// STEP 1: Config Generation ///////////////////////
2024-10-13 19:08:42 oceanbase-ce docker in mini mode
2024-10-13 19:08:42 /////////////////////// phase end: 0.053 s ///////////////////////
2024-10-13 19:08:42 /////////////////////// STEP 2: Ob-deploy mirror clone ///////////////////////
2024-10-13 19:08:42 name: jq
2024-10-13 19:08:42 version: 1.6
2024-10-13 19:08:42 release:15.an8
2024-10-13 19:08:42 arch: x86_64
2024-10-13 19:08:42 md5: 89ff72f125e93deaff15103214135697dc152bec
2024-10-13 19:08:42 size: 450301
2024-10-13 19:08:42 add /root/pkg/jq-1.6-15.an8.x86_64.rpm to local mirror
2024-10-13 19:08:42 name: ob-configserver
2024-10-13 19:08:42 version: 1.0.0
2024-10-13 19:08:42 release:2.el7
2024-10-13 19:08:42 arch: x86_64
2024-10-13 19:08:42 md5: feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
2024-10-13 19:08:42 size: 24259515
2024-10-13 19:08:42 add /root/pkg/ob-configserver-1.0.0-2.el7.x86_64.rpm to local mirror
2024-10-13 19:08:42 name: obagent
2024-10-13 19:08:42 version: 4.2.2
2024-10-13 19:08:42 release:100000042024011120.el7
2024-10-13 19:08:42 arch: x86_64
2024-10-13 19:08:42 md5: 19739a07a12eab736aff86ecf357b1ae660b554e
2024-10-13 19:08:42 size: 72919140
2024-10-13 19:08:42 add /root/pkg/obagent-4.2.2-100000042024011120.el7.x86_64.rpm to local mirror
2024-10-13 19:08:42 name: oceanbase-ce
2024-10-13 19:08:42 version: 4.2.1.7
2024-10-13 19:08:42 release:107000162024060611.el7
2024-10-13 19:08:42 arch: x86_64
2024-10-13 19:08:42 md5: f69097e5f6056a0f6949867a799eea3724a905aa
2024-10-13 19:08:42 size: 452109379
2024-10-13 19:08:42 add /root/pkg/oceanbase-ce-4.2.1.7-107000162024060611.el7.x86_64.rpm to local mirror
2024-10-13 19:08:42 name: oceanbase-ce-libs
2024-10-13 19:08:42 version: 4.2.1.7
2024-10-13 19:08:42 release:107000162024060611.el7
2024-10-13 19:08:42 arch: x86_64
2024-10-13 19:08:42 md5: a172d6c44ded2b9999fd09ca67cd6b60b68b1abe
2024-10-13 19:08:42 size: 468528
2024-10-13 19:08:42 add /root/pkg/oceanbase-ce-libs-4.2.1.7-107000162024060611.el7.x86_64.rpm to local mirror
2024-10-13 19:08:42 name: oniguruma
2024-10-13 19:08:42 version: 6.8.2
2024-10-13 19:08:42 release:3.0.1.an8
2024-10-13 19:08:42 arch: x86_64
2024-10-13 19:08:42 md5: 777ef3bb1a900f4019b44be1f588f6f8d28f4add
2024-10-13 19:08:42 size: 553335
2024-10-13 19:08:42 add /root/pkg/oniguruma-6.8.2-3.0.1.an8.x86_64.rpm to local mirror
2024-10-13 19:08:42 Trace ID: 8211bb9c-8953-11ef-ad51-0242ac110002
2024-10-13 19:08:42 If you want to view detailed obd logs, please run: obd display-trace 8211bb9c-8953-11ef-ad51-0242ac110002
2024-10-13 19:08:43 ±---------------------------------------------------------------------------------------------------------+
2024-10-13 19:08:43 | local Package List |
2024-10-13 19:08:43 ±------------------±--------±-----------------------±-------±-----------------------------------------+
2024-10-13 19:08:43 | name | version | release | arch | md5 |
2024-10-13 19:08:43 ±------------------±--------±-----------------------±-------±-----------------------------------------+
2024-10-13 19:08:43 | jq | 1.6 | 15.an8 | x86_64 | 89ff72f125e93deaff15103214135697dc152bec |
2024-10-13 19:08:43 | ob-configserver | 1.0.0 | 2.el7 | x86_64 | feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0 |
2024-10-13 19:08:43 | obagent | 4.2.2 | 100000042024011120.el7 | x86_64 | 19739a07a12eab736aff86ecf357b1ae660b554e |
2024-10-13 19:08:43 | oceanbase-ce | 4.2.1.7 | 107000162024060611.el7 | x86_64 | f69097e5f6056a0f6949867a799eea3724a905aa |
2024-10-13 19:08:43 | oceanbase-ce-libs | 4.2.1.7 | 107000162024060611.el7 | x86_64 | a172d6c44ded2b9999fd09ca67cd6b60b68b1abe |
2024-10-13 19:08:43 | oniguruma | 6.8.2 | 3.0.1.an8 | x86_64 | 777ef3bb1a900f4019b44be1f588f6f8d28f4add |
2024-10-13 19:08:43 ±------------------±--------±-----------------------±-------±-----------------------------------------+
2024-10-13 19:08:43 Trace ID: 82827fa8-8953-11ef-be0d-0242ac110002
2024-10-13 19:08:43 If you want to view detailed obd logs, please run: obd display-trace 82827fa8-8953-11ef-be0d-0242ac110002
2024-10-13 19:08:43 /////////////////////// phase end: 1.506 s ///////////////////////
2024-10-13 19:08:43 /////////////////////// STEP 3: Ob-deploy deploy ///////////////////////
2024-10-13 19:08:44 Local deploy is empty
2024-10-13 19:08:44 Trace ID: 82f36434-8953-11ef-b2d1-0242ac110002
2024-10-13 19:08:44 If you want to view detailed obd logs, please run: obd display-trace 82f36434-8953-11ef-b2d1-0242ac110002
2024-10-13 19:08:44 /////////////////////// STEP 4: Ob-deploy autodeploy ///////////////////////
2024-10-13 19:08:45 Dev Mode: ON
2024-10-13 19:08:45 Trace ID: 8362ddbe-8953-11ef-ae42-0242ac110002
2024-10-13 19:08:45 If you want to view detailed obd logs, please run: obd display-trace 8362ddbe-8953-11ef-ae42-0242ac110002
2024-10-13 19:08:45 Package oceanbase-ce-4.2.1.7-107000162024060611.el7 is available.
2024-10-13 19:08:45 Package obagent-4.2.2-100000042024011120.el7 is available.
2024-10-13 19:09:05

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -

install oceanbase-ce-4.2.1.7 for local \

install oceanbase-ce-4.2.1.7 for local |

install oceanbase-ce-4.2.1.7 for local /

install oceanbase-ce-4.2.1.7 for local -
install oceanbase-ce-4.2.1.7 for local ok
2024-10-13 19:09:11

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |

install obagent-4.2.2 for local /

install obagent-4.2.2 for local -

install obagent-4.2.2 for local \

install obagent-4.2.2 for local |
install obagent-4.2.2 for local ok
2024-10-13 19:09:12

Cluster param config check -

Cluster param config check \

Cluster param config check |

Cluster param config check /

Cluster param config check -

Cluster param config check
Cluster param config check ok
2024-10-13 19:09:12

Open ssh connection -

Open ssh connection
Open ssh connection ok
2024-10-13 19:09:12

Generate obagent configuration -

Generate obagent configuration
Generate obagent configuration ok
2024-10-13 19:09:12

Generate observer configuration -

Generate observer configuration
Generate observer configuration ok
2024-10-13 19:09:12 ±-------------------------------------------------------------------------------------------+
2024-10-13 19:09:12 | Packages |
2024-10-13 19:09:12 ±-------------±--------±-----------------------±-----------------------------------------+
2024-10-13 19:09:12 | Repository | Version | Release | Md5 |
2024-10-13 19:09:12 ±-------------±--------±-----------------------±-----------------------------------------+
2024-10-13 19:09:12 | oceanbase-ce | 4.2.1.7 | 107000162024060611.el7 | f69097e5f6056a0f6949867a799eea3724a905aa |
2024-10-13 19:09:12 | obagent | 4.2.2 | 100000042024011120.el7 | 19739a07a12eab736aff86ecf357b1ae660b554e |
2024-10-13 19:09:12 ±-------------±--------±-----------------------±-----------------------------------------+
2024-10-13 19:09:12

Repository integrity check -

Repository integrity check
Repository integrity check ok
2024-10-13 19:09:12

Load param plugin -

Load param plugin
Load param plugin ok
2024-10-13 19:09:12

Open ssh connection -

Open ssh connection
Open ssh connection ok
2024-10-13 19:09:13

Parameter check -

Parameter check
Parameter check ok
2024-10-13 19:09:13

Cluster status check -

Cluster status check
Cluster status check ok
2024-10-13 19:09:13

Initializes observer work home -

Initializes observer work home
Initializes observer work home ok
2024-10-13 19:09:13

Initializes obagent work home -

Initializes obagent work home
Initializes obagent work home ok
2024-10-13 19:09:14

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install -

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install \

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install |

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install /

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install -

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install \

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install |

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install /

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install -

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install \

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install |

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install /
Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository install ok
2024-10-13 19:09:15

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository lib check -

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository lib check
Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository lib check !!
2024-10-13 19:09:15

Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository install -

Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository install \

Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository install |

Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository install /
Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository install ok
2024-10-13 19:09:15

Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository lib check -

Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository lib check
Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository lib check ok
2024-10-13 19:09:15 Try to get lib-repository
2024-10-13 19:09:15 Package oceanbase-ce-libs-4.2.1.7-107000162024060611.el7 is available.
2024-10-13 19:09:15

install oceanbase-ce-libs-4.2.1.7 for local -

install oceanbase-ce-libs-4.2.1.7 for local
install oceanbase-ce-libs-4.2.1.7 for local ok
2024-10-13 19:09:15

Remote oceanbase-ce-libs-4.2.1.7-107000162024060611.el7-a172d6c44ded2b9999fd09ca67cd6b60b68b1abe repository install -

Remote oceanbase-ce-libs-4.2.1.7-107000162024060611.el7-a172d6c44ded2b9999fd09ca67cd6b60b68b1abe repository install
Remote oceanbase-ce-libs-4.2.1.7-107000162024060611.el7-a172d6c44ded2b9999fd09ca67cd6b60b68b1abe repository install ok
2024-10-13 19:09:15

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository lib check -

Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository lib check
Remote oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa repository lib check ok
2024-10-13 19:09:15 obcluster deployed
2024-10-13 19:09:16

Get local repositories -

Get local repositories
Get local repositories ok
2024-10-13 19:09:16

Search plugins -

Search plugins
Search plugins ok
2024-10-13 19:09:16

Load cluster param plugin -

Load cluster param plugin
Load cluster param plugin ok
2024-10-13 19:09:16

Open ssh connection -

Open ssh connection
Open ssh connection ok
2024-10-13 19:09:16

Check before start observer -

Check before start observer \

Check before start observer |
Check before start observer ok
2024-10-13 19:09:16 [WARN] OBD-1011: (127.0.0.1) The recommended value of fs.aio-max-nr is 1048576 (Current value: 65536)
2024-10-13 19:09:16 [WARN] OBD-1007: (127.0.0.1) The recommended number of core file size is unlimited (Current value: 0)
2024-10-13 19:09:16 [WARN] OBD-1007: (127.0.0.1) The recommended number of stack size is unlimited (Current value: 8192)
2024-10-13 19:09:16 [WARN] OBD-1017: (127.0.0.1) The value of the “vm.max_map_count” must be within [327600, 1310720] (Current value: 262144, Recommended value: 655360)
2024-10-13 19:09:16 [WARN] OBD-1017: (127.0.0.1) The value of the “vm.overcommit_memory” must be 0 (Current value: 1, Recommended value: 0)
2024-10-13 19:09:16 [WARN] OBD-1017: (127.0.0.1) The value of the “fs.file-max” must be greater than 6573688 (Current value: 1223746, Recommended value: 6573688)
2024-10-13 19:09:16 [WARN] OBD-1012: (127.0.0.1) clog and data use the same disk (/)
2024-10-13 19:09:16
2024-10-13 19:09:16

Check before start obagent -

Check before start obagent
Check before start obagent ok
2024-10-13 19:09:17

Start observer -

Start observer \

Start observer |
Start observer ok
2024-10-13 19:09:20

observer program health check -

observer program health check \

observer program health check |

observer program health check /

observer program health check -

observer program health check \

observer program health check |

observer program health check /

observer program health check -

observer program health check \

observer program health check |

observer program health check /

observer program health check -

observer program health check \

observer program health check |

observer program health check /

observer program health check -

observer program health check \

observer program health check |

observer program health check /

observer program health check -

observer program health check \

observer program health check |

observer program health check /
observer program health check x
2024-10-13 19:09:20 [WARN] OBD-2002: Failed to start 127.0.0.1 observer
2024-10-13 19:09:20 [ERROR] oceanbase-ce start failed
2024-10-13 19:09:20 See https://www.oceanbase.com/product/ob-deployer/error-codes .
2024-10-13 19:09:20 Trace ID: 83d4756e-8953-11ef-9161-0242ac110002
2024-10-13 19:09:20 If you want to view detailed obd logs, please run: obd display-trace 83d4756e-8953-11ef-9161-0242ac110002
2024-10-13 19:09:20

/////////////////////// phase end: 35.836 s ///////////////////////
2024-10-13 19:09:20 /////////////////////// STEP 5: Ob-deploy Create Tenant ///////////////////////
2024-10-13 19:09:20 Deploy “obcluster” is deployed
2024-10-13 19:09:20 See https://www.oceanbase.com/product/ob-deployer/error-codes .
2024-10-13 19:09:20 Trace ID: 98bc61b2-8953-11ef-8b0d-0242ac110002
2024-10-13 19:09:20 If you want to view detailed obd logs, please run: obd display-trace 98bc61b2-8953-11ef-8b0d-0242ac110002
2024-10-13 19:09:21 deploy failed!

【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):

【SOP系列 22 】——故障诊断第一步(自助诊断和诊断信息收集)

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

1 个赞

像这参数,MAc压根就没有,也改不了

1 个赞

根据您提供的日志信息,OceanBase 在启动过程中遇到了一些问题,并且最终启动失败。从日志中可以看到,启动失败的原因在于 observer program health check 步骤出现了异常,具体错误信息为:

2024-10-13 19:09:20 [WARN] OBD-2002: Failed to start 127.0.0.1 observer
2024-10-13 19:09:20 [ERROR] oceanbase-ce start failed

此外,日志中还记录了一些警告信息,这些警告信息可能与启动失败有关:

[WARN] OBD-1011: (127.0.0.1) The recommended value of fs.aio-max-nr is 1048576 (Current value: 65536)
[WARN] OBD-1007: (127.0.0.1) The recommended number of core file size is unlimited (Current value: 0)
[WARN] OBD-1007: (127.0.0.1) The recommended number of stack size is unlimited (Current value: 8192)
[WARN] OBD-1017: (127.0.0.1) The value of the "vm.max_map_count" must be within [327600, 1310720] (Current value: 262144, Recommended value: 655360)
[WARN] OBD-1017: (127.0.0.1) The value of the "vm.overcommit_memory" must be 0 (Current value: 1, Recommended value: 0)
[WARN] OBD-1017: (127.0.0.1) The value of the "fs.file-max" must be greater than 6573688 (Current value: 1223746, Recommended value: 6573688)
[WARN] OBD-1012: (127.0.0.1) clog and data use the same disk (/)

这些警告信息表明当前系统的某些配置参数不符合 OceanBase 的推荐值,这可能导致 OceanBase 启动失败。您可以尝试调整这些参数后再重新启动 OceanBase。

以下是调整这些参数的方法:

  1. 调整 fs.aio-max-nr 参数:

    echo 1048576 > /proc/sys/fs/aio-max-nr
    
  2. 设置核心转储文件大小为无限制:

    ulimit -c unlimited
    
  3. 设置堆栈大小为无限制:

    ulimit -s unlimited
    
  4. 调整 vm.max_map_count 参数:

    echo 655360 > /proc/sys/vm/max_map_count
    
  5. 调整 vm.overcommit_memory 参数:

    echo 0 > /proc/sys/vm/overcommit_memory
    
  6. 调整 fs.file-max 参数:

    echo 6573688 > /proc/sys/fs/file-max
    
  7. 如果可能的话,尽量将 clog 和 data 放在不同的磁盘上。

调整完这些参数后,您可以再次尝试启动 OceanBase。如果问题仍然存在,建议您查看详细的 obd 日志,可以通过运行 obd display-trace <trace_id> 命令来查看,其中 <trace_id> 是日志中提到的 Trace ID。如果问题依然无法解决,建议您联系 OceanBase 的技术支持或社区寻求进一步的帮助。 [2]

更多信息请查看:

  1. 快速体验 OceanBase 社区版
  2. OceanBase 数据库社区版部署概述
  3. 0001 ~ 3999
1 个赞

那些是内核参数,你部署的是obd demo集群么。docker内存给了多少


按操作手册下载的镜像,应该不是集群。

docker的配置应该满足要求了

obd cluster list 看一下当前集群状态
单独其他ob数据库:obd cluster start 集群名 -c oceanbase-ce

根据您提供的截图和 OCR 文本信息,您是在尝试通过 Docker 来部署 OceanBase 数据库,并且已经按照操作手册下载了相应的镜像。您提到 Docker 的配置应该已经满足了要求,但从日志中我们看到有一些系统参数没有达到 OceanBase 的推荐值,这可能是导致启动失败的原因之一。

分析与建议

1. 系统参数调整

从日志中我们可以看到有以下几个警告:

  • fs.aio-max-nr 推荐值为 1048576,当前值为 65536。
  • 核心文件大小应为无限制,当前值为 0。
  • 堆栈大小应为无限制,当前值为 8192。
  • vm.max_map_count 推荐值为 655360,当前值为 262144。
  • vm.overcommit_memory 推荐值为 0,当前值为 1。
  • fs.file-max 推荐值大于 6573688,当前值为 1223746。
  • clogdata 使用同一磁盘。

这些参数的调整方法已经在之前的回答中提到过,这里不再赘述。确保这些参数调整后,再尝试启动 OceanBase。

2. Docker 资源限制

您提供的截图显示 Docker 的资源配置如下:

  • CPU 限制:12
  • 内存限制:12 GB
  • Swap:3 GB

这些配置看起来是足够的,但需要注意的是,OceanBase 对于系统资源的要求较高,特别是在单机部署的情况下。确保 Docker 容器有足够的资源是非常重要的。

3. 文件系统限制

您提到 clogdata 使用同一磁盘,这可能会导致性能问题。如果可能的话,建议将它们放在不同的磁盘上,以提高 I/O 性能。

4. 其他建议

  • 确保您的系统环境满足 OceanBase 的最低要求。虽然您提到 Docker 的配置已经满足要求,但还是建议检查一下系统本身的资源情况。
  • 如果问题仍然存在,建议查看详细的 obd 日志,通过运行 obd display-trace <trace_id> 命令来获取更多的调试信息。
  • 如果以上方法都无法解决问题,建议联系 OceanBase 的技术支持或社区寻求进一步的帮助。

希望这些建议能够帮助您解决问题。如果还有其他疑问或需要进一步的帮助,请随时提问。

检索到的文档如下:

  1. 使用 OCP 部署单机集中式 OceanBase 数据库
  2. 准备安装包

(小助手的答复已结束,如未能解决您的问题,请继续提问并等待其他同学的回复,谢谢!)

当前mac架构是啥样 x86的要用4.9之前的Docker


要用2022.6.2以前的docker??

用mac和windows都试过了,修饰x86的

你试试换个低版本的docker

你好,问题解决了么

windows 重装低版本docker可以用了,谢谢