Re: Upgrade woes

From: "Greg Kelley" <gkelley(at)britannicaviation(dot)com>
To: "Lamar Owen" <lamar(dot)owen(at)wgcr(dot)org>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Upgrade woes
Date: 2003-04-15 15:55:05
Message-ID: 00be01c30367$61f448a0$3501a8c0@greg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

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

----- Original Message -----
From: "Lamar Owen" <lamar(dot)owen(at)wgcr(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>; "Greg Kelley"
<gkelley(at)britannicaviation(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Sent: 15 April, 2003 11:18 AM
Subject: Re: [ADMIN] Upgrade woes

On Tuesday 15 April 2003 09:56, Tom Lane wrote:
> "Greg Kelley" <gkelley(at)britannicaviation(dot)com> writes:
> > Upgraded RH8.0 to 9.0 last saturday. Then pgsql woldn't start - failed
> > using the /etc/rc.d/init.d script so I manually entered the command and
> > discovered that it had to fix the database due to not shutting down
> > properly(???). Now it starts just fine, but I can't connect.

> > psql: could not connect to server: Connection refused

> This is a kernel-level refusal. Check your packet filtering setup --- I
> bet you have traffic to port 5432 filtered out :-(

Which is very easy to do with Red Hat Linux, since the install or upgrade
defaults to 'medium' security on the netfilter config. Which is set to
block
5432 by default; not on localhost, though, IIRC.

However, there's something very disturbing here. Greg, what version of
PostgreSQL were you running on RH8? RH8 shipped with 7.2.2, with an errata
to 7.2.4. Did you upgrade to 7.3.x at some point?

Tom, if he was running 7.2.x prior, the initscript is programmed to prevent
starting postmaster if the database structure is too old. Why did
postmaster
subsequently startup when started manually, if he was running 7.2.x prior?

I sincerely hope you had upgraded to 7.3.x prior to upgrading to RHL 9, or
we
have something very bad going on here.

Since you are attempting to connect to localhost, why not just let it use
the
Unix domain socket (by not specifying the hostname) and see if that
connects?
This will tell us whether netfilter is interposing itself.

Greg, if you were running 7.2.x prior, RPMs for 7.2.4 built on RHL9 are
available by FTP from ftp.postgresql.org, in
/pub/binary/v7.2.4/RPMS/redhat-9

Please let us know what you have found out.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lamar Owen 2003-04-15 16:05:51 Re: Upgrade woes
Previous Message Lamar Owen 2003-04-15 15:47:34 Re: Upgrade woes