PostgreSQL:即使正在运行,也无法连接到服务器!

我想知道你是否可以帮助我。 我已经安装PostgreSQL,我已经尝试运行各种检查,以确保它正在运行,我知道这是。

这里是searchpostgres进程的结果:

root@myserver [~]# ps aux | grep post root 12989 0.0 0.0 61192 736 pts/0 S<+ 18:42 0:00 grep post postgres 19116 0.0 0.0 120732 3352 ? S< Mar14 0:00 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data postgres 19122 0.0 0.0 109908 772 ? S< Mar14 0:00 postgres: logger process postgres 19124 0.0 0.0 120732 996 ? S< Mar14 0:00 postgres: writer process postgres 19125 0.0 0.0 110912 700 ? S< Mar14 0:00 postgres: stats buffer process postgres 19126 0.0 0.0 110100 876 ? S< Mar14 0:00 postgres: stats collector process 

这对我来说是足够坚实的证据,它是事实上运行,但这是我得到的确切的错误:

 psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? 

数据库caching尝试更新时,这将在电子邮件中发送。

非常感谢帮助,感谢任何回应!