简体   繁体   English

无法连接数据库Postgres(9.2),错误文件“ base / 16384 / PG_VERSION”丢失

[英]Unable to connect Database Postgres(9.2) with error File “base/16384/PG_VERSION” is missing

Could not create connection; 无法建立连接; - nested throwable: (org.postgresql.util.PSQLException: FATAL: "base/16 384" is not a valid data directory Detail: File "base/16384/PG_VERSION" is missing.); -嵌套的throwable:(org.postgresql.util.PSQLException:FATAL:“ base / 16 384”不是有效的数据目录详细信息:缺少文件“ base / 16384 / PG_VERSION”。) - nested throwable: (org.jboss.resource.JBossRe sourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException : FATAL: "base/16384" is not a valid data directory Detail: File "base/16384/PG_VERSION" is missing.)) -嵌套的throwable:(org.jboss.resource.JBossRe sourceException:无法创建连接;-嵌套的throwable:(org.postgresql.util.PSQLException:FATAL:“ base / 16384”不是有效的数据目录,细节:文件“ base / 16384 / PG_VERSION“丢失。))

base/16384/ in this folder there is no files like base/16384/在此文件夹中没有类似的文件

pg_filenode.map
pg_internal.init
PG_VERSION

I don't know how they deleted. 我不知道他们如何删除。

Here I can copy paste the PG_VERSION file. 在这里我可以复制粘贴PG_VERSION文件。 How can I get remaining files? 如何获取剩余文件?

It is looking like terrible broken PostgreSQL database. 看起来像是坏了的PostgreSQL数据库。 If you have a backup, restore from backup. 如果有备份,请从备份还原。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法打开版本文件 PG_VERSION postgresql pg 升级 - could not open version file PG_VERSION postgresql pg upgrade 在 Mac 上升级 PostgreSQL 时无法打开版本文件“postgresql@10/PG_VERSION”失败 - could not open version file "postgresql@10/PG_VERSION" Failure when upgrading PostgreSQL on Mac 无法连接到 Postgres 面临错误 psql:错误:致命:主机“10.xxx”、用户“user”、数据库“db”没有 pg_hba.conf 条目 - unable to connect to Postgres Facing an error psql: error: FATAL: no pg_hba.conf entry for host "10.x.x.x", user "user", database "db" 无法在 postgres 复制中执行基本备份。 错误:pg_basebackup:无法连接到服务器 - Not able to perform base backup in postgres replication. Error: pg_basebackup: could not connect to server Postgres 9.2 pg_largeobject表空间 - Postgres 9.2 pg_largeobject tablespace 使用 pg_dumpall 和 pg_dump 升级和对接 Postgres v9.2 遗留数据库时的问题 - Issues when upgrading and dockerising a Postgres v9.2 legacy database using pg_dumpall and pg_dump 错误连接到 postgres(pg_close) - Error connect to postgres(pg_close) Postgresql 9.2 pg_dump 版本不匹配 - Postgresql 9.2 pg_dump version mismatch 无法使用pg_connect将PHP连接到Postgres数据库 - cannot connect php to postgres database using pg_connect Postgres 9.2中的垂直数据库分区 - vertical database partitioning in postgres 9.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM