Re: shared mem problem
Posted in 1996
Melvin Mariney (melvin.mariney2@bridge.bellsouth.com) wrote: : >We are having problems initializing shared memory. : >I installed our online 7.1 software. : >when i do a "init -i" : >the following 2 lines appear in the online.log : >13:51:46 shmget: [EEXIST][17]: key 52564801: shared memory already exists : >13:51:46 mt_shm_init: can't create resident segment : This message normally indicates that the Online was previously brought : up and there are shared memory segments still hanging around after the : Online was shutdown or aborted for some reason. Normally, all you need : to do is an 'ipcs' command to see what shared memeory segments exists : and then do an 'ipcrm x key' where x = segment type such as 'm' or 'q' : and key is the key value from your ipcs command. After this is done, : you can restart your Online or in your case, reinit. Another possibility is that you have another OnLine instance running on the same machine. Changing your SERVERNUM parameter to something other than 0 should fix that problem. ---------------------------------------------------------------------------- Bill Glidden Sr. Advanced Support Engineer E-mail: glidden@informix.com Advanced Support (415) 926-6904 Informix Software, Inc. ----------------------------------------------------------------------------