Postgres is failing with 'could not open relation mapping file “global/pg_filenode.map” '

后端 未结 11 1039
醉话见心
醉话见心 2020-12-12 23:49

I\'m having an issue with my install of postgres in my development environment and I need some help diagnosing it. I haven\'t yet had any luck in tracking down a solution.

11条回答
  •  抹茶落季
    2020-12-13 00:30

    I had the same error psql: FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory.

    Thanks for note #2 above: 'Kill the processes for 9.0.3'

    I previously configured and compiled PostgreSQL. I then decided to reconfigure, gmake, gmake install with different file paths. The newly compiled program wasn't finding 'pg_filenode.map' in the expected filepath. Killing the running postgres process, emptying pgsql/data, and doing initdb again allowed creation of a new database.

提交回复
热议问题