Rman cannot be enabled after Oracle manual database creation (RMAN-04015)

Source: Internet
Author: User

RMAN-04015 error reported when rman cannot be enabled after manual Oracle database creation

The solution is as follows:
SQL> shutdown immediate;
SQL> startup upgrade;
SQL> @? /Rdbms/admin/utlirp. SQL
SQL> @? /Rdbms/admin/utlrp. SQL
SQL> shutdown immediate;
SQL> startup;
Where:
Utlirp. SQL is used to compile all relevant content on the 32bit platform.
Utlrp. SQL is used to compile all invalid objects.
And then try again
Rman target/
[Oracle @ ydkfdb21 test_bk] $ rman target/
Recovery Manager: Release 10.2.0.4.0-Production on Wed Jun 20 13:19:34 2012
Copyright (c) 1982,200 7, Oracle. All rights reserved.
RMAN-00571: ========================================================== ==============================
RMAN-00569: ==================== error message stack follows ==========================
RMAN-00571: ========================================================== ==============================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'dbms _ BACKUP_RESTORE.SET_CHARSET 'must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
RMAN-04015: error setting target database character set to US7ASCII
[Oracle @ ydkfdb21 test_bk] $
 
Then,
8. Execute catalog to create a data dictionary.
SQL> start D: \ oracle \ product \ 10.1.0 \ db_1 \ rdbms \ admin \ catalog. SQL
9. Run catproc to create a package.
SQL> start D: \ oracle \ product \ 10.1.0 \ db_1 \ rdbms \ admin \ catproc. SQL
10. Run pupbld.
Before executing pupbld, you must convert the current user (sys) to system, that is, connect to the database using the system account. Because the database is just created, the system password is the default password of the system, that is, the manager. You can reset the account password after the database is created.
SQL> connect system/manager
SQL> start D: \ oracle \ product \ 10.1.0 \ db_1 \ sqlplus \ admin \ pupbld. SQL
Reconnect RMAN to solve the problem.

Related Article

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.