RE: mt_shm_remove: WARNING: may not have removed all/correct segm
Posted in 2000
> Manoj Narayanankutty (mnarayan@crosskeys.com) wrote:
> : Hi all,
> : I am running IDS 9.20 FC2-1 on HP-UX 11. While initializing the
> : server I get error as follows:
>
> : 09:26:29 Cannot Open Primary Chunk '/opt/resolve/data/db/rootdbs',
> : errno = 13
> : 09:26:29 Informix Dynamic Server 2000 Stopped.
> : 09:26:29 mt_shm_remove: WARNING: may not have removed all/correct
> : segments
> : ~
>
> : Any pointers/ workarounds, to overcome this ??
>
> : Thanks in advance,
>
> : Manoj
You need to remove the shared memory segments with an "ipcrm" command.
The Informix shared memory segments are owned by:
user=root, group=informix.
You can identify them by:
1) Adding your Informix SERVERNUM (in hex) to 5256.
2) Substitute the result from step (1) for "xxxx" in
the following command: ipcs -m | grep "xxxx"
For example, if SERVERNUM=30 (x'1E'), the command would be:
$ ipcs -m | grep 5274
m 10 0x52744801 --rw-rw---- root informix
m 11 0x52744802 --rw-rw---- root informix
m 12 0x52744803 --rw-rw-rw- root informix
Rick Bernstein