Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqWsJ-0002iK-8O for pgsql-admin@arkaria.postgresql.org; Wed, 22 Mar 2017 03:23:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqWsI-0005tR-JR for pgsql-admin@arkaria.postgresql.org; Wed, 22 Mar 2017 03:23:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqWsH-0005sd-Ld for pgsql-admin@postgresql.org; Wed, 22 Mar 2017 03:23:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqWsA-0005MD-TI for pgsql-admin@postgresql.org; Wed, 22 Mar 2017 03:23:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2M3Nfvc000865; Tue, 21 Mar 2017 23:23:41 -0400 From: Tom Lane To: Santiago DIEZ cc: PostgreSQL LIST Subject: Re: In-reply-to: References: Comments: In-reply-to Santiago DIEZ message dated "Tue, 21 Mar 2017 23:05:13 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <863.1490153021.1@sss.pgh.pa.us> Date: Tue, 21 Mar 2017 23:23:41 -0400 Message-ID: <864.1490153021@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Santiago DIEZ writes: > I'm trying to execute postgresql inside a chroot environment. > initdb runs OK > pg_ctl runs OK and server can be queried. > But, the logs show : > 2017-03-21 22:34:03 CET LOG: could not receive test message on socket for > statistics collector: Connection refused > 2017-03-21 22:34:03 CET LOG: disabling statistics collector for lack of > working socket Apparently there's some aspect of your chroot setup that breaks TCP connections to "localhost". You need to fix that ... regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin