Email: service@parnassusdata.com 7 x 24 online support!

    You are here

    • You are here:
    • Home > Blogs > PDSERVICE's blog > Oracle当运行DBNEWID 时,临时文件上报告NID-00111 ORA-01116: 打开数据库文件 时出错

Oracle当运行DBNEWID 时,临时文件上报告NID-00111 ORA-01116: 打开数据库文件 时出错

Oracle当运行DBNEWID 时,临时文件上报告NID-00111 ORA-01116: 打开数据库文件 时出错

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638 QQ号:47079569 邮箱:service@parnassusdata.com

 

ORA-01116: 打开数据库文件  时出错

 

NID-111 oerr nid 111
111, 1, “Oracle error reported from target database while executing\n%s\n%s”
// *Cause: An Oracle error was reported when executing an OCI operation.
// *Action: Follow the actions for the specified Oracle error.

ORA-01116 oerr ora 1116
01116, 00000, “error in opening database file %s”
// *Cause: Usually the file is not accessible.

 

适用于:

Oracle Server – Enterprise Edition – 版本: 10.2.0.4到 11.2.0.0. – Release: 10.2 到 11.2
本文信息适用于任何平台。

症状

运行DBNEWID 返回:

NID-00111: Oracle error reported from target database while executing
begin dbms_backup_restore.nidprocessdf(:fno, :istemp, :skipped, :idchged, :d); end;
ORA-01116: error in opening database file /oracleP/oradat/BO73/temp01.dbf
ORA-27037: unable to obtain file status
HPUX-ia64 Error: 2: No such file or directory
Additional information: 3
ORA-06512: at “SYS.X$DBMS_BACKUP_RESTORE”, line 6694
ORA-06512: at line 1

更改

尝试更改数据id。

原因

Bug 5861994

解决方案

验证有ORA-1116错误的临时文件的位置并确认临时文件处于它被定义的位置。

如果它没有,drop临时文件。

select * from v$tempfile ;

alter database tempfile 1 drop ;

3. Revert the changes恢复更改:
nid target / revert=yes

4. 尝试再次运行NID。