Re: shmctl EIDRM preventing startup - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: shmctl EIDRM preventing startup
Date
Msg-id 20070702021542.GA21955@alvh.no-ip.org
Whole thread Raw
In response to shmctl EIDRM preventing startup  (Michael Fuhr <mike@fuhr.org>)
Responses Re: shmctl EIDRM preventing startup  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Can't change working directory to C:/Documents and Settings in Windows
Next
From: Tom Lane
Date:
Subject: Re: shmctl EIDRM preventing startup