Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B6911B5DC40 for ; Fri, 19 Aug 2011 05:40:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 43403-01 for ; Fri, 19 Aug 2011 08:40:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.213.174]) by mail.postgresql.org (Postfix) with ESMTP id 121EFB5DCC0 for ; Fri, 19 Aug 2011 05:40:40 -0300 (ADT) Received: by yxj19 with SMTP id 19so2039502yxj.19 for ; Fri, 19 Aug 2011 01:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=EfQV13yZm6HHNL2e0UrZcoUT4BCUZPHr3WQ4+0R/edM=; b=pNL/ajc5Ghv0InYKhr+vbrOBP9L09DhiIUMQNOeHRR/O3CseHEEkH7jRj5lbNcxKAi qISVZSaxd/uDUNeqYGkPjjWb7hXC6/zha8cyOciVSyfY1A4jhFWT33j427YXGq1aIrMZ OY5Pnk3mXsQQxlMnilMnOwRLYPGcZw8fEH4tg= MIME-Version: 1.0 Received: by 10.236.177.69 with SMTP id c45mr5144020yhm.97.1313743240803; Fri, 19 Aug 2011 01:40:40 -0700 (PDT) Received: by 10.42.137.71 with HTTP; Fri, 19 Aug 2011 01:40:40 -0700 (PDT) In-Reply-To: <4E4DA3CD.5060003@emolecules.com> References: <6998779.958621310027350384.JavaMail.defaultUser@defaultHost> <1313596948733-4708835.post@n5.nabble.com> <4E4CA698.5010803@ringerc.id.au> <4E4DA3CD.5060003@emolecules.com> Date: Fri, 19 Aug 2011 11:40:40 +0300 Message-ID: Subject: Re: Londiste won't start with dual IP addresses From: Marko Kreen To: Craig James Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201108/181 X-Sequence-Number: 38168 On Fri, Aug 19, 2011 at 2:44 AM, Craig James w= rote: > We had to temporarily assign two IP addresses to our servers. =A0After do= ing > so and rebooting, Londiste will start, but it just sits there doing nothi= ng. > =A0The logfile has zero bytes, and it doesn't seem to connect to either t= he > 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 addr= ess > shouldn't matter). =A0But I can connect to Postgres on either IP address = on > all servers. > > All other Postgres applications work. =A0I 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: > > =A02011-08018 16:35:47,250 =A022074 DEBUG Attaching > > And that's all. =A0Nothing more ever happens. > > Help? =A0Thanks! Does the exact connect string you use in londiste config work with psql? Like so: $ psql -d 'connstr' --=20 marko