title: Postgresql FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied
body: <p>I try to start postgresql : <code>/usr/pgsql-11/bin/pg_ctl -D appli/postgres/data/ -l logfile start</code>
  but I don't understand why I have always this error in my logfile :</p>
  <pre><code>FATAL:  could not create lock file &quot;/var/run/postgresql/.s.PGSQL.5432.lock&quot;: Permission denied
  </code></pre>
  <p>I tried to change permission but I get always Permission denied :</p>
  <pre><code>chown -R postgres:postgres /var/run/postgresql
  chmod 755 /var/run/postgresql
  </code></pre>