Re: shmctl EIDRM preventing startup

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: shmctl EIDRM preventing startup
Date: 2007-07-02 02:15:42
Message-ID: 20070702021542.GA21955@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Fuhr wrote:
> One of the servers I use (RHEL AS 4; Linux 2.6.9-34.ELsmp x86_64)
> appears to be in the same state after a reboot as the server in the
> "Restart after poweroutage" thread from a few months ago:
>
> http://archives.postgresql.org/pgsql-general/2007-03/msg00738.php
>
> As in the thread, "ipcs -a" shows no postgres-owned shared memory
> segments and strace shows shmctl() failing with EIDRM.
>
> http://archives.postgresql.org/pgsql-general/2007-03/msg00743.php

Maybe what is happening is that an entirely unrelated process created a
segment with that ID, attached to it, and then it was deleted. I don't
know how to check however.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Casey Crosbie 2007-07-02 02:38:33 Re: Can't change working directory to C:/Documents and Settings in Windows
Previous Message Tom Lane 2007-07-02 02:12:35 Re: Can't change working directory to C:/Documents and Settings in Windows