OID 11g Log Error "sgsluslLockRelease: Failed To Aquire Semaphore/mutex OS Error: 22" or "gslmmshAttach2SHMs: shmat failed with os error: 22" / "gslmmMemMap: Did not get same virtual address"

(Doc ID 2105157.1)

Last updated on AUGUST 29, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) 11g, i.e., 11.1.1.9.

The OID ldap server (oidldapd) logs continuously reporting the following error:

sgsluslLockRelease: Failed to aquire semaphore/mutex os error: 22
sgsluslLockAquire: Failed to aquire semaphore/mutex os error: 22


Other potential OID log error examples can include:

OID Server log:

[2017-06-15T17:30:17.20694-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 7572] [tid: 0] Main:: gslmmshMemMap: attaching shared memory size=1073741824
[2017-06-15T17:30:17.20826-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 7572] [tid: 0] Main:: Attached to shared memory address=6b600000d
[2017-06-15T17:30:17.20876-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 7572] [tid: 0] Main:: gslmmMemMap: Did not get same virtual address

Or OID Server log:

[2017-08-09T15:39:36.593147-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 11952] [tid: 0] Main:: Loading config set parameters from entry  cn=oid1,cn=osdldapd,cn=subconfigsubentry
[2017-08-09T15:39:36.706194-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 11952] [tid: 0] Main:: gslmmshMemMap: attaching shared memory size=1073741824
[2017-08-09T15:39:36.706301-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 11952] [tid: 0] Main:: gslmmshAttach2SHMs: shmat failed with os error: 22
[2017-08-09T15:39:36.706347-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 11952] [tid: 0] Main:: Attached to shared memory address=0d
[2017-08-09T15:39:36.706387-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 11952] [tid: 0] Main:: gslmmMemMap: Did not get same virtual address

And/Or OID Dispatcher log:

[2017-06-15T17:30:16.582718-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 7568] [tid: 0] Main:: Starting OIDLDAP Server,PID=7572
[2017-06-15T17:30:16.583609-04:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.example.com] [pid: 7568] [tid: 0] Main:: ShmIndex=0 ServPid=7572 InstNum=1
Log file (/u01/app/oracle/product/fmw/oid_inst_1//diagnostics/logs/OID//oid1//oiddispd01-0000.log) creation falied. 
OS error=2
Log file (/u01/app/oracle/product/fmw/oid_inst_1//diagnostics/logs/OID//oid1//oiddispd01-0000.log) creation falied. 
OS error=2



Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms