解决连接Oracle 11g报ORA-01034和ORA-27101的错误

背景:

使用sqlplus连接oracle,提示ORA-01034和ORA-27101,具体内容如下:

ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0

解决方法是执行以下命令:

复制代码

C:\Documents and Settings\Administrator>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Thu Nov 7 17:16:47 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area  778387456 bytes
Fixed Size                  1374808 bytes
Variable Size             503317928 bytes
Database Buffers          268435456 bytes
Redo Buffers                5259264 bytes
Database mounted.
Database opened.

 此时可能会报出ORA-03113这样的错误,如下所示

 

SQL> startup
ORACLE instance started.

Total System Global Area 3423965184 bytes
Fixed Size                  2180544 bytes
Variable Size            2550139456 bytes
Database Buffers          855638016 bytes
Redo Buffers               16007168 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 9116
Session ID: 191 Serial number: 3
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值