Create Oracle Enterprise Manager repository data after restore a database from another server
2014-10-28 04:30
483 查看
1. Set password for SYS in password file:
orapwd file=$ORACLE_HOME/dbs/orapw<ORACLE_SID>
2. Drop repos data copied from the original database ( you may need to unlock sysman user first ):
emca -deconfig dbcontrol db -repos drop
3. If emca cannot drop user sysman, drop it manually in sqlplus:
DROP USER sysman CASCADE;
4. Create the repos data:
emca -config dbcontrol db -repos create
orapwd file=$ORACLE_HOME/dbs/orapw<ORACLE_SID>
2. Drop repos data copied from the original database ( you may need to unlock sysman user first ):
emca -deconfig dbcontrol db -repos drop
3. If emca cannot drop user sysman, drop it manually in sqlplus:
DROP USER sysman CASCADE;
4. Create the repos data:
emca -config dbcontrol db -repos create
相关文章推荐
- Restore Oracle database to another server
- 找不到方法 System.Data.IDataReader Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleDatabase.ExecuteReader
- Nhibernate下使用Oracle提示 “Could not create the driver from NHibernate.Driver.OracleDataClientDriver”
- EM 12c: OMS Failed to start After restarting the Repository Database or reboot of the server
- [转]SSIS error DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER when connecting to Oracle data source
- oracle 12c Enterprise Manager Database Express
- Oracle 11g Data Guard duplicate from active database
- Create Data Block Based On From Clause Query In Oracle Forms
- PRM/DUL – PARNASSUSDATA RECOVERY MANAGER For Oracle Database介绍手册
- Oracle 在open一个插入的pdb时向本pdb的数据字典中插入datafile信息,而不是在create pluggable database时
- Oracle 11g Data Guard duplicate from active database
- Get Database Connection from Web Application Server Data Source
- [yii]Fetch data from database and create listbox in yii
- Copy a table from one database to another in SQL Server 2005
- select data from another database
- Transfer postgres database to another server - backup and restore
- Oracle_Data_Gard Create a physical standby database
- Copy Records From One Data Block To Another Data Block In Oracle Forms
- Oracle Enterprise Manager Database Control(em)中文乱码的问题
- How to move RAC Database ORACLE_HOME from one location to another one (Doc ID 1438719.1)