在用Oracle命令 EXP导出数据时出现下列问题:
EXP-00008: 遇到 ORACLE 错误 1116
ORA-01116: error in opening database file 201
ORA-01110: data file 201: '/opt/app/oracle/oradata/orcl/temp01.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
EXP-00083: 调用 SYS.LT_EXPORT_PKG.system_info_exp 时出现前一问题
EXP-00008: 遇到 ORACLE 错误 1116
ORA-01116: error in opening database file 201
ORA-01110: data file 201: '/opt/app/oracle/oradata/orcl/temp01.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
如图:
解决方法:
1.首先删除表空间文件 temp01.dbf
alter database tempfile '/opt/app/oracle/oradata/orcl/temp01.dbf' drop;
2.新建一个表空间文件 temp01.dbf
alter tablespace temp add tempfile '/opt/app/oracle/oradata/orcl/temp01.dbf' size 50m;
alter database tempfile '/opt/app/oracle/oradata/orcl/temp01.dbf' online;