1.现象 由于之前启动过一次报错,首先关闭数据库,然后重启 $ sqlplus / as sysdba SQL*Plus: Release 11.2.0.2.0 Production on 星期二 5月 26 15:36:50 2015 Copyright (c) 1982, 2010, Oracle. All rights reserved. 连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> shutdown immediate ORA-01507: database not mounted ORACLE 例程已经关闭。 SQL> SQL> startup ORACLE 例程已经启动。 Total System Global Area 5.3447E+10 bytes Fixed Size 2232248 bytes Variable Size 3.2481E+10 bytes Database Buffers 2.0938E+10 bytes Redo Buffers 26517504 bytes ORA-01102: cannot mount database in EXCLUSIVE mode SQL> SQL> exit 从 Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开 $ sqlplus / as sysdba SQL*Plus: Release 11.2.0.2.0 Production on 星期二 5月 26 15:43:32 2015 Copyright (c) 1982, 2010, Oracle. All rights reserved. 连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> SQL> shutdown immediate ORA-01507: database not mounted ORACLE 例程已经关闭。 SQL> SQL> exit 从 Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开 2.分析原因 到$ORACLE_HOME/dbs下找到lk开头文件,这个错误主要是lk<SID>文件造成的 它的主要作用是说明DATABASE MOUNT上了,不用在MOUNT了;DATABASE UNMOUNT 后会自动删除,但异常情况时文件存在的话,即使数据库已经停掉,系统也会认为数据库已经mount了 $ cd $ORACLE_HOME/dbs $ ls -l total 96 -rw-rw---- 1 oracle oinstall 1544 Nov 17 2014 hc_DBUA0.dat -rw-rw---- 1 oracle oinstall 1544 Nov 17 2014 hc_itdb1.dat -rw-rw---- 1 oracle oinstall 1544 May 26 15:43 hc_itsys.dat -rw-rw---- 1 oracle oinstall 1544 May 26 15:43 hc_itsys1.dat -rw-rw---- 1 oracle oinstall 1544 May 13 16:16 hc_orcl.dat -rw-r--r-- 1 oracle oinstall 2851 May 15 2009 init.ora -rw-r----- 1 oracle oinstall 24 Nov 17 2014 lkITSYS1 -rw-r----- 1 oracle oinstall 24 Aug 04 2014 lkORCL -rw-r----- 1 oracle oinstall 1536 Nov 17 2014 orapwitsys1 -rw-r----- 1 oracle oinstall 1536 Aug 04 2014 orapworcl -rw-r----- 1 oracle oinstall 2560 May 05 10:15 spfileitsys1.ora -rw-r----- 1 oracle oinstall 2560 Feb 10 22:00 spfileorcl.ora 3.解决方法 用fuser命令kill掉占用lkITSYS1文件的进程 $ fuser -k lkITSYS1 lkITSYS1: 5701814 5767372 5832954 6946854 7209198 7667712 7930062 8323164 8388624 8847426 9306156 9633968 9699564 9895986 16187422 $ fuser -u lkITSYS1 lkITSYS1: $ $ $ sqlplus / as sysdba SQL*Plus: Release 11.2.0.2.0 Production on 星期二 5月 26 15:46:35 2015 Copyright (c) 1982, 2010, Oracle. All rights reserved. 已连接到空闲例程。 SQL> SQL> startup ORACLE 例程已经启动。 Total System Global Area 5.3447E+10 bytes Fixed Size 2232248 bytes Variable Size 3.2481E+10 bytes Database Buffers 2.0938E+10 bytes Redo Buffers 26517504 bytes 数据库装载完毕。 数据库已经打开。 SQL>
记一次ORA-01102导致数据库实例无法启动案例
来源:这里教程网
时间:2026-03-03 12:53:49
作者:
编辑推荐:
- Word 中如何取消所有的超级链接 技巧03-03
- 让word文档瘦身的技巧和方法03-03
- 记一次ORA-01102导致数据库实例无法启动案例03-03
- oracle删除重数据方法03-03
- 如何把word文档中的图片拿出来的小技巧03-03
- 检查数据块损坏(Block Corruption)03-03
- 如何给你的Word添加一个常用命令菜单03-03
- GDI++引起的Word数学公式编辑器不能显示的问题03-03
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- Word 中如何取消所有的超级链接 技巧
Word 中如何取消所有的超级链接 技巧
26-03-03 - Oracle11g RAC安装GI时会遇到INS-06006报错处理过程
Oracle11g RAC安装GI时会遇到INS-06006报错处理过程
26-03-03 - Oracle利用coe_load_sql_profile脚本绑定执行计划
Oracle利用coe_load_sql_profile脚本绑定执行计划
26-03-03 - Oracle静态监听和动态监听
Oracle静态监听和动态监听
26-03-03 - 静默错误:为什么看了那么多灾难,还是过不好备份这一关?
静默错误:为什么看了那么多灾难,还是过不好备份这一关?
26-03-03 - oracle删除表空间以后为什么仍然能够对表进行读写
oracle删除表空间以后为什么仍然能够对表进行读写
26-03-03 - ORACLE 18C启动数据库报错ORA-04031
ORACLE 18C启动数据库报错ORA-04031
26-03-03 - 开工大吉:Oracle 18c已经发布及新特性介绍
开工大吉:Oracle 18c已经发布及新特性介绍
26-03-03 - 如何在Word2007中快速填充表格中的序列号
如何在Word2007中快速填充表格中的序列号
26-03-03
