SQL> startup
ORACLE instance started.Total System Global Area  608174080 bytes
Fixed Size                  1281648 bytes
Variable Size             461373840 bytes
Database Buffers          142606336 bytes
Redo Buffers                2912256 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 18 - see DBWR trace file
ORA-01110: data file 18: '/oradata/pm4h/AUTHORITY1.dbf'AUTHORITY1.dbf这个文件之前不小心被误删。然后用pl/sql连接出现下面问题:
ORA-01033:oracle initialization or shutdown in progress
进程ID:0
会话ID:0 序列号:0不知道要怎么解决。希望高手帮助!!!

解决方案 »

  1.   

    startup mount
    alter database datafile '/oradata/pm4h/AUTHORITY1.dbf' offline drop;
    alter database open--or
    startup mount
    recover database until cancel;
    alter database open resetlogs;
      

  2.   

    startup mount
    recover datafile filename
    alter database open
      

  3.   

    执行完下面的:
    startup mount
    alter database datafile '/oradata/pm4h/AUTHORITY1.dbf' offline drop;
    alter database open执行结果:Database altered.然后呢?
    上面的语句是什么意思?
    菜鸟  求解释
      

  4.   

    现在可以用pl/sql连接远程的数据库了,可以直接在里面 drop掉没有数据文件的表空间了么???
      

  5.   

    drop tablespace tablespacename  including contents and datafiles
      

  6.   


    我也遇到同样问题,删除表空间时图快,直接把dbf文件全删了,再drop表空间,结果怎么都drop不掉,数据库也起不来了。按照你说的步骤,已经成功删除出问题的表空间。多谢帮助!