Skip to content

由于内核问题,导致PG启动失败(error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/15/bin/initdb") #1061

@ZDF64

Description

@ZDF64

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • [x ] 私有部署版本

问题描述
按照docker-compose部署方法启动后,打印日志发现后台报错
pg | popen failure: Cannot allocate memory
pg | initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/15/bin/initdb"

这个问题导致ankane/pgvector:v0.5.0反复重启,无法正常运作
image

但同样,我在windows环境中部署则没有发生问题
FastGPT功能正常,log中也没有报错信息
复现步骤
环境:CentOS 7.9
image

预期结果

相关截图
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions