Unable to remove shared memory in Redhat Linux

unable to remove shared memory using ipcrm -m in linux

[pin01@brmhost lib]$ ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 32768      root      644        80         2                       
0x00000000 65537      root      644        16384      2                       
0x00000000 98306      root      644        280        2                       
0x00000000 196612     pin01     600        393216     2          dest         
0x00000000 229381     pin01     600        393216     2          dest         
0x00000000 262150     pin01     600        393216     2          dest         
0x00000000 294919     pin01     600        393216     2          dest         
0x00000000 327688     pin01     600        393216     2          dest         
0x00000000 360457     pin01     600        393216     2          dest         
0x00000000 393226     pin01     600        393216     2          dest         
0x00000000 425995     pin01     600        393216     2          dest         
0x00000000 458764     pin01     600        393216     2          dest         
0x00000000 491533     pin01     600        393216     2          dest

tried to remove as below:

[pin01@brmhost lib]$ ipcrm -m 196612

but still the shared memory is not removed

[pin01@brmhost lib]$ ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 32768      root      644        80         2                       
0x00000000 65537      root      644        16384      2                       
0x00000000 98306      root      644        280        2                       
0x00000000 196612     pin01     600        393216     2          dest         
0x00000000 229381     pin01     600        393216     2          dest         
0x00000000 262150     pin01     600        393216     2          dest         
0x00000000 294919     pin01     600        393216     2          dest         
0x00000000 327688     pin01     600        393216     2          dest         
0x00000000 360457     pin01     600        393216     2          dest         
0x00000000 393226     pin01     600        393216     2          dest         
0x00000000 425995     pin01     600        393216     2          dest         
0x00000000 458764     pin01     600        393216     2          dest         
0x00000000 491533     pin01     600        393216     2          dest    
196612

any help from any one ?
Thanks

What error code or message are you getting when you try to remove the shared memory?

No error message, no informationis displayed

ipcs -a
ipcs -a|grep -e key -e 196612

remember msgid and semid

ipcrm -s semid
check
ipcs -m 196612

if need

ipcrm -q msgid
check
ipcs -m 196612

if need
change user to root
repeat

Check for a script named "ipcclean" that should be part of the postgres package. I would look there for answers.