Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
EXP-00008: ORACLE error 1187 encountered
ORA-01187: cannot read from file 201 because it failed verification tests
ORA-01110: data file 201: '/opt/ora9/product/oradata/NTDB/temp1.dbf'
EXP-00000: Export terminated unsuccessfully
從上面的錯誤信息可以看出是temp臨時表空間的數據文件有問題,解決辦法:
1、刪除臨時表空間: alter database tempfile '/opt/ora9/product/oradata/NTDB/temp1.dbf' drop;
2、重建數據文件:
alter tablespace temp add tempfile '/opt/ora9/product/oradata/NTDB/temp01.dbf' size 512M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED;
通過上述兩個步驟就可以解決在進行數據庫備份時出現的ORACLE error 1187 encountered錯誤。