Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 16124B5DBDC for ; Fri, 19 Aug 2011 14:54:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 43733-07 for ; Fri, 19 Aug 2011 17:54:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42]) by mail.postgresql.org (Postfix) with ESMTP id C0734B5D803 for ; Fri, 19 Aug 2011 14:54:18 -0300 (ADT) Received: by pzk37 with SMTP id 37so8862549pzk.15 for ; Fri, 19 Aug 2011 10:54:17 -0700 (PDT) Received: by 10.142.203.21 with SMTP id a21mr12637wfg.149.1313776457667; Fri, 19 Aug 2011 10:54:17 -0700 (PDT) Received: from Craig-Jamess-MacBook-Pro.local (wsip-70-167-122-86.sd.sd.cox.net [70.167.122.86]) by mx.google.com with ESMTPS id s3sm2492573pbg.61.2011.08.19.10.54.15 (version=SSLv3 cipher=OTHER); Fri, 19 Aug 2011 10:54:16 -0700 (PDT) Message-ID: <4E4EA383.3050304@emolecules.com> Date: Fri, 19 Aug 2011 10:55:15 -0700 From: Craig James User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Marko Kreen CC: pgsql-admin@postgresql.org Subject: Re: Londiste won't start with dual IP addresses References: <6998779.958621310027350384.JavaMail.defaultUser@defaultHost> <1313596948733-4708835.post@n5.nabble.com> <4E4CA698.5010803@ringerc.id.au> <4E4DA3CD.5060003@emolecules.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/185 X-Sequence-Number: 38172 On 8/19/11 1:40 AM, Marko Kreen wrote: > On Fri, Aug 19, 2011 at 2:44 AM, Craig James wrote: >> We had to temporarily assign two IP addresses to our servers. After doing >> so and rebooting, Londiste will start, but it just sits there doing nothing. >> The logfile has zero bytes, and it doesn't seem to connect to either the >> master or the slave database. >> >> We reconfigured Postgres to listen on both addresses, but the /etc/hosts >> tables still point to the original addresses (that is, the second IP address >> shouldn't matter). But I can connect to Postgres on either IP address on >> all servers. >> >> All other Postgres applications work. I can use psql, and our Perl DBI and >> PHP applications all work with no problems. >> >> When I invoke "londiste.py --verbose ...", the log file says: >> >> 2011-08018 16:35:47,250 22074 DEBUG Attaching >> >> And that's all. Nothing more ever happens. >> >> Help? Thanks! > Does the exact connect string you use in londiste config work > with psql? Like so: > > $ psql -d 'connstr' As I mentioned earlier, yes it does work. I also discovered by looking at all the postgres processes that it's making the first connection (to the master), but it doesn't seem to even try to make the second connection. Could there be something else it's waiting for? The dual-network issue may be completely irrelevant. I know that while the IT guy was reconfiguring the network, he had to do a forced-reboot at least once without shutting down Postgres. Is it possible that the Londiste tables are in some invalid state, and the daemon is waiting for something that's never going to happen? Thanks, Craig