【 使用环境 】测试环境
【 OB or 其他组件 】(OceanBase All in One)4.5.0
【 使用版本 】社区版 4.5.0
【问题描述】部署过程中,安装执行命令obd demo 时报OBD-1007错误。按照系统提示1、已执行echo -e “* soft nofile 20000\n* hard nofile 20000” >> /etc/security/limits.d/nofile.conf,执行前nofile.conf里已有soft nofile 655350 hard nofile 655350
2、确认/etc/ssh/sshd_config里 UsePAM 是yes。
再次执行命令obd demo 报同样的错误。
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
[ERROR] OBD-1007: (127.0.0.1) The value of the ulimit parameter “open files” must not be less than 20000 (Current value: 1024), Please execute echo -e "* soft nofile 20000\n* hard nofile 20000" >> /etc/security/limits.d/nofile.conf as root in 127.0.0.1. if it dosen’t work, please check whether UsePAM is yes in /etc/ssh/sshd_config.
[WARN] OBD-1007: (127.0.0.1) The recommended number of stack size is unlimited (Current value: 8192)
[WARN] OBD-1012: (127.0.0.1) clog and data use the same disk (/run)
You can use the obd cluster init4env demo command to automatically configure system parametersSee> 【SOP系列 22 】——故障诊断第一步(自助诊断和诊断信息收集)…
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!