ORA-01034: ORACLE not available解决
Posted mvpbang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-01034: ORACLE not available解决相关的知识,希望对你有一定的参考价值。
问题现象:
alter user scott account unlock;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
[[email protected] ~]$ echo $ORACLE_SID xxxx [[email protected] ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 12 14:58:57 2017 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle instance. SQL> select userenv(‘language‘) from udal; select userenv(‘language‘) from udal * ERROR at line 1: ORA-01034: ORACLE not available Process ID: 0 Session ID: 0 Serial number: 0
问题解决:
确认当前实例对不
export ORACLE_SID=xxxx --设置
echo $ORACLE_SID=xxxx --查看
查看监听状态
lsnrctl status
sqlplus sys/[email protected] as sysdba #明确登录的用户及实例,就OK了
[[email protected] ~]$ sqlplus sys/123123@sznfpt as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 12 15:02:47 2017 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> SQL> SQL> alter user scott account unlock; User altered. SQL> SQL> SQL> alter user scott identified by 123123; User altered. SQL>
以上是关于ORA-01034: ORACLE not available解决的主要内容,如果未能解决你的问题,请参考以下文章
ORA-01034:ORACLE not available ORA-27101:shared memory realm does not exit
Oracle重启 error: ora-01034:oracle not available ora-27101:shared memory realm does not exist
ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist
[转]ORA-01034: ORACLE not available如何解决
DBCA创建数据库ORA-01034 ORACLE not available
ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: