IT开放社区

ORA-01034: ORACLE not available

数据库在执行shutdown immediate后用非SYS用户登录SQL*Plus报此错;

[oracle@PROD ~]$ sqlplus scott/tiger
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 7 13:42:28 2017
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:

解决办法:SYS登录启库,其它连接即可用非SYS用户登录SQL*Plus。

会话1

SYS@itkaifang> startup
ORACLE instance started.
Total System Global Area  830930944 bytes
Fixed Size      2217912 bytes
Variable Size    507512904 bytes
Database Buffers   318767104 bytes
Redo Buffers      2433024 bytes
Database mounted.
Database opened.
SYS@itkaifang>

会话2

[oracle@itkaifang ~]$ sqlplus scott/tiger
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 7 13:48:37 2017
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Session altered.
SCOTT@itkaifang>

 

相关文章

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

网站分类
站点信息
  • 文章总数:119
  • 页面总数:2
  • 分类总数:3
  • 标签总数:12
  • 评论总数:2
  • 浏览总数:116129
友情链接

BlogPowerBy Z-BlogPHP 1.5 Zero ;Theme By 爱墙纸

Copyright © 2020-2030 ITkaifang.COM All Rights Reserved. 京ICP备13044647号.Email:dreamerqin@qq.com