Skip site navigation (1) Skip section navigation (2)

Re: Not able to connect to PostgreSQL in Linux!

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <a(dot)srinivasan(at)chennai(dot)transys(dot)net>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Not able to connect to PostgreSQL in Linux!
Date: 2001-02-19 17:26:22
Message-ID: Pine.LNX.4.30.0102191825240.977-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
pgsql-bugs(at)postgresql(dot)org writes:

> "connection to database failed:
> missing or erroneous pg_hba.conf file, see postmaster log for details'
>
> We found that there is no log file for postmaster

Time to stop using the -S option then.

 and the content of present /var/lib/pgsql/data/pg_hba.conf file is
> local    all    trust
> host    all    127.0.0.1    255.255.255.255    trust
> host    all    localhost    255.255.255.255    trust
                 ^^^
Must be an IP address.

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

pgsql-bugs by date

Next:From: Jeffrey F. LawhornDate: 2001-02-20 01:33:43
Subject: regression test problems
Previous:From: Peter EisentrautDate: 2001-02-19 17:10:21
Subject: Re: Regresstion Tests do not find PGLIB directory

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group