SUSE Support

Here When You Need Us

Avoid Oracle "Crash Recovery" on system startup

This document (7024200) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 Service Pack 4 (SLES 12 SP4)
SUSE Linux Enterprise Server 15 Service Pack 1 (SLES 15 SP1)

Situation

SQLPLUS is used to startup the Oracle Database. 
When server is rebooted, the Oracle Database starts up with crash recovery notifications. 

The following could be seen in Oracle log files: 

Beginning crash recovery of 1 threads
.....
Completed crash recovery at
Thread 1: RBA 6797.20886.16, nab 20886, scn 0x0000000013040c18

Note: It doesn't matter if server runs single or multiple Instance.

Resolution

When restarting Oracle Database manually using "sqlplus", kindly manually stop Oracle Database service using "systemctl stop oracle.service" to avoid such error.

Once instance stopped via sqlplus, use: "systemctl restart oracle.service" which is basically stop/start of all instances registered in "/etc/oratab".

To avoid restarting a running instances,, adjust "/etc/oratab" to control specific instance. Starting up Oracle Database using systemctl will run it under system slice. 

Cause

This is caused by sqlplus start/stop operations, causing systemd to switch process from system to user slice.

Additional Information

Please be aware that sqlplus is not the only Oracle tool which will switch processes to user slice. 
For example other command-line Oracle DB management tools (like dbca, etc.) will do the same.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7024200
  • Creation Date: 23-Oct-2019
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.