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 srv sys tmp usr var ???????? ??????????: eaddrnotavail 2015-06-04 17:44:22 utc ???????: media selinux ?????? bin dev etc lib mnt opt run srv sys tmp usr var ???????? lost + found 2015-06-04 17:44:22 utc ???????: ?? selinux selinux media bin dev etc lib mnt opt run srv sys tmp usr var ???????? ??????????: eafnosupport 2015-06-04 17:44:22 utc ???????: selinux lost + found ??????????? ?? - ?? ???????? ???????? ?????? 2015-06-04 17:44:22 utc ??????????????: ??????????? ?? ???????? ?? - ?? ???????????? ???????????? 2015-06-04 17:44:22 utc ?????????: ???????? ???????? "track_counts". 2015-06-04 17:44:22 utc ???????: selinux boot home proc root sbin ???????????? "/etc/postgresql/9.1/main/pg_hba.conf" ?? ???????: eacces 2015-06-04 17:44:22 utc ????? [failselinux ????????? pg_hba.conf ... failed! failed!
the log file not contain useful have not found. start server. before reinstalling system (raspbian) worked fine. , not start.
p.s. not first time suffering postgresql. convenient, setting disgusting.
Comments
Post a Comment