Обсуждение: IPC Problems - URGENT !

Поиск
Список
Период
Сортировка

IPC Problems - URGENT !

От
Thyagarajan
Дата:
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



Re: [GENERAL] IPC Problems - URGENT !

От
The Hermit Hacker
Дата:
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


Re: [GENERAL] IPC Problems - URGENT !

От
Thyagarajan
Дата:
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


Re: [GENERAL] IPC Problems - URGENT !

От
The Hermit Hacker
Дата:
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


Re: [GENERAL] IPC Problems - URGENT !

От
Anthony Brock
Дата:
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 *
******************************************************************************

Re: [GENERAL] IPC Problems - URGENT !

От
Anthony Brock
Дата:
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 *
******************************************************************************

Re: [GENERAL] IPC Problems - URGENT !

От
The Hermit Hacker
Дата:
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


Re: [GENERAL] IPC Problems - URGENT !

От
Kevin Lo
Дата:
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