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-29 23:44:55
Message-ID: c12dcfbb04102916442ebbd683@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
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)

Responses

pgsql-admin by date

Next:From: Shawn KovalchickDate: 2004-10-31 15:44:54
Subject: Problem connecting to localhost in 7.4.2
Previous:From: Chris BrowneDate: 2004-10-29 20:50:04
Subject: Re: Replication Options.

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