目录
环境
系统平台:Linux x86-64 Red Hat Enterprise Linux 7
版本:5.6.5
症状
FATAL:could not create look file"/var/run/postgresql/.s.PGSQL.5866.lock":Permission denied
注:因PostgrelSQL数据库影响,psql highgo highgo提示不存在highgo数据库?
问题原因
由于客户虚拟机之前安装过PostgreSQL数据库,正在使用PostgreSQL数据库,导致瀚高数据库启动失败。
解决方案
1、编辑配置文件 vi postgresql.conf
2、将#unix_socket_directories=里面的postgresql删掉,只留下/tmp
3、编辑配置文件vi pg_hba.conf
4、进入bin目录执行./pg_ctl start ../data启动数据库
更多解决方案请登录【瀚高技术支持平台】查看 https://support.highgo.com/#/index/docContent/0f3331ed0299f2ee