postgres FATAL: could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied
<p>By running <code>sudo service postgresql start</code> (pg 9.3 on ubuntu 14.04), the  following error is raised:</p>

<pre><code> * Starting PostgreSQL 9.3 database server
 * The PostgreSQL server failed to start. Please check the log output:
2016-06-28 11:17:54 IRDT FATAL:  could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied
   ...fail!
</code></pre>

<p>I've seen the similar questions but non of the workarounds have solved the problem for me.</p>

<p>Might ne usefull:</p>

<pre><code>root@Sn00p:/etc/ssl/private# ls -la /etc/ssl/private/ssl-cert-snakeoil.key 
-rw-r----- 1 postgres postgres 1704 ژانوی 16 19:46 /etc/ssl/private/ssl-cert-snakeoil.key
</code></pre>

<p>Any idea?</p>