Re: shared mem init failed
Posted in 1999
'n one might ask how do we clean up the shared memory for a particular
instance, well...take the SERVERNUM [ex. 35] convert it into a
hex value [23], add it to "5256" (always) that gives us [5279] and now look
for all the
shared memory segments with KEY's starting with 0x5279 (run ipcs -m), these
are the shared memory segments of the instance with SERVERNUM=35.
You can then kill each segment by executing ipcrm -m segid, that
should solve the shared memory already exists problem...;-)
--Anil
gptheo@my-deja.com wrote:
> hi,
>
> i try to init the server via onmonitor-startup (or oninit -s), i get the
> following error :
>
> oninit: Fatal error in shared memory creation.
>
> the online.log file:
>
> 20:59:20 shmget: [EEXIST][17]: key 52564801: shared memory already> exists
> 20:59:20 mt_shm_init: can't create resident segment>
> what do I have to do ?
>
> thanks,
> theo
>
> theo
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.