My Oracle Support Banner

OID 11g Does Not Start Up After Upgrade on Solaris, oidldapd Logs Shows "shmat failed with os error: 22" (Doc ID 2107663.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

Two OID 11gs, i.e., 11.1.1.7 and 11.1.1.9 environments collocated in a Solaris 11 server.

The latter has just been upgraded from 11.1.1.7 and OID does not start up:

opmnctl status -l

Processes in Instance: asinst_ID
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
ias-component | process-type | pid | status | uid | memused | uptime | ports
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
oid3 | oidldapd | 277988 | Alive | 2085518605 | 21152 | 0:17:09 | N/A
oid3 | oidldapd | N/A | Down | N/A | N/A | N/A | N/A
oid3 | oidmon | 277981 | Alive | 2085518604 | 38376 | 0:17:09 | LDAPS:3133,LDAP:3062
oid1 | oidldapd | 256051 | Alive | 2085518591 | 17032 | 0:31:41 | N/A
oid1 | oidldapd | N/A | Down | N/A | N/A | N/A | N/A
oid1 | oidmon | 256026 | Alive | 2085518590 | 34368 | 0:31:42 | LDAPS:3132,LDAP:3061
EMAGENT | EMAGENT | 245240 | Alive | 2085518585 | 584 | 0:35:33 | N/A

 

Despite some ports showing up alive, OID does not respond on them.


A large number of oidldapd logs are generated showing the following messages:


[2016-02-08T17:54:57.662894-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 310245] [tid: 0] Main:: Loading config set parameters from entry cn=oid1,cn=osdldapd,cn=subconfigsubentry


[2016-02-08T17:54:57.780546-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 310245] [tid: 0] Main:: gslmmshMemMap: attaching shared memory size=1073741824

[2016-02-08T17:54:57.780723-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 310245] [tid: 0] Main:: gslmmshAttach2SHMs: shmat failed with os error: 22

[2016-02-08T17:54:57.780801-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 310245] [tid: 0] Main:: Attached to shared memory address=0d

[2016-02-08T17:54:57.780872-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 310245] [tid: 0] Main:: gslmmMemMap: Did not get same virtual address

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.