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)


Technology published

Buy Me Coffee


Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..



© 2020 - ErnesTech - Privacy