Easysoft software allocates semaphores in groups of twelve. In certain instances (and in our experience this is most likely on SCO OpenServer) an Easysoft licensing error can occur because the maximum number of available semaphores has been exceeded.
Errors concerning semaphores usually indicate that all available semaphores have been used and there is no room to create a new structure. Easysoft semaphores can be identified as they are allocated in groups of 12 (e.g. 12, 24, 36 etc.).
To view existing semaphores, change to root user and type:
ipcs -sa
This will bring back something along the lines of:
IPC status from /dev/kmem as of Thu Jan 24 10:34:58 2002 T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTI Semaphores: s 0 0x002ab0df --ra------- root sys root sys 1 10:009 s 1 0x000018e5 --ra-ra-ra- root sys root sys 1 0:039 s 2 0x6f2a6e5b --ra-ra-ra- root sys root sys 24 12:256 s 3 0x792a93b8 --ra-ra-ra- root sys root sys 1 12:547 s 4 0x702a6e5b --ra-ra-ra- root sys root sys 12 11:339 s 15 0x6f2a6e55 --ra-ra-ra- root sys root sys 24 12:543 s 16 0x702a6e55 --ra-ra-ra- root sys root sys 12 12:546
To remove a semaphore, type the following:
ipcrm -s "id of semaphore"
e.g.:
ipcrm -s 15
This will then free up the slot.