This error Appears when are trying maunally creating EM using :
emca -config dbcontrol db -repos create
To Solve this error make sure you do all the below steps :
1-In your local users and groups add User to ORA_DBA group.
2-Set ORACLE_HOME and ORACLE_SID.
3- sqlplus / as sysdba
@$ORACLE_HOME/rdbms/admin/dbmspool.sql
Package created.
Create the dbmspool package body:
@$ORACLE_HOME/rdbms/admin/prvtpool.plb
View created.
Package body created.
Grant execution privilege on the package:
SQL> grant execute on dbms_shared_pool to sysman;
Grant succeeded.
SQL> grant execute on dbms_shared_pool to dba;
Grant succeeded.
4-Reinstall EM Using
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create
Like this:
Like Loading...
Related
Published by Osama Mustafa
Osama considered as one of the leaders in Cloud technology, DevOps and database in the Middle-East. I have more than ten years of experience within the industry. moreover, certfied 4x AWS , 4x Azure and 6x OCI, have also obtained database certifications for multiple providers.
In addition to having experience with Oracle database and Oracle products, such as middle-ware, OID, OAM and OIM, I have gained substantial knowledge with different databases.
Currently, I am architecting and implementing Cloud and DevOps. On top of that, I'm providing solutions for companies that allow them to implement the solutions and to follow the best practices.
View all posts by Osama Mustafa