Today I had a problem starting PostgreSQL server. I saw this error:
* The PostgreSQL server failed to start. Please check the log output:
CEST FATAL: could not open file "/etc/ssl/certs/ssl-cert-snakeoil.pem"
To solve it I did these actions:
cd /etc/ssl/certs/
chown postgres ssl-cert-snakeoil.pem
chmod 777 ssl-cert-snakeoil.pem
cd /etc/ssl/private
chown postgres ssl-cert-snakeoil.key
chmod 700 ssl-cert-snakeoil.key
Best regards!!!
No comments:
Post a Comment