Provision or Refresh fails with: ORA-27300: OS system dependent operation:semget failed with status: 28 (KBA1509)
KBA
KBA#1509Applicable Delphix Versions
- Click here to view the versions of the Delphix engine to which this article applies
-
Major Release All Sub Releases 6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0, 6.0.2.1, 6.0.3.0, 6.0.3.1, 6.0.4.0, 6.0.4.1, 6.0.4.2, 6.0.5.0, 6.0.6.0, 6.0.6.1, 6.0.7.0, 6.0.8.0, 6.0.8.1, 6.0.9.0, 6.0.10.0, 6.0.10.1, 6.0.11.0, 6.0.12.0, 6.0.12.1, 6.0.13.0, 6.0.13.1, 6.0.14.0
5.3
5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0, 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0 5.2
5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1
5.1
5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0, 5.1.10.0
5.0
5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1, 5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4
Issue
Provisioning or refreshing an Oracle virtual database (VDB) fails with the following errors:
ORA-27300: OS system dependent operation:semget failed with status: 28 ORA-27301: OS failure message: No space left on device ORA-27302: failure occurred at: sskgpcreates
Another variation of the ORA-27300 error for Linux:
ORA-27102: out of memory Linux-x86_64 Error: 28: No space left on device
The error "ORA-27300: OS system dependent operation:semget failed with status: 28" is an issue that has to do with the configuration of the Oracle database and the target host environment. The second message "ORA-27301: OS failure message: No space left on device" is confusing and misleading as it leads the DBA to believe there are disk space issues when there are none.
Troubleshooting
The SEMMNI kernel parameter controls the number of semaphores per array. If set too low the additional semaphores needed cannot be created and a error will occur.
There is also a direct correlation to the DB init.ora parameter PROCESSES. With a higher PROCESSES number there needs to be a higher SEMMNI value at the OS level to compensate.
Resolution
- Use the "ipcs" and "sysctl" commands as instructed in the Oracle knowledgebase articles to determine if the SEMMNI kernel parameter is configured appropriately on the host to which the VDB is being provisioned.
- When provisioning a VDB, confirm that the "PROCESSES" parameter was set to an appropriate value for the target host. When you create a VDB, the Delphix Engine copies configuration settings from the source database and uses them to create the VDB. These values may not be appropriate if the VDB is being provisioned to a smaller target environment. Oracle configuration settings can be altered when provisioning a VDB. Templates can be created to save configuration parameters for future use.