PostgreSQL won't start: “server.key” has group or world access

后端 未结 6 1700
时光取名叫无心
时光取名叫无心 2021-01-30 09:32

Whenerver I start PostgreSQL using command:

$ sudo /etc/init.d/postgresql start

Pg doesn\'t start up. The error reported is:

          


        
6条回答
  •  故里飘歌
    2021-01-30 09:46

    As the error message says, fix the permissions for the key file server.key. The server runs as user "postgres" which should own the file. Try

    #cd  
    #chown postgres server.key
    #chmod 0640 server.key
    

提交回复
热议问题