Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Job for postgresql.service failed

Thebetta answered on June 23, 2023 Popularity 2/10 Helpfulness 3/10

Contents


More Related Answers

  • service postgres status
  • job for postgresql.service failed because the control process exited with error code. see "systemctl status postgresql.service" and "journalctl -xe" for details.
  • Job for postgresql.service failed because the control process exited with error code.
  • postgresql error
  • postgres error
  • run eroku psql

  • Job for postgresql.service failed

    0

    remove `/var/lib/postgres/data` if it's exists.

    Then enter following commands in terminal:


    $ sudo mkdir /var/lib/postgres/data

    $ chown postgres /var/lib/postgres/data

    $ sudo -i -u postgres

    $ initdb -D '/var/lib/postgres/data'

     

    $ sudo systemctl start postgresql 

    Popularity 2/10 Helpfulness 3/10 Language whatever
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Jun 23 2023
    Thebetta
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.