title: Unable to start postgresql service in Redhat linux 7
body: <p>I have installed postgresql 9.4 on Redhat 7 server.It was installed through postgresql-9.4.3-1-linux-x64.run. It displayed a clear message"postgres is installed your machine". Now when I login as </p>
  
  <pre><code>su - postgres
  </code></pre>
  
  <p>It doesn't ask for password and goes to bash prompt. If I type <code>psql</code> displays "command not found". When I tried starting service through root user </p>
  
  <pre><code>service postgresql initdb
  </code></pre>
  
  <p>I get: </p>
  
  <blockquote>
    <p>The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.</p>
  </blockquote>
  
  <p>I tried <code>start postgres restart</code> which didn't work. I tried searching and found nothing. I know its with starting service.</p>