Error: Config owner (usuario:1000) and data owner (postgres:116) do not match, and config owner is not root

Posted Over 9 years ago. Visible to the public.

PROBLEMA

sudo service postgresql start
* Starting PostgreSQL 9.3 database server
* Error: Config owner (usuario:1000) and data owner (postgres:116) do not match, and config owner is not root

EXPLICAÇÃO

Algum arquivo do postgres está com owner errado, e não pertence ao usuário e grupo do postgres.

Este owner não era obrigatório até recentemente, com um build da versão 9.3 do postgres lançada por estes dias, acredito que ontem 22/12/2014.

SOLUÇÃO

sudo chown postgres:postgres /etc/postgresql/9.3/main/postgresql.conf
Bruno Vieira
Last edit
Over 9 years ago
Bruno Vieira
Posted by Bruno Vieira to ZeroGlosa (2014-12-23 17:01)