[horde] php-pgsql grief

David Pieper david at dpieper.com
Thu Nov 13 08:45:53 PST 2003


Dr. Michael J. Chudobiak wrote:

>>> A fatal error has occurred:
>>> DB Error: connect failed
>>> [line 108 of /var/www/html/horde/lib/Prefs/sql.php]
>>> Details have been logged for the administrator.
>>
>>
>> Is your postgres listening on TCP?
>>
>> What does your pg_hba.conf file look like.
> 
> 
> Yes, it is. I am serving other applications from postgres, and they work 
> fine.
> 
> My pg_hba.conf is:
> 
> local horde horde password
> host horde horde 127.0.0.1 255.255.255.255 password
> host horde horde 192.168.0.3 255.255.255.255 password
> local all all ident sameuser
> host miscengineering all 192.168.0.0 255.255.0.0 password
> host products all 192.168.0.0 255.255.0.0 password
> host office all 192.168.0.0 255.255.0.0 password
> 
> 
> - Mike

Can you log in as the horde user from te command line?

psql -h 127.0.0.1 -U horde horde

Have you reloaded/restarted postgres since adding your horde entries to 
the pg_hba.conf? (sorry, just had to ask)

Enjoy,
David Pieper

-- 
programmer n. /pro gram er/ A device for transmuting caffeine into code.




More information about the horde mailing list