Troubleshooting Management Repository Creation Errors
Oracle Universal Installer creates the Management Repository using a configuration step at the end of the installation process. If the repository configuration tool fails, note the exact error messages displayed in the configuration tools window, wait until the other configuration tools have finished, exit from Universal Installer, and then use the following sections to troubleshoot the problem.
Package Body Does Not Exist Error While Creating the Management Repository
If the creation of your Management Repository is interrupted, you may receive the following error when you attempt to create or drop the Management Repository at a later time:
SQL> ERROR: ORA-00604: error occurred at recursive SQL level 1 ORA-04068: existing state of packages has been discarded ORA-04067: not executed, package body "SYSMAN.MGMT_USER" does not exist ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 5 ORA-06512: at "SYSMAN.CLEAR_EMCONTEXT_ON_LOGOFF", line 4 ORA-06512: at line 4
To fix this problem, see "General Troubleshooting Techniques for Creating the Management Repository".
Server Connection Hung Error While Creating the Management Repository
If you receive an error such as the following when you try to connect to the Management Repository database, you are likely using an unsupported version of the Oracle Database:
Server Connection Hung
To remedy the problem, upgrade your database to the supported version as described in Prerequisites for Installing an Enterprise Manager System in Oracle Enterprise Manager Installation and Basic Configuration.
General Troubleshooting Techniques for Creating the Management Repository
If you encounter an error while creating the Management Repository, drop the repository by running the -drop
argument to the RepManager
script.
See Also:
If the RepManager
script drops the repository successfully, try creating the Management Repository again.
If the RepManager -action drop/drop
fails for any reason, perform the following steps: