X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8B8CC475A80 for ; Tue, 15 Apr 2003 11:55:11 -0400 (EDT) Received: from britannicaviation.com (britannicaviation.com [207.3.150.150]) by postgresql.org (Postfix) with SMTP id 09B9B474E44 for ; Tue, 15 Apr 2003 11:54:59 -0400 (EDT) Received: (qmail 9853 invoked from network); 15 Apr 2003 16:04:15 -0000 Received: from unknown (HELO greg) (192.168.1.53) by britannicaviation.com with SMTP; 15 Apr 2003 16:04:15 -0000 Message-ID: <00be01c30367$61f448a0$3501a8c0@greg> Reply-To: "Greg Kelley" From: "Greg Kelley" To: "Lamar Owen" Cc: References: <000501c30347$00474d20$3501a8c0@greg> <7630.1050414976@sss.pgh.pa.us> <200304151118.15940.lamar.owen@wgcr.org> Subject: Re: Upgrade woes Date: Tue, 15 Apr 2003 11:55:05 -0400 Organization: Britannic Aviation MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-35.4 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,ORIGINAL_MESSAGE, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/232 X-Sequence-Number: 8387 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" To: "Tom Lane" ; "Greg Kelley" Cc: Sent: 15 April, 2003 11:18 AM Subject: Re: [ADMIN] Upgrade woes On Tuesday 15 April 2003 09:56, Tom Lane wrote: > "Greg Kelley" 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