pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: Dhananjay Mishra <dmishra@vt.edu>
To: pgsql-admin@postgresql.org
Subject: Re: TCP/IP connection
Date: Wed, 21 May 2003 14:13:56 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGOEGLHHAA.nickf@ontko.com> (raw)
In-Reply-To: <00ba01c31f85$a24b4860$a628ad80@cs.vt.edu>


A few thoughts:

Setting tcpip_socket = 1 on postgresql.conf should do the job.

Is there any chance that a link from the data directory is making your
postamaster look in a different location for the file? For instance, in most
debian installs, postgresql.conf lives in /etc/postgresql, with a link to it
form the data dir. I'm unfamiliar with rehat, bu perhaps something similar
is occuring.

Also, are you sure it isn't working? perhaps there is an auth problem in
pg_hba.conf that causes it to deny access or some network-related issue if
you're connecting from another box.

Have you tried connecting from the same box using psql -h<host> ?

-Nick



-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Dhananjay Mishra
Sent: Wednesday, May 21, 2003 5:42 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] TCP/IP connection


 I am trying to open the server for TCP/IP connection. My server is RedHat
7.2(postgresql-7.1.3).My question is - Is it necessary to edit
etc/rc.d/init.d/postgresql  and appened -i and -o options in postgres start
script line.

I am trying to acheive this by changing the tcp-connaction flag in
postgresql.conf file in data directory. But it does not seem to be working
on this platform. But I used to do the same on Solaris and it perfectly
worked.

Please suggest/comment!

Thanks and Best Regards,
----------------------------------------------------------------------------
-------
Dhananjay Mishra (dmishra@vt.edu)
Graduate Student, Department Of Computer Science
Virginia Tech
----------------------------------------------------------------------------
-------
"This one step -- choosing a goal and sticking to it -- changes everything."
-Scott Reed




view thread (9+ messages)  latest in thread

Message-ID: <NEBBLAAHGLEEPCGOBHDGOEGLHHAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGOEGLHHAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGOEGLHHAA.nickf@ontko.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nickf@ontko.com, dmishra@vt.edu
  Subject: Re: TCP/IP connection
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGOEGLHHAA.nickf@ontko.com>
  References: <00ba01c31f85$a24b4860$a628ad80@cs.vt.edu> <NEBBLAAHGLEEPCGOBHDGOEGLHHAA.nickf@ontko.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox