Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1D4E5B5DC2D for ; Tue, 13 Sep 2011 17:22:53 -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 26997-10 for ; Tue, 13 Sep 2011 20:22:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id A6FCEB5DC17 for ; Tue, 13 Sep 2011 17:22:46 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8DKMifF011744; Tue, 13 Sep 2011 16:22:44 -0400 (EDT) To: =?ISO-8859-1?Q?Gunthard_St=FCbs?= cc: pgsql-admin@postgresql.org Subject: Re: exit code 139 performing initdb (pg 9.1 on linux) In-reply-to: <4E6FB830.1090900@gmx.de> References: <4E6F7ED7.9050000@gmx.de> <8602.1315934756@sss.pgh.pa.us> <4E6F9CD4.9000705@gmx.de> <4E6FAF4F.2030801@gmx.de> <10914.1315942870@sss.pgh.pa.us> <4E6FB830.1090900@gmx.de> Comments: In-reply-to =?ISO-8859-1?Q?Gunthard_St=FCbs?= message dated "Tue, 13 Sep 2011 22:08:16 +0200" Date: Tue, 13 Sep 2011 16:22:44 -0400 Message-ID: <11743.1315945364@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/88 X-Sequence-Number: 38325 =?ISO-8859-1?Q?Gunthard_St=FCbs?= writes: >> What kernel and glibc versions are you running, exactly? > Linux version 2.4.21-266-default > GNU C Library stable release version 2.3.2 (20030827) Yeah, we've seen this before. What it boils down to is that kernels prior to 2.6.x don't have posix_fadvise but older versions of glibc think they do. Some googling says that was fixed in glibc 2.3.5-3, so probably updating to that or later would be the simplest solution. (It also seems the bug is specific to 64-bit builds, but I doubt you want to fall back to a 32-bit build of Postgres.) regards, tom lane