Easysoft
ODBC Drivers for Oracle, SQL Server, Firebird, ISAM, InterBase, Sybase, MS Access & more.

Easysoft Data Access

Why do I get a license error stating the application was unable to create a semaphore when attempting to connect an ODBC compliant application to my Easysoft application?

Article : 00683
Last Reviewed : 8th January 2007
Revision : 1

Easysoft software allocates semaphores in groups of twelve. In certain instances (and in our experience this is most likely on SCO OpenServer) the maximum number of 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.

Applies To

Knowledge Base Feedback

* Did this content help you?
Yes
No
Maybe
 
* Please select one option based on your first choice:
I'm very satisfied
I think it will help, but I haven't tried it yet
It is helpful, but I need more information
It is helpful, but hard to understand
Seemed relevant in search results, but didn't help me
The information is incorrect
The page contains one or more broken links
 
  Suggest new content or let us know how we can improve this content:

 
  (* Required Fields)   



© 1993 - 2008 Easysoft Limited. All rights reserved.