SLES 12: Database Startup Error with ORA-27300 ORA-27301 ORA-27303 While Starting using Srvctl (Doc ID 2340986.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Linux x86-64

SYMPTOMS

12.1 RAC database error while starting via srvctl, alert log showing database startup and further goes down

通过 srvctl 启动12.1 RAC数据库时出现错误,alert log显示database startup and further goes down

alert_ORCL2.log inside <oracle base>/diag/rdbms/<db name>/<SID name>/trace:

----------------------------------------------------------------------------------------------------------------

Fri Nov 03 15:06:25 2017
Adjusting the default value of parameter parallel_max_servers  
from 960 to 486 due to the value of parameter processes (600)
Starting ORACLE instance (normal) (OS id: 19684)
.
.
Fri Nov 03 15:10:45 2017
Process startup failed, error stack:
Fri Nov 03 15:10:45 2017
Errors in file /u01/app/oracle/diag/rdbms/ORCL/ORCL2/trace/ORCL2_psp0_19706.trc:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3
Fri Nov 03 15:10:46 2017
Shutting down instance (abort)
License high water mark = 2
Fri Nov 03 15:10:46 2017
USER (ospid: 22067): terminating the instance
Fri Nov 03 15:10:47 2017
Instance terminated by USER, pid = 22067
Fri Nov 03 15:10:47 2017
Instance shutdown complete
Errors in file //u01/app/oracle/diag/rdbms/ORCL/ORCL2/trace/ORCL2_mmon_19853.trc (incident=14681):
ORA-00600: internal error code, arguments: [KSLGES_3], [], [], [], [], [], [], [], [], [], [], []
ORA-27300: OS system dependent operation:semop failed with status: 43
ORA-27301: OS failure message: Identifier removed
ORA-27302: failure occurred at: sskgpwwait1
Incident details in: /u01/app/oracle/diag/rdbms/ORCL/ORCL2/incident/incdir_14681/ORCL2_mmon_19853_i14681.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.

ORCL2_psp0_19706.trc: 

-------------------------------------------------------------------------------------------------------------------

*** 2017-11-03 15:10:44.989
Process startup failed, error stack:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3

*** 2017-11-03 15:10:45.993
Process startup failed, error stack:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3

 ORCL2_mmon_19853.trc:

-------------------------------------------------------------------------------------------------------------
*** 2017-11-03 15:09:57.908
***KELR Apply Log: unable to schedule MMON Slave, error 3

*** 2017-11-03 15:10:47.847
Incident 14681 created, dump file: /u01/app/oracle/diag/rdbms/ORCL/ORCL2/incident/incdir_14681/ORCL2_mmon_19853_i14681.trc
ORA-00600: internal error code, arguments: [KSLGES_3], [], [], [], [], [], [], [], [], [], [], []
ORA-27300: OS system dependent operation:semop failed with status: 43
ORA-27301: OS failure message: Identifier removed
ORA-27302: failure occurred at: sskgpwwait1

KEBM: MMON action policy violation. ‘PQ: Adjust Slave Pool‘ viol=0; err=600
error 0 detected in background process
kgxgnsdr: clssgsshdereg: warning: return status 26 (-558242808 )
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-00600: internal error code, arguments: [KSLGES_3], [], [], [], [], [], [], [], [], [], [], []
ORA-27300: OS system dependent operation:semop failed with status: 43
ORA-27301: OS failure message: Identifier removed
ORA-27302: failure occurred at: sskgpwwait1
kgxgnsdr: clssgsshdereg: warning: return status 26 (-813323584 )

Following error reported in OS logs

messages:

2017-11-03T15:10:11.690393+01:00 rachost1 Oracle Audit[7888]: LENGTH : ‘200‘ ACTION :[52] ‘ALTER DATABASE MOUNT /* db agent *//* {2:39656:2} */‘ DATABASE USER:[1] ‘/‘ PRIVILEGE :[6] ‘SYSDBA‘ CLIENT USER:[6] ‘oracle‘ CLIENT TERMINAL:[0] ‘‘ STATUS:[1] ‘0‘ DBID:[10] ‘2949004148‘
2017-11-03T15:10:47.700094+01:00 rachost1 kernel: [ 173.788859] cgroup: fork rejected by pids controller in /system.slice/ohasd.service <<<<<<<<<<<<<<<<<<<<<

Database able to startup with sqlplus.   能够使用sqlplus启动的数据库

CAUSE

This is due the PIDs cgroup controller introduced with SUSE12.  这是由于 SUSE12 附带的 PIDs cgroup 控制器

From the "Support for PIDs cgroup Controller" section on https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12-SP2/#fate-320358

"To control the default TasksMax= setting for services and scopes running on the system, use the system.conf setting DefaultTasksMax=. This setting defaults to 512, which means services that are not explicitly configured otherwise will only be able to create 512 processes or threads at maximum.

要控制TasksMax的默认值,请使用system.conf设置DefaultTasksMax。此设置默认为512,这意味着未明确配置的服务最多只能创建512个进程或线程。

For thread- or process-heavy services, you may need to set a higher TasksMax value. In such cases, set TasksMax directly in the specific unit files. Either choose a numeric value or even infinity."

对于大量使用线程或进程的服务,您可能需要设置更高的TasksMax值。 在这种情况下,请直接在特定 unit files 中设置 TasksMax。 选择一个数字值,甚至选择infinity。”

From SLES12 onwards, systemd is used instead of initd and the OHASD server is only allowed to open a maximum of 512 tasks.

从SLES12开始,使用systemd代替initd,并且只允许OHASD服务器打开最多512个任务。

SOLUTION

Configure the value of DefaultTasksMax to 65535 in the file /etc/systemd/system.conf or or set the TasksMax value properly for the ohasd systemd service.

在文件 /etc/systemd/system.conf 中将 DefaultTasksMax 的值配置为65535,或者为 ohasd systemd 服务正确设置TasksMax值。

For example:

# cat /etc/systemd/system/ohasd.service.d/lunar.conf
[Service]
TasksMax=16384 <<<<<<<<<<<

# systemctl status ohasd
● ohasd.service - LSB: Start and Stop Oracle High Availability Service
Loaded: loaded (/etc/init.d/ohasd; bad; vendor preset: disabled)
Drop-In: /etc/systemd/system/ohasd.service.d
└─lunar.conf
Active: active (exited) since Mon 2017-11-13 14:29:23 CET; 3h 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 4876 ExecStart=/etc/init.d/ohasd start (code=exited, status=0/SUCCESS)
Tasks: 612 (limit: 16384) <<<<<<=================== here was the limit with 512

原文地址:https://www.cnblogs.com/zylong-sys/p/12054385.html

时间: 2024-10-08 22:36:32

SLES 12: Database Startup Error with ORA-27300 ORA-27301 ORA-27303 While Starting using Srvctl (Doc ID 2340986.1)的相关文章

当windows主机的逻辑cpu个数多于32个时,Database startup hangs

Bug 9772171 - Database startup hangs on Windows when machine has more than 64 cores [9772171.8] 在windows下使用特定版本的oracle db(特指单机,非rac),若是windows的逻辑cpu个数超过32个,oracle db 可能启动不起来,或者db起来有异常:内存溢出之类的. 若是属于此种情况,那就基本上命中了一个bug, 该bug为:Bug 9772171 - Database star

DATABASE CONNECTION ERROR (1): THE MYSQL ADAPTER &#39;MYSQLI&#39; IS NOT AVAILABLE.解决办法

网站迁移之后遇到:Database connection error (1): The MySQL adapter 'mysqli' is not available.这个问题,我一开始以为是我配置的参数错了呢!然后回去检查,检查好几遍我的数据库账号和密码都没错,但是为什么就是连接不上数据库呢?? 网上有人说是"可能有你安装wamp或者xamp之后,sqlserver的服务没有启动,你可以到系统服务菜单里看看这个是否自动启动."但是我问过空间商,他们说默认都是开启的,然后他们也检查了数

linux安装phpstorm出现 Startup Error: Unable to detect graphics environment

在centos6.2下在安装phpstorm下遇到 Startup Error: Unable to detect graphics environment 其中jdk安装的版本是 1.7.0_79 使用 1.8.0_25 出现问题,然后更换 1.7.0_79 后出现的问题就剩下上面那一个了 phpstorm的版本是 PhpStorm-9.0.2.tar.gz 然后加入环境变量 export DISPLAY=:0.0 后在 phpstorm/bin 下运行 ./phpstorm.sh 就好了,命

wsse:InvalidSecurity Error When Testing FND_PROFILE Web Service in Oracle Applications R 12.1.2 from SOAP UI (Doc ID 1314946.1)

wsse:InvalidSecurity Error When Testing FND_PROFILE Web Service in Oracle Applications R 12.1.2 from SOAP UI (Doc ID 1314946.1) Modified: 10-Nov-2013 Type: PROBLEM   In this Document   Symptoms   Cause   Solution   References Applies to: Oracle E-Bus

android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error(Sqlite code 14): Could not open database,(OS error - 13:Permission denied)

07-24 15:03:14.490 6291-6291/com.tongyan.nanjing.subway E/SQLiteDatabase: Failed to open database '/storage/emulated/0/TYSubway/structure/db/TYSubwayInspcetionNJ.db'. android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error(Sqlite code

Service Broker needs to access the master key in the database ‘BRM_TEST’. Error code:32. The master key has to exist and the service master key encryption is required.

Service Broker needs to access the master key in the database ‘BRM_TEST’. Error code:32. The master key has to exist and the service master key encryption is required. 日志错误:Service Broker needs to access the master key in the database 'BRM_TEST'. Err

Python 3 启动IDLE时报错Subprocess Startup Error的解决办法

最近在公司计算机(Windows)上安装Python 3.7.3,安装完成后本打算直接运行IDLE.结果IDLE提示错误Subprocess Startup Error,点击“确定”按钮后IDLE自行关闭. 解决方案如下: 1. 找到并打开:<Python的安装目录>\Lib\idlelib\pyshell.py文件. 2. 找到函数定义"def main():". 3. 在步骤2语句所在行的往下几行找到如下语句,并修改.            use_subprocess

Start Failed, Internal error: recovering IDE to the working state after the critical startup error

Start Failed, Internal error: recovering IDE to the working state after the critical startup error FOLLOW Serge Baranov Updated Yesterday at 06:05 Symptoms IDE shows the Start Failed dialog with the exception stacktrace and the following text: Intern

ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as Well as Any Application That Uses a Shared Memory Segment (SHM) or Semaphores (SEM) (Doc ID 2081410.1)

数据库实例自动crash并报ORA-27157.ORA-27300等错误 一.文档: ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as Well as Any Application That Uses a Shared Memory Segment (SHM) or Semaphores (SEM) (Doc ID 2081410.1) In this Document Descri