Re: [General] Warning: Unable to connect to PostgreSQL - Mailing list pgsql-general

From Robert Treat
Subject Re: [General] Warning: Unable to connect to PostgreSQL
Date
Msg-id 1035569742.12583.48.camel@camel
Whole thread Raw
In response to [General] Warning: Unable to connect to PostgreSQL server: unknown host name:  ("Paul Ottar Tornes" <critical@tiscali.no>)
List pgsql-general
looks like php/apache doesn't know which computer is "maloyportalen".
You might want to add a host file entry mapping this name to an ip.

Robert Treat

On Fri, 2002-10-25 at 14:03, Paul Ottar Tornes wrote:
> Warning: Unable to connect to PostgreSQL server: unknown host name:
> maloyportalen in /www/maloyportalen.no/html/phpBB2/db/postgres7.php on
> line 79
> phpBB : Critical Error
>
> Could not connect to the database
>
>
> I have this in /etc/postgresql/pg_hba.conf
>
> local    all
> ident sameuser
> host    all        127.0.0.1            255.0.0.0              ident
> sameuser
> host    maloy    62.101.192.200     255.255.255.0      ident sameuser
> host    maloy    maloyportalen     255.255.255.0        ident sameuser
> host    all        0.0.0.0               0.0.0.0
> reject
>
> What is wrong, cause I cant se the problem..




pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: question about seq scan and index scan
Next
From:
Date:
Subject: Re: Using the IN clauise