Re: shared mem init failed
Posted in 1999
Just use 'ipcs -m' to see the shared memory
segments with group informix and remove them (of course if you
are sure you have just one Informix Server instance on your server
up at a time). Then use ipcrm to remove these shared memory segments.
Of course before this you should check you have no other Informix instances
up and you are not removing wrong shared memory segments!!!
Best Regards,
Octav
On Mon, Jul 26, 1999 at 10:58:45PM +0000, Adam Richards wrote:
> WE have had this a couple times when a developer using xterm opens dbaccess
> then kills the xterm before closing the dbaccess session.
>
> easiest solution is to re-boot.
>
> there is also a unix program to clear out certain parts of shared memeory,
> but i dont know how to use it.
>
>
> Neil Truby wrote:
>
> > It probably means that an instance with the same SERVNUM is already running,
> > or possibly that it didn't come down cleanly. You can use ipcrm to remove
> > the relevant shared memory segments.
> >
> > Neil Truby
> > Londis Stores
> > Hampton Hill, UK
> >
> > gptheo@my-deja.com wrote in message <7na7md$qmb$1@nnrp1.deja.com>...
> > >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.
>
> --
> Adam Richards, MCI WorldCom - V622-1328 - 719-535-1328
> WWW: http://166.37.1.157/
> EMAIL: adam.richards@wcom.com
>
--
Octav Chiriac Phone: (373) 2 22 99 67
NetInfo S.R.L. Fax: (373) 2 21 36 59
Chisinau (373) 2 22 84 88
Moldova, Republic of mailto:com@netinfo-moldova.com