My Oracle Support Banner

OID 11g on Sparc Solaris: Config Fails When Starting OID. OID Log Shows Error: gslmmshAttach2SHMs: shmat failed with os error: 22 (Doc ID 2310869.1)

Last updated on MARCH 06, 2019

Applies to:

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


Fresh installation of Oracle Internet Directory (OID) 11g on Oracle Sparc Solaris fails.

Oracle Installer hangs on starting OID as shown below:


The OID server process log (oidldapd01s<pid>-0000.log file shows error starting OID:

 [2016-12-08T14:29:08.286129-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 889048] [tid: 0] Main:: gslmmshMemMap: attaching shared memory size=1073741824
 [2016-12-08T14:29:08.286309-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 889048] [tid: 0] Main:: gslmmshAttach2SHMs: shmat failed with os error: 22
 [2016-12-08T14:29:08.286411-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 889048] [tid: 0] Main:: Attached to shared memory address=0d
 [2016-12-08T14:29:08.286483-06:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost] [pid: 889048] [tid: 0] Main:: gslmmMemMap: Did not get same virtual address


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

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