linux - Postgresql fails to start -
postgresql fails start when run sudo -u postgres psql following output psql: not connect server: no such file or directory works locally , receives connection via domain socket "/var/run/postgresql/.s.pgsql.5432"? postgresql.conf listen_addresses = '*' pg_hba.conf # database administrative login unix domain socket local postgres trust # type database user address method # "local" unix domain socket connections local all trust # ipv4 local connections: host all 0.0.0.0/32 trust host all 192.168.0.0/24 trust # ipv6 local connections: host all :: 1/128 trust when try manually start server sudo service postgresql start following output [....] starting postgresql 9.1 database server: main [....] postgresql server failed start. please check log output: 2015-06-04 17:44:22 utc ???????: ?? selinux selinux media ipv6: eafnosupport 2015-06-04 17:44:22 utc ???????: ?? selinux ??????????? ? ?????? bin dev etc lib mnt opt run sr...