agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@CS.Berkeley.EDU>
To: Bernd Froehlich <bfroehli@AWI-Bremerhaven.DE>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: IpcMemoryAttach
Date: Thu, 04 Aug 94 12:09:58 -0700
Message-ID: <199408041909.MAA04124@nobozo.CS.Berkeley.EDU> (raw)
In-Reply-To: <9408041007.AA03081@edvs1.awi-bremerhaven.de>

bfroehli@AWI-Bremerhaven.DE (Bernd Froehlich) writes:
> edvs6% postmaster &
> [1] 3284
> edvs6% IpcMemoryAttach: shmat() failed: Permission denied

this usually means you have a shared memory segment allocated as
the "wrong" user (meaning a different user than the user you now
want to start postgres as).  this is generally a symptom of killing
off postmasters with "kill -9" and is the main reason why the manual 
says not to use "kill -9".

use "ipcs" to see what segments are there and use "ipcclean" (as
the user who owns the segments).
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@CS.Berkeley.EDU, bfroehli@AWI-Bremerhaven.DE
  Subject: Re: IpcMemoryAttach
  In-Reply-To: <199408041909.MAA04124@nobozo.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox