Re: exit code 139 performing initdb (pg 9.1 on linux) - Mailing list pgsql-admin

From Tom Lane
Subject Re: exit code 139 performing initdb (pg 9.1 on linux)
Date
Msg-id 11743.1315945364@sss.pgh.pa.us
Whole thread Raw
In response to exit code 139 performing initdb (pg 9.1 on linux)  (Gunthard Stübs <stuebs2009@gmx.de>)
List pgsql-admin
=?ISO-8859-1?Q?Gunthard_St=FCbs?= <stuebs2009@gmx.de> 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

pgsql-admin by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Problem restoring a dump
Next
From: Steve Crawford
Date:
Subject: pg_upgrade difficulties