emca 出现ERROR,需要重建,但是提示
Repository already exists
....
Do you wish to continue? [yes/no]: yes
Apr 15, 2008 1:38:59 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists. Fix the error(s) and run EM Configuration A.
Could not complete the configuration. Refer to the log file for details
R2里比较简单,但R1还真找了一会
emca -x <sid>
STARTED EMCA at Tue Apr 15 13:36:24 GMT+08:00 2008
Apr 15, 2008 1:36:25 PM oracle.sysman.emcp.EMConfig stopOMS
INFO: Stopping the DBConsole ...
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Tue Apr 15 13:36:27 GMT+08:00 2008
RepManager <hostname> <listener_port> <sid> -action drop
Enter SYS user's password :
Enter repository user name : sysman
Enter repository user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... OK.
Dropping the repository..
Quiescing DB ... Failed.
Checking for Repos User ... Exists.
Repos User exists..
Clearing EM Contexts ... OK.
Dropping EM users ...
Done.
Dropping Repos User ... Done.
Dropping Roles/Synonymns/Tablespaces ... Done.
Unquiescing DB ... Done.
Dropped Repository Successfully.
....
Do you wish to continue? [yes/no]: yes
Apr 15, 2008 1:38:59 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists. Fix the error(s) and run EM Configuration A.
Could not complete the configuration. Refer to the log file for details
R2里比较简单,但R1还真找了一会
emca -x <sid>
STARTED EMCA at Tue Apr 15 13:36:24 GMT+08:00 2008
Apr 15, 2008 1:36:25 PM oracle.sysman.emcp.EMConfig stopOMS
INFO: Stopping the DBConsole ...
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Tue Apr 15 13:36:27 GMT+08:00 2008
RepManager <hostname> <listener_port> <sid> -action drop
Enter SYS user's password :
Enter repository user name : sysman
Enter repository user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... OK.
Dropping the repository..
Quiescing DB ... Failed.
Checking for Repos User ... Exists.
Repos User exists..
Clearing EM Contexts ... OK.
Dropping EM users ...
Done.
Dropping Repos User ... Done.
Dropping Roles/Synonymns/Tablespaces ... Done.
Unquiescing DB ... Done.
Dropped Repository Successfully.
emca
...
Apr 15, 2008 1:49:34 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Apr 15, 2008 1:49:35 PM oracle.sysman.emcp.EMConfig startOMS
INFO: Starting the DBConsole ...
Apr 15, 2008 1:51:15 PM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
Apr 15, 2008 1:51:15 PM oracle.sysman.emcp.EMConfig perform
INFO: >>>>>>>>>>> The Enterprise Manager URL is http://
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Tue Apr 15 13:51:15 GMT+08:00 2008
RepManager在<ORACLE_HOME>/sysman/admin/emdrep/bin/在下
RAC环境用
...
Apr 15, 2008 1:49:34 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Apr 15, 2008 1:49:35 PM oracle.sysman.emcp.EMConfig startOMS
INFO: Starting the DBConsole ...
Apr 15, 2008 1:51:15 PM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
Apr 15, 2008 1:51:15 PM oracle.sysman.emcp.EMConfig perform
INFO: >>>>>>>>>>> The Enterprise Manager URL is http://
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Tue Apr 15 13:51:15 GMT+08:00 2008
RepManager在<ORACLE_HOME>/sysman/admin/emdrep/bin/在下
RAC环境用
emca -c
Input Cluster name, Database name, Service Name...