PostgreSQL Errors

  1. When starting Postgresql on Ubuntu ( Windows Subsystem), there might be an error that says: data directory "/var/lib/posgresql/10/main has a group or world access. This is not advisable because of the folder containing the data should be secure.


    Please Login to see the rest of the answer
    Answer:

    This command: sudo chmod 700 -R /var/lib/postgresql/10/main
    Then: sudo service postgresql start (this command starts the postgresql database engine)



Write an Article
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.


© 2022 - ErnesTech - Privacy