Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 38E6BB5DBDC for ; Fri, 19 Aug 2011 13:16:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 14530-07 for ; Fri, 19 Aug 2011 16:16:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mail.postgresql.org (Postfix) with ESMTP id C1FC4B5DC0A for ; Fri, 19 Aug 2011 13:16:50 -0300 (ADT) Received: by iye7 with SMTP id 7so10892144iye.17 for ; Fri, 19 Aug 2011 09:16:49 -0700 (PDT) Received: by 10.142.207.17 with SMTP id e17mr490609wfg.382.1313770609559; Fri, 19 Aug 2011 09:16:49 -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 u1sm417930pbp.71.2011.08.19.09.16.45 (version=SSLv3 cipher=OTHER); Fri, 19 Aug 2011 09:16:46 -0700 (PDT) Message-ID: <4E4E8CA9.8040800@emolecules.com> Date: Fri, 19 Aug 2011 09:17:45 -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/183 X-Sequence-Number: 38170 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' Yes. psql -d 'dbname=archive host=iridium user=postgres' connects with no problem. Thanks, Craig