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.

    Solution:

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



Edit this Article
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

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

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy