`
streamsong
  • 浏览: 79897 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

ORA-01034、ORA-27101和ORA-28056错误解决方法

阅读更多

今天登录数据库的时候遇到了ORA-01034ORA-27101错误

C:\Documents and Settings\Administrator>set ORACLE_SID=STREAM

C:\Documents and Settings\Administrator>SQLPLUS STREAM/STREAM

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 10月 10 22:34:53 2011

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

ERROR:     

ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist

进程 ID: 0

会话 ID: 0 序列号: 0

原因是数据库没有启动成功,共享内存没有分配ORACLE实例资源,利用SYS登录报ORA-28056错误

C:\Documents and Settings\Administrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 10月 10 22:39:11 2011

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

ERROR:

ORA-28056: Writing audit records to Windows Event Log failed

ORA-28056: Writing audit records to Windows Event Log failed

请输入用户名:

原来是Windows的日志满啦,系统无法写入新的日志,解决方法是打开Windows的事件管理器,删除里面的日志即可。

右键应用程序、系统等,选择删除所有事件,即可删除Windows日志,日志删除后,问题解决。

C:\Documents and Settings\Administrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 10月 10 22:43:52 2011

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

已连接到空闲例程。

QL> startup

ORACLE 例程已经启动。

Total System Global Area  313860096 bytes

Fixed Size                  1374304 bytes

Variable Size             218105760 bytes

Database Buffers           88080384 bytes

Redo Buffers                6299648 bytes

数据库装载完毕。

数据库已经打开。

普通用户也可以登录数据库了

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

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 10月 10 22:47:32 2011

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

连接到:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>

问题解决。

 

 

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics