[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-users] postgres : Cannot connect to database for confi
From: |
Ben Cottrill |
Subject: |
Re: [Phpgroupware-users] postgres : Cannot connect to database for configuration |
Date: |
Wed, 27 Mar 2002 08:55:17 -0500 |
Oliver / Marcus,
These are the source of all connection problems I have ever had with postgres.
1. Is postgres running with the "-i" flag to allow network connections?
/var/lib/pgsql/data/postmaster.opts.default should have something like the
following in it :
-B 512 -i -N 128
2. Do you have lines like the following in pg_hba.conf?
# This default configuration allows any local user to connect as any
# PostgreSQL username, over either UNIX domain sockets or IP:
local all trust
host all 127.0.0.1 255.255.255.255 trust
host all 192.168.100.0 255.255.255.0 trust
Hope this helps.
Ben
On Wednesday 27 March 2002 07:10 am, you wrote:
> Hello
>
> after creating header.inc.php cannot connect to postgres-database to
> configure phhgw, got following errormessage:
>
> Database error: Link-ID == false, pconnect failed
> PostgreSQL Error: 0 ()
>
> Session halted
>
> Installed postgres 7.2& php 4.1.2 & apache 1.3.23 from source tarballs.
> created database and user like recommended in Documentation. DB-Server is
> running.
>
> Anyone an idea ?
>
> Greatings from Freiburg/D
> Oliver
>
>
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
--
Ben Cottrill
BIOMEC Inc.
address@hidden
216-937-2800 x243