On 22-04-2017 06:40, Magnus Hagander
wrote:
Friends, The problem, was the selinux of CentOS, I disabled the selinux and applied the pemissions again and PostgreSQL started normally. Used Commands: # sudo /usr/sbin/setenforce 0 # sudo chown postgres /var/lib/pgsql/9.6/ # sudo chown postgres:postgres /var/lib/pgsql/9.6/data # chmod 700 /var/lib/pgsql/9.6/ # sudo systemctl start postgresql-9.6 Thank you all Note: Looking at google, I noticed that there is more people with this problem. It's a problem with CentOS and PostgreSQL, which does not go down very well. |