Pgsql安装问题记录
2017-05-03 本文已影响43人
一条湫刀鱼
< 2017-05-03 03:59:32.167 UTC > FATAL: could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission denied
< 2017-05-03 03:59:32.168 UTC > LOG: database system is shut down
修改tmp文件夹的权限
[vagrant@vagrant-centos65 /]$ su - postgres
Password:
su: incorrect password
忘记配置密码了
passwd postgres
重新登录
[root@vagrant-centos65 /]# su - postgres
-bash-4.1$