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.
- Products
- Easysoft ODBC-Oracle Driver
- Easysoft dbExpress-ODBC Gateway
- Easysoft ODBC-InterBase Driver
- Easysoft XML-ODBC Server
- Easysoft ODBC-JDBC Gateway
- Easysoft ODBC-Sybase Driver
- Easysoft ODBC-ODBC Bridge
- Easysoft JDBC-ODBC Bridge
- Easysoft ODBC-Firebird Driver
- Easysoft ODBC-LINC Developer Driver
- Easysoft ODBC-ISAM Driver
- Easysoft ODBC-Sage Tetra CS/3 Driver
- Easysoft ODBC-Zortec System Z Driver
- Easysoft ODBC-ODBC Join Engine
- Easysoft ODBC-SQL Server Driver
© 1993 - 2008 Easysoft Limited. All rights reserved.