Thread

  1. IPC Problems - URGENT !

    Thyagarajan <thyaga@bytekinc.com> — 1999-06-09T22:24:34Z

    Hi all
        I am in a fix right now - i have been trying to install Postgres
    6.4.2 on Linux ( Calderra Open Linux).
        Everything goes on fine - i.e. configure,installation  etc.
    
       At the time of starting of the Postmaster ( postmaster -S -D 'Data
    Directory'), I get the following error :
    
        IPCMemoryCreate : shmget (identifies removed) Key=5432010
    size=24588, permission =700 .
        IPCMemoryAttach : shmget (identifies removed) Key=5432010
    size=24588, permission =0 .
        IPCMemoryCreate : shmat failed (invalid argument) id=2 .
        FATAL 1 : AttachSLockMemory : could not attach segment .
    
    It will be really very kind of you if you could help me out.
    
    Thanks in advance
    Thyaga
    
    
    
    
  2. Re: [GENERAL] IPC Problems - URGENT !

    Marc G. Fournier <scrappy@hub.org> — 1999-06-09T22:39:51Z

    Did you build the kernel with IPC enabled?
    
    On Wed, 9 Jun 1999, Thyagarajan wrote:
    
    > Hi all
    >     I am in a fix right now - i have been trying to install Postgres
    > 6.4.2 on Linux ( Calderra Open Linux).
    >     Everything goes on fine - i.e. configure,installation  etc.
    > 
    >    At the time of starting of the Postmaster ( postmaster -S -D 'Data
    > Directory'), I get the following error :
    > 
    >     IPCMemoryCreate : shmget (identifies removed) Key=5432010
    > size=24588, permission =700 .
    >     IPCMemoryAttach : shmget (identifies removed) Key=5432010
    > size=24588, permission =0 .
    >     IPCMemoryCreate : shmat failed (invalid argument) id=2 .
    >     FATAL 1 : AttachSLockMemory : could not attach segment .
    > 
    > It will be really very kind of you if you could help me out.
    > 
    > Thanks in advance
    > Thyaga
    > 
    > 
    > 
    
    Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    Systems Administrator @ hub.org 
    primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
    
    
    
  3. Re: [GENERAL] IPC Problems - URGENT !

    Thyagarajan <thyaga@bytekinc.com> — 1999-06-10T00:23:57Z

    Hi
        Yes, i did build the Kernel with IPC enabled .
    
    The Hermit Hacker wrote:
    
    > Did you build the kernel with IPC enabled?
    >
    > On Wed, 9 Jun 1999, Thyagarajan wrote:
    >
    > > Hi all
    > >     I am in a fix right now - i have been trying to install Postgres
    > > 6.4.2 on Linux ( Calderra Open Linux).
    > >     Everything goes on fine - i.e. configure,installation  etc.
    > >
    > >    At the time of starting of the Postmaster ( postmaster -S -D 'Data
    > > Directory'), I get the following error :
    > >
    > >     IPCMemoryCreate : shmget (identifies removed) Key=5432010
    > > size=24588, permission =700 .
    > >     IPCMemoryAttach : shmget (identifies removed) Key=5432010
    > > size=24588, permission =0 .
    > >     IPCMemoryCreate : shmat failed (invalid argument) id=2 .
    > >     FATAL 1 : AttachSLockMemory : could not attach segment .
    > >
    > > It will be really very kind of you if you could help me out.
    > >
    > > Thanks in advance
    > > Thyaga
    > >
    > >
    > >
    >
    > Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    > Systems Administrator @ hub.org
    > primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org
    
    
    
  4. Re: [GENERAL] IPC Problems - URGENT !

    Marc G. Fournier <scrappy@hub.org> — 1999-06-10T02:21:50Z

    On Wed, 9 Jun 1999, Thyagarajan wrote:
    
    > Hi
    >     Yes, i did build the Kernel with IPC enabled .
    
    'K, that's the extent of my Linux knowledge *grin*
    
    > 
    > The Hermit Hacker wrote:
    > 
    > > Did you build the kernel with IPC enabled?
    > >
    > > On Wed, 9 Jun 1999, Thyagarajan wrote:
    > >
    > > > Hi all
    > > >     I am in a fix right now - i have been trying to install Postgres
    > > > 6.4.2 on Linux ( Calderra Open Linux).
    > > >     Everything goes on fine - i.e. configure,installation  etc.
    > > >
    > > >    At the time of starting of the Postmaster ( postmaster -S -D 'Data
    > > > Directory'), I get the following error :
    > > >
    > > >     IPCMemoryCreate : shmget (identifies removed) Key=5432010
    > > > size=24588, permission =700 .
    > > >     IPCMemoryAttach : shmget (identifies removed) Key=5432010
    > > > size=24588, permission =0 .
    > > >     IPCMemoryCreate : shmat failed (invalid argument) id=2 .
    > > >     FATAL 1 : AttachSLockMemory : could not attach segment .
    > > >
    > > > It will be really very kind of you if you could help me out.
    > > >
    > > > Thanks in advance
    > > > Thyaga
    > > >
    > > >
    > > >
    > >
    > > Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    > > Systems Administrator @ hub.org
    > > primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org
    > 
    > 
    
    Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    Systems Administrator @ hub.org 
    primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
    
    
    
  5. Re: [GENERAL] IPC Problems - URGENT !

    Anthony Brock <abrock@georgefox.edu> — 1999-06-10T16:52:19Z

    I am in a similar position to the person below.  I am trying to install
    Postgres 6.5beta3 on a Solaris 7 machine (64-bit libraries installed) using
    egcs-1.1.2 and receive the following when trying to run the 'postmaster -i'
    command:
    
    IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
    size=1073152, permission=600
    FATAL 1:  ShmemCreate: cannot create region
    
    Does anyone have some pointers on how to fix this?  Or any idea what the
    problem is?  Thanks in advance,
    
    Tony
    
    At 11:21 PM 6/9/99 -0300, you wrote:
    >On Wed, 9 Jun 1999, Thyagarajan wrote:
    >> > On Wed, 9 Jun 1999, Thyagarajan wrote:
    >> >
    >> > > Hi all
    >> > >     I am in a fix right now - i have been trying to install Postgres
    >> > > 6.4.2 on Linux ( Calderra Open Linux).
    >> > >     Everything goes on fine - i.e. configure,installation  etc.
    >> > >
    >> > >    At the time of starting of the Postmaster ( postmaster -S -D 'Data
    >> > > Directory'), I get the following error :
    >> > >
    >> > >     IPCMemoryCreate : shmget (identifies removed) Key=5432010
    >> > > size=24588, permission =700 .
    >> > >     IPCMemoryAttach : shmget (identifies removed) Key=5432010
    >> > > size=24588, permission =0 .
    >> > >     IPCMemoryCreate : shmat failed (invalid argument) id=2 .
    >> > >     FATAL 1 : AttachSLockMemory : could not attach segment .
    >> > >
    >> > > It will be really very kind of you if you could help me out.
    >> > >
    >> > > Thanks in advance
    >> > > Thyaga
    >> > >
    >> > >
    >> > >
    >> >
    >> > Marc G. Fournier                   ICQ#7615664               IRC Nick: 
    >Scrappy
    >> > Systems Administrator @ hub.org
    >> > primary: scrappy@hub.org           secondary: 
    >scrappy@{freebsd|postgresql}.org
    >> 
    >> 
    >
    >Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    >Systems Administrator @ hub.org 
    >primary: scrappy@hub.org           secondary:
    scrappy@{freebsd|postgresql}.org 
    >
    
    ******************************************************************************
    * Anthony Brock                                         abrock@georgefox.edu *
    * Director of Network Services                         George Fox University *
    ******************************************************************************
    
    
  6. Re: [GENERAL] IPC Problems - URGENT !

    Anthony Brock <abrock@georgefox.edu> — 1999-06-10T17:24:38Z

    On a related note, Postgres 6.4.2 appears to function perfectly (I just
    downloaded and installed, and haven't run into any problems yet).  Thanks
    again for any help,
    
    Tony
    
    At 09:52 AM 6/10/99 -0700, you wrote:
    >I am in a similar position to the person below.  I am trying to install
    >Postgres 6.5beta3 on a Solaris 7 machine (64-bit libraries installed) using
    >egcs-1.1.2 and receive the following when trying to run the 'postmaster -i'
    >command:
    >
    >IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
    >size=1073152, permission=600
    >FATAL 1:  ShmemCreate: cannot create region
    >
    >Does anyone have some pointers on how to fix this?  Or any idea what the
    >problem is?  Thanks in advance,
    >
    >Tony
    
    ******************************************************************************
    * Anthony Brock                                         abrock@georgefox.edu *
    * Director of Network Services                         George Fox University *
    ******************************************************************************
    
    
  7. Re: [GENERAL] IPC Problems - URGENT !

    Marc G. Fournier <scrappy@hub.org> — 1999-06-10T18:11:36Z

    Okay, this one I can help with a bit better...
    
    If I remember correctly, this one is hitting you:
    
           -B n_buffers
                n_buffers  is the number of shared-memory buffers for
                the postmaster to allocate and manage for the backend
                server processes that it starts.  This value defaults
                to 64 buffers, where each  buffer  is  8k  bytes  (or
                whatever BLCKSZ is set to in config.h).
    
    For starting up postmaster, the default is 64 buffers...try setting -B to
    32 and see if htat helps...
    
    
    On Thu, 10 Jun 1999, Anthony Brock wrote:
    
    > I am in a similar position to the person below.  I am trying to install
    > Postgres 6.5beta3 on a Solaris 7 machine (64-bit libraries installed) using
    > egcs-1.1.2 and receive the following when trying to run the 'postmaster -i'
    > command:
    > 
    > IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
    > size=1073152, permission=600
    > FATAL 1:  ShmemCreate: cannot create region
    > 
    > Does anyone have some pointers on how to fix this?  Or any idea what the
    > problem is?  Thanks in advance,
    > 
    > Tony
    > 
    > At 11:21 PM 6/9/99 -0300, you wrote:
    > >On Wed, 9 Jun 1999, Thyagarajan wrote:
    > >> > On Wed, 9 Jun 1999, Thyagarajan wrote:
    > >> >
    > >> > > Hi all
    > >> > >     I am in a fix right now - i have been trying to install Postgres
    > >> > > 6.4.2 on Linux ( Calderra Open Linux).
    > >> > >     Everything goes on fine - i.e. configure,installation  etc.
    > >> > >
    > >> > >    At the time of starting of the Postmaster ( postmaster -S -D 'Data
    > >> > > Directory'), I get the following error :
    > >> > >
    > >> > >     IPCMemoryCreate : shmget (identifies removed) Key=5432010
    > >> > > size=24588, permission =700 .
    > >> > >     IPCMemoryAttach : shmget (identifies removed) Key=5432010
    > >> > > size=24588, permission =0 .
    > >> > >     IPCMemoryCreate : shmat failed (invalid argument) id=2 .
    > >> > >     FATAL 1 : AttachSLockMemory : could not attach segment .
    > >> > >
    > >> > > It will be really very kind of you if you could help me out.
    > >> > >
    > >> > > Thanks in advance
    > >> > > Thyaga
    > >> > >
    > >> > >
    > >> > >
    > >> >
    > >> > Marc G. Fournier                   ICQ#7615664               IRC Nick: 
    > >Scrappy
    > >> > Systems Administrator @ hub.org
    > >> > primary: scrappy@hub.org           secondary: 
    > >scrappy@{freebsd|postgresql}.org
    > >> 
    > >> 
    > >
    > >Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    > >Systems Administrator @ hub.org 
    > >primary: scrappy@hub.org           secondary:
    > scrappy@{freebsd|postgresql}.org 
    > >
    > 
    > ******************************************************************************
    > * Anthony Brock                                         abrock@georgefox.edu *
    > * Director of Network Services                         George Fox University *
    > ******************************************************************************
    > 
    
    Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
    Systems Administrator @ hub.org 
    primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
    
    
    
  8. Re: [GENERAL] IPC Problems - URGENT !

    Kevin Lo <kevlo@hello.com.tw> — 1999-06-12T03:17:46Z

    Anthony Brock wrote:
    
    > I am in a similar position to the person below.  I am trying to install
    > Postgres 6.5beta3 on a Solaris 7 machine (64-bit libraries installed) using
    > egcs-1.1.2 and receive the following when trying to run the 'postmaster -i'
    > command:
    >
    > IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
    > size=1073152, permission=600
    > FATAL 1:  ShmemCreate: cannot create region
    >
    > Does anyone have some pointers on how to fix this?  Or any idea what the
    > problem is?  Thanks in advance,
    
    Using ipcs to list shared resources, ipcrm to remove one.  The id is the
    number listed under shmid by ipcs.
    
    > Tony
    
    --
    Kevin Lo                        | Linpus Technologies Inc.
    kevinlo@linpus.com.tw           | http://www.linpus.com.tw