Fixing a Shared Memory Segment Conflict on AIX

You edit the mqs.ini file, found in the /var/mqm directory, to fix a shared memory segment conflict with the EAI MQSeries Server Transport on AIX.

To fix a shared memory segment conflict with the EAI MQSeries Server Transport on AIX

  1. Shut down any queue manager connected to the EAI MQSeries Transport.

  2. Edit the /var/mqm/mqs.ini file.

    In the QueueManager section for each queue manager of interest, add an additional line explicitly specifying the shared memory segment to use. For example:
    QueueManager:
    Name=myQueueManager
    Prefix=/var/mqm
    Directory=myQueueManager
    IPCCBaseAddress=12
    
  3. Restart each queue manager.

Note: This example shows shared number 12 as the memory segment number. Valid values for the IPCCBaseAddress are 4, 5, 8, 9, 10, 11, and 12, although 8 has been found to be problematic. It is possible to get a shared memory segment conflict even with the number set to 12, if the operating system has allocated segment 12 to the EAI MQSeries Server process ahead of the queue manager. If this is the case, then a different segment number must be specified.