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

Not able to connect to PostgreSQL in Linux!

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Not able to connect to PostgreSQL in Linux!
Date: 2001-02-19 16:00:20
Message-ID: 200102191600.f1JG0K773792@hub.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Srini (a(dot)srinivasan(at)chennai(dot)transys(dot)net) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
 Not able to connect to PostgreSQL in Linux!

Long Description
We installed Redhat Linux 7.0 with iPlanet 4.1 web server for Linux. It is working fine. Now, we are trying to run PostgreSQL on top of that. 

We were able to do setup of PostgreSQL. The service is running properly. When we try to connect to DB using 'pgaccess' or 'psql', it is throwing the following error message.

"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 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
Please advise how to get out this problem and your further suggestion for the successful running of PostgreSQL database? .


Sample Code


No file was uploaded with this report


Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2001-02-19 16:36:15
Subject: Re: Problem with function aclcontains, features or bug?
Previous:From: Vadim I. PassynkovDate: 2001-02-19 15:23:59
Subject: Problem with function aclcontains, features or bug?

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