Home > Operation and Maintenance > Linux Operation and Maintenance > How to shut down oracle service in linux

How to shut down oracle service in linux

WBOY
Release: 2021-12-27 17:35:10
Original
12062 people have browsed it

How to shut down the Oracle service in Linux: 1. Use the "ps -ef|grep oracle" command to check the status of the Oracle instance and monitoring; 2. Use the "lsnrctl stop" command to close the monitoring; 3. Use "shutdown immediate" ” command to close the instance.

How to shut down oracle service in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to shut down the oracle service in Linux

Step 1: If you are not logged in as the oracle user, you need to switch users. The command is: su - oracle, as shown below, I logged in as the root user. When I need to operate the database, I need to switch to the oracle user

How to shut down oracle service in linux

Step 2: View the oracle instance and monitoring status, command: ps -ef|grep oracle, the red box indicates monitoring, ora_xx_orcl indicates some instances, the following content indicates that both instances and monitoring are started;

How to shut down oracle service in linux

Step 3: Turn off the listening, command: lsnrctl stop. As for the order of turning off the listening and closing the instance, it is recommended to turn off the listening first,

How to shut down oracle service in linux

Step 4: Turn off the instance, the command is as follows , if the sql command is entered incorrectly, you can use Ctrl Backspace to delete it;

How to shut down oracle service in linux

Step 5: Check the status of the oracle service and monitoring again, as shown below, there is no The instance and monitor are running. At this point, the Oracle service is shut down.

How to shut down oracle service in linux

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of How to shut down oracle service in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template