psql:致命:无法打开文件“base/11951/11717":只读文件系统 [英] psql: FATAL: could not open file "base/11951/11717": Read-only file system
本文介绍了psql:致命:无法打开文件“base/11951/11717":只读文件系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从 CLI 访问 postgreSQL 数据库.当我以 postgres 登录并输入命令
I'm trying to access the postgreSQL database from CLI. When I login as postgres and enter command
我收到错误
psql: FATAL: could not open file "base/11951/11717": Read-only file system
我是新手.关于在哪里查看的任何指示都会有很大帮助.TIA
I'm new to this. Any pointers on where to look at would be a great help. TIA
推荐答案
似乎托管数据库的 VM 因未知问题进入只读模式.
Seems like the VM where the database was hosted went to Read-only mode for an unknown issue.
$ fsck
command 帮助修复了 linux 文件系统并能够访问 psql db.
command helped to repair linux filesystems and was able to access psql db.
这篇关于psql:致命:无法打开文件“base/11951/11717":只读文件系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文