Table of Contents
重启 PG 报错
2024-01-05 18:47:53 CST::@:[173895]: LOG: database system is shut down
2024-01-05 18:51:38 CST::@:[133735]: FATAL: pre-existing shared memory block (key 4100, ID 3866640) is still in use
2024-01-05 18:51:38 CST::@:[133735]: HINT: Terminate any old server processes associated with data directory "/pg6647/data".
2024-01-05 18:51:38 CST::@:[133735]: LOG: database system is shut down
解决
[postgres@localhost:test:6647:托管模式 /pg6647/data]$ fuser -uv .
USER PID ACCESS COMMAND
/pg6647/data:
root kernel mount (root)/pg6647/data
postgres 112365 ..c.. (postgres)bash
postgres 121055 ..c.. (postgres)rasedb
postgres 219082 ..c.. (postgres)bash
ps -ef |grep 121055
[postgres@localhost:test:6647:托管模式 /pg6647/data]$ ps -ef |grep 121055
postgres 40211 112365 0 18:54 pts/51 00:00:00 grep --color=auto 121055
postgres 121055 1 0 18:29 ? 00:00:00 rasedb: pgp316iq: dbmon dbmgr 30.99.226.74(41268) authentication
kill -15 121055
干不掉就 kill -9 121055
最后修改时间:2024-01-18 20:05:45
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




