pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Kelley <gkelley@britannicaviation.com>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrade woes
Date: Tue, 15 Apr 2003 12:13:32 -0400
Message-ID: <00e201c30369$f6046b40$3501a8c0@greg> (raw)
References: <000501c30347$00474d20$3501a8c0@greg>
	<200304151118.15940.lamar.owen@wgcr.org>
	<00be01c30367$61f448a0$3501a8c0@greg>
	<200304151205.51112.lamar.owen@wgcr.org>

I have not modified postgresql.conf, tcpip_socket = false is commented out.
I cannot connect using localhost, either. I did not even have iptables
installed, just did the RPM installation and ran iptables-save and it shows:

*filter
:INPUT ACCEPT [3152:151165]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2072:908048]
COMMIT

Not sure what that means, never had to use or adjust iptables. Server is
behind separate firewall.

Thanks for your help.

Greg


----- Original Message -----
From: "Lamar Owen" <lamar.owen@wgcr.org>
To: "Greg Kelley" <gkelley@britannicaviation.com>
Cc: <pgsql-admin@postgresql.org>
Sent: 15 April, 2003 12:05 PM
Subject: Re: [ADMIN] Upgrade woes


On Tuesday 15 April 2003 11:55, Greg Kelley wrote:
> Sorry folks, brain fart - I had upgraded to 7.3 before the RH 8-9 fun.
> Initial postmaster failure to start was because of a 'bad' shutdown or
> something during the upgrade but a manual run of postmaster seems to have
> cleand up the database - I thought it was a version issue.

Good.  /me breathes sigh of relief.

> Now if I can figure out why RH9 has blocked port 5432...???

As root run /sbin/iptables-save.  This will tell you what has been blocked.
By
way of telling you what is allowed.

To unblock, you can either disable iptables, or you can add a rule to allow
TCP traffic incoming on port 5432.  See the netfilter documentation on how
to
do this.

Just as a double-check: when you enabled TCP/IP connections under RH80, did
you do it in /etc/rc.d/init.d/postgresql (adding a -i to the pg_ctl line)?
Or did you edit /var/lib/pgsql/data/postgresql.conf, and change the
tcpip_socket line?  If the former, you need to do the latter.  An upgrade
will replace the initscript, but it shouldn't touch the postgresql.conf.

And does a Unix domain connection (no -h directive on the machine running
postmaster) with psql work?
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11




view thread (9+ messages)

Message-ID: <00e201c30369$f6046b40$3501a8c0@greg>
Permalink:  ../00e201c30369$f6046b40$3501a8c0@greg/
Also on:    postgresql.org/message-id/00e201c30369$f6046b40$3501a8c0@greg

 · 

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: gkelley@britannicaviation.com, lamar.owen@wgcr.org
  Subject: Re: Upgrade woes
  In-Reply-To: <00e201c30369$f6046b40$3501a8c0@greg>
  References: <000501c30347$00474d20$3501a8c0@greg> <200304151118.15940.lamar.owen@wgcr.org> <00be01c30367$61f448a0$3501a8c0@greg> <200304151205.51112.lamar.owen@wgcr.org> <00e201c30369$f6046b40$3501a8c0@greg>

* 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