博客文章除注明转载外,均为原创。转载请注明出处。
本文链接地址:http://blog.chinaunix.net/uid-31396856-id-5818898.html

Oracle当前正在运行,但是登录出现问题,描述如下:
Connected to an idle instance问题处理-LMLPHP

这类问题通常是环境变量设置的问题。比如sid,但是我这里设置了sid=orcl还是这样,无法登录

处理如下:

找到pmon进程的pid,然后查看pmon进程的参数配置
Connected to an idle instance问题处理-LMLPHP

排版比较乱。我已经做了标记。细心的可以发下ORACLE_HOME的变量有点异常,多了个/
Connected to an idle instance问题处理-LMLPHP

因此设置:
export ORACLE_HOME=/opt/oracle//oracle/product/11.2.0/
重新登录数据库
Connected to an idle instance问题处理-LMLPHP

OK!
文档参考:"Connectedto an Idle Instance" Message when Connecting Bequeath to a RunningInstance

--The End

09-10 00:02
查看更多