您的位置:首页 > 数据库 > Oracle

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: