ORA-01157: cannot identify/lock data file 5 - see DBWR trace file ORA-01110: data file 5: '/data2/PMS_DATA.dbf'
問題解決如下:
[oracle@Pyzs-DB-Test3 oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Jul 25 08:53:17 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect /as sysdba Connected to an idle instance. SQL> startup ORACLE instance started.
Total System Global Area 370218364 bytes Fixed Size 451964 bytes Variable Size 150994944 bytes Database Buffers 218103808 bytes Redo Buffers 667648 bytes Database mounted. ORA-01157: cannot identify/lock data file 5 - see DBWR trace file ORA-01110: data file 5: '/data2/PMS_DATA.dbf'
SQL> alter database create datafile '/data2/PMS_DATA.dbf';
Database altered.
SQL> alter database datafile '/data2/PMS_DATA.dbf' offline drop;
Database altered.
SQL> alter database open;
Database altered.
|