今天刚装了oracle11g,配制好了之后启动数据库时遇到下面的错误:
SQL> startup
ORA-27154: post/wait create failed
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
Tuning Semaphore Parameters. Refer to the following guidelines.
1. Calculate the minimum total semaphore requirements using the following formula:
2*sum (process parameters of all database instances on the system) + overhead for background processes + system and other applications.
2. Set semmns (total semaphores systemwide) to this total.
3. Set semmsl (semaphores for each set ) to 256
4. Set semmni (total semaphores sets) to semmns devided by semmsl, rounded up to the nearest multiple of 1024
Example of default setting in /etc/sysctl.conf on Oracle Linux:
[root@node1 etc]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Oracle Enterprise Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0