Try the following line pg_hba.conf:

host phpgroupware 127.0.0.1 255.255.255.255 trust

Regards,
Gavin

ddc_prueba2 wrote:
> 
> Hello world!
> 
> I just untar and run http://127.0.0.1/phpgroupware/setup/index.php to
> create a header.inc.php file. As explained in installation doc, I did
> (as postgres user):
> /usr/bin/createdb phpgroupware
> /usr/bin/createuser phpgwuser --pwprompt
> 
> So far so good, but it seems to work with phpgroupware itself (I can
> re-setup header.inc.php from web interface) but I cannot connect to
> postgresql database when I try to login. Error is:
> 
> Warning: Unable to connect to PostgreSQL server: FATAL 1: No pg_hba.conf
> entry for host 127.0.0.1, user phpgwuser, database phpgroupware in
> /var/www/html/phpgroupware/phpgwapi/inc/class.db_pgsql.inc.php on line
> 89
> 
> I know user is ok because I connect from command line with:
> 
> psql phpgroupware phpgwuser
> 
> Also, I know postgresql is listening to TCP/IP (it is configured so) as
> long as phpPgAdmin works ok.
> 
> I'm suspecting that file pg_hba.conf might be the culprit as I put
> access restriction to "local all trust" (I couldn't make it work rigth
> with another config).
> 
> I'm going nuts with all this and moreover Google does not want to be my
> friend on this subject (I can't get a similar case solved to have a hint
> :-((
> 
> Thanx in advance!!!
> 
> _______________________________________________________________
> Yahoo! Messenger
> Nueva versi�n: Webcam, voz, y mucho m�s �Gratis!
> Desc�rgalo ya desde http://messenger.yahoo.es
> 
>   ------------------------------------------------------------------------
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to