DOCUMENT ID:  0908-02

SYNOPSIS:     Enabling the IPC facilities using Solaris X86

OS RELEASE:   2.1, 2.4, 2.5 

PRODUCT:      Solaris x86

KEYWORDS:     IPC facilities shared memory message queue semaphore


DESCRIPTION:

Describes the enabling and testing of IPC facilities: shared memory,
message queues, and semaphores.  Requires changes to the /etc/systems. 

Solution for the ipc messages "facility not in system".


SOLUTION:

Background data

When ipcs command is entered two basic responses may be displayed:

   Message Queue facility not in system.
   Shared Memory facility not in system.
   Semaphores:

This indicates no IPC facilities are not attached.

IPC status from  as of Tue Apr  5 xx:xx:xx 199x
   T     ID     KEY        MODE    OWNER       GROUP
   Message Queues:
   Shared Memory:
   Semaphores:

This indicates the IPC facilities are attached but without
activity.

The command sysdef -i may be entered to show the current system
definition of the running kernel including configured values, configured
(attached) facilities. 

The system as originally installed has facility files located:

   Shared Memory             /kernel/sys/shmsys
   Message Queues            /usr/kernel/msgsys
   Semaphores                /usr/kernel/semsys

The /etc/system file contains specifications utilized during kernel
loading.  Overriding default values and modules to be attached during
initial kernel loading must be included. 


The file /etc/system must be edited - up to three lines must be added in
the "forceload" section, dependent on the facilities required. 

   forceload sys/shmsys
   forceload sys/msgsys
   forceload sys/semsys

This will ensure the loading of the facilities on the next "boot".

The facilities may be temporally attached to the running kernel by using
the modload command for each of the modules. 

Both the "sysdef" and "ipcs" command may be used to verify the
facilities are active. 


DATE APPROVED: 09/12/95