背景:服务器断电后服务无法启动
问题描述:重启postgresql数据库服务报错
CST FATAL: could not create lock file “/tmp/.s.PGSQL.5432.lock”: 权限不够
故障原因: 权限不足
解决方案: 修改tmp权限
chown -R postgres:postgres /tmp
背景:服务器断电后服务无法启动
问题描述:重启postgresql数据库服务报错
CST FATAL: could not create lock file “/tmp/.s.PGSQL.5432.lock”: 权限不够
故障原因: 权限不足
解决方案: 修改tmp权限
chown -R postgres:postgres /tmp