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

Oracle idle instance case

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

Share

Shulou(Shulou.com)06/01 Report--

Usually, either there is a problem with the environment variable, or there is a problem with the oracle execution file permissions, or the root user is used, or the oracle_sid export is set incorrectly, or the database itself is not started, and so on.

The scenario described in this article is about an environment variable:

Su-oracle

Export ORACLE_SID

Sqlplus / as sysdba

The above steps are all set correctly, and it is normal to check the environment variable oracle_home. However, the .bash _ profile you checked at this time may have been corrected later, and the environment variable running pmon may not be at this time.

The parameters set in .bash _ profile.

Solution:

Ps-ef | grep pmon-find the process ID

Cat / proc/pmon_id/environ

Look at the environment variables that pmon is running and match to check what went wrong. Make changes based on the error parameters (restart the instance takes effect)

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

Database

Wechat

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

12
Report