Re: exit code 139 performing initdb (pg 9.1 on linux)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gunthard Stübs <stuebs2009(at)gmx(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: exit code 139 performing initdb (pg 9.1 on linux)
Date: 2011-09-13 20:22:44
Message-ID: 11743.1315945364@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?ISO-8859-1?Q?Gunthard_St=FCbs?= <stuebs2009(at)gmx(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Crawford 2011-09-13 23:32:49 pg_upgrade difficulties
Previous Message Guillaume Lelarge 2011-09-13 20:07:48 Re: Problem restoring a dump