Solution to reporting ORA-01841 through Incomplete recovery of time points in RMAN

Source: Internet
Author: User

In Linux, RMAN is not completely restored for the database. An error occurred when executing recover database until time 'xxx:

ORA-01841 (full) year must be between-4713 and + 4713/+ 9999 and must not be 0

Invalid format changes.

The solution is to setOperating system environment variable NLS_LANGFor example, export NLS_LANG = AMERICAN_AMERICA.AL32UTF8

A related bug of the error is attached, but the bug has been fixed in Oracle 9i:

• Recovery Manager Tablespace Point in Time Recovery fails if the format used
• NLS_DATE_FORMAT does not lead with a month.

• If NLS_DATE_FORMAT leads with a Year then ORA-01841 is returned.
• If NLS_DATE_FORMAT leads with a Day then ORA-01858 is returned.

• This bug only affects the Tablespace Point in Time Recovery feature.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.