ORA-01033和ORA-28547
数据库重启以后,一连接就跳出ORA-28547的错误,在网上遍寻解决之道,屡次试过后,此方法有效:将listener.ora中的(PROGRAM = extproc)这句注释掉就可以了。去网上找过,extproc是一个扩展的程序调用接口协议, 连接和调用外部的操作系统程序或进程用时会用到。
错误,
ORA-01033: Oracle initialization or shutdown in progress
原因
删除SID时,删除了一个表空间的数据文件
处理过程
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\xxxx>sqlplus system/yang@ora
SQL*Plus: Release 10.1.0.2.0 - Production on 火 1月 15 12:19:18 2008
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
NOLOG登录数据库
C:\Documents and Settings\xxxx>sqlplus /nolog
SQL*Plus: Release 10.1.0.2.0 - Production on 火 1月 15 12:35:54 2008
Copyright (c) 1982, 2004, Oracle. All rights reserved.
使用SYSDBA连接数据库
SQL> connect sys/yang as sysdba
Connected.
关闭数据库
SQL> shutdown normal
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
重启到MOUNT状态
SQL> startup mount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
ALTER 数据库 OPEN状态
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01147: SYSTEM tablespace file 1 is offline
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORA\SYSTEM01.DBF'
显示出 datafile 1发生错误
修改datafile 1的状态
SQL> alter database datafile 1 online;
Database altered.
数据库状态
SQL> alter database open;
Database altered.
数据库正常
SQL> conn system/yang@ora
Connected.
