title: Not able to start PostgreSQL
body: <p>Have a CentOS7 Linux machine running (not managed by me; have limited rights to/in it).</p>
  
  <p>Have a request to set PostgreSQL up in it.</p>
  
  <p>Just installed PostgreSQL from the CentOS repository:</p>
  
  <pre><code>sudo yum install postgresql-server postgresql-contrib
  </code></pre>
  
  <p>All good with it.</p>
  
  <p>Then did initialization of the database:</p>
  
  <pre><code>sudo yum install postgresql-server postgresql-contrib
  </code></pre>
  
  <p>All good with it.</p>
  
  <p>But then the start:</p>
  
  <pre><code>sudo systemctl start postgresql
  </code></pre>
  
  <p>Fails:</p>
  
  <pre><code>Job for postgresql.service failed because the control process exited with error code. See "systemctl status postgresql.service" and "journalctl -xe" for details.
  </code></pre>
  
  <p>I do not have access to systemd-journal so nothing tod with "journalctl -xe", but then the:</p>
  
  <pre><code>systemctl status postgresql.service
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>● postgresql.service - PostgreSQL database server
     Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2020-04-24 16:41:04 EEST; 33s ago
    Process: 30690 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=1/FAILURE)
    Process: 30684 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)
  </code></pre>
  
  <pre><code>postgres --version
  postgres (PostgreSQL) 9.2.24
  </code></pre>
  
  <p>Any ideas what could be wrong here? Hot to continue with that?</p>