[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: open-exchange e postgre



Caio,

A resposta está no próprio How-to que você está citando...

Here's a quick-and-dirty way to bypass Postgresql password problems : edit your /etc/postgresql/pg_hba.conf and make the following lines look like this :
# All other connections by UNIX sockets
localallall trust
#
# All IPv4 connections from localhost
hostallall127.0.0.1255.255.255.255trust
... then restart Postgres. Be aware that the passwords will now be ignored for ALL users and ALL databases!

Em 23/05/05, Caio Ferreira < idic@terra.com.br> escreveu:
All

Estou fazendo essa pergunta pois o meu conhecimento de Postgres é nulo.

Estou instalando o open-exchange[1] em um servidor e fiz o seguinte :

su - postgres
$ createuser --pwprompt
Enter name of user to add: openexchange
Enter password for new user: <SENHA>
Enter it again: <SENHA>
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) n
CREATE USER

createdb -O openexchange -E UNICODE openexchange

O problema é que quando eu digito o comando abaixo aparece a seguinte mensagem de erro:

psql -U openexchange openexchange < /usr/local/openxchange/share/init_database.sql

psql: FATAL:  autenticação via IDENT falhou para usuário "openexchange"

Será que alguem poderia dar uma ajuda !?!!

1-http://gpl.netixia.com/openxchange/openxchange-sarge-howto.html

.''`.   Caio Abreu Ferreira
: :'  :  GNU/Linux Debian
`. `'`   Gnupg ID 0x01186BE1
  `-     Linux Couter 327834




--
Victor Guilherme Hogemann
iPlanRIO - SMS/RJ
Reply to: