Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group