Boa Noite a todos que participa desse projeto e-cidade.
Gostaria de um help de vocês....
Estou utilizando o manual de instalação do ubuntu 12.04.
A versão do e-cidade é a 30.
Ao executar o comando:
psql -U postgres -c "CREATE ROLE ecidade WITH SUPERUSER LOGIN PASSWORD 'ecidade'"
Me retorna o seguinte erro:
psql: FATAL: Autenticação do tipo peer falhou para o uuario "postgres"
Grato
Paulo Soares
Autor: paulo henrique
1111 comentários
local all postgres trust # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust # IPv6 local connections:
host all all ::1/128 trust # Allow replication connections from localhost, by a user with the Grato Paulo
________________________________________________ 1º Comando root@ubuntu:/etc/init.d# ./postgresql status
9.2/ecidade (port 5433): online
9.2/main (port 5432): online
_________________________________________________ 2º Comando root@ubuntu:/etc/init.d# ./postgresql restart
* Restarting PostgreSQL 9.2 database server [ OK ] __________________________________________________ Grato Paulo Soares
local all postgres trust
local all postgres trust # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust # IPv6 local connections:
host all all ::1/128 trust # Allow replication connections from localhost, by a user with the Atenciosamente Paulo
Certifique-se de alterar o pg_hba.conf dos 2 se já não o fez... Ivanilson Pacheco
Email: ivanilsonpacheco@gmail.com
Skype: live:ivanilsonpacheco