- 论坛徽章:
- 0
|
原帖由 happymood 于 2008-7-18 17:19 发表 ![]()
oracle@test-oradb:~/product/10.2/db_1/cfgtoollogs> emca -RMT_PORT 5520 -JMS_PORT 5540 -AGENT_PORT 1830 -DBCONSOLE_HTTP_PORT 5500
STARTED EMCA at Wed Jan 02 08:03:18 CST 2002
Enter the f ...
Mar 2, 2005 6:20:42 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists. Fix the error(s) and run EM Configuration
Assistant aga\
in in standalone mode.
Could not complete the configuration. Refer to the log file for details
According to the doc, I can use a command line arg to force the use of
an existing repository.
I added a -r to the command line:
[oracle@royal wrinkle]$ $ORACLE_HOME/bin/emca -r -f
/home/oracle/wrinkle/emcaParams.txt
STARTED EMCA at Wed Mar 02 18:26:10 PST 2005
Password for dbsnmp: o
Password for sysman: o
Password for sys: o
Mar 2, 2005 6:26:15 PM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file
/oracle/product/10.1.0.3/db/sysman/emdrep/config/repository.variables .\
..
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig addPortEntries
INFO: Updating file /oracle/product/10.1.0.3/db/install/portlist.ini ...
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateEmdProps
INFO: Updating file /oracle/product/10.1.0.3/db/sysman/config/emd.properties ...
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: targets.xml file is updated successfully
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateEmomsProps
INFO: Updating file /oracle/product/10.1.0.3/db/sysman/config/emoms.properties
...
Mar 2, 2005 6:26:23 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Mar 2, 2005 6:26:26 PM oracle.sysman.emcp.EMConfig startOMS
INFO: Starting the DBConsole ...
Mar 2, 2005 6:28:06 PM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
Mar 2, 2005 6:28:06 PM oracle.sysman.emcp.EMConfig perform
INFO: >>>>>>>>>>> The Enterprise Manager URL is
http://royal.wrinkle.com:5500/em <<<<<<<<<<<
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Wed Mar 02 18:28:08 PST 2005
[oracle@royal wrinkle]$
Here are the contents of emcaParams.txt:
EM_HOME=/oracle/product/10.1.0.3/db
ORACLE_HOME=/oracle/product/10.1.0.3/db
PORT=1521
SID=dev
HOST=royal
DBSNMP_PWD=o
SYSMAN_PWD=o
来源:http://www.freelists.org/archives/oracle-l/03-2005/msg00095.html
不知道通过上面可以可以解决呢?我在google都search了,好像这个最靠谱 |
|