Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How linux shuts down the oracle service

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how linux shuts down the oracle service, I believe most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!

Linux shuts down the oracle service: 1, use the "ps-ef | grep oracle" command to check the status of the oracle instance and listening; 2, use the "lsnrctl stop" command to turn off listening; 3, use the "shutdown immediate" command to shut down the instance.

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

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

Step 2: check the status of oracle instances and listeners. Command: ps-ef | grep oracle. The red box indicates listening, and ora_xx_orcl indicates some instances. The following indicates that both instances and listeners are enabled

Step 3: disable listening. Command: lsnrctl stop. As for the order of closing listening and closing instances, it is recommended to disable listening first.

Step 4: close the instance with the following command. If the sql command is entered incorrectly, you can delete it using Ctrl+Backspace.

Step 5: check the status of oracle service and listening again, as shown in the figure below. There are no instances and listeners running at this time. At this point, the shutdown of oracle service is completed.

The above is all the contents of the article "how linux shuts down oracle Services". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report