吓死了,重启数据库后正常挂在,分享给同样问题的兄弟。
sudo systemctl stop postgresql@15-main trim_storage sudo systemctl start postgresql@15-main trim_storage sudo systemctl enable postgresql@15-main trim_storage # 验证状态,显示active(running)则正常 systemctl is-active postgresql@15-main trim_storage