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

Problem connecting to localhost in 7.4.2

From: Shawn Kovalchick <bamapookie(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Problem connecting to localhost in 7.4.2
Date: 2004-10-31 15:44:54
Message-ID: c12dcfbb041031074423875141@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
I apologize if this gets posted twice, I sent it once before I was
signed up, and it hasn't appeared yet.

I am setting up a postgres server on Redhat Fedora Core 2, and am
unable to connect via tcpip.
I have enabled tcpip_socket in postgresql.conf.
For testing prposes, I'm using trust for local and host 127.0.0.1 in
pg_hba.conf.
The command I am running is:
psql -h 127.0.0.1 nagios
Username is shawn
This works if I leave off the -h 127.0.0.1.
Attached is the strace for postmaster.  The strace for psql is too big
for the email list, so it is posted at
http://pookie.dyndns.org/strace-psql.txt
Thank you in advance for your help.

Attachment: strace-postmaster.txt
Description: text/plain (8.7 KB)

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2004-10-31 16:43:35
Subject: Re: Problem connecting to localhost in 7.4.2
Previous:From: Shawn KovalchickDate: 2004-10-29 23:44:55
Subject: Problem connecting to localhost in 7.4.2

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