Advertisement

05.26.2008 at 07:56PM PDT, ID: 23433794
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.4

Please help me create EM repository

Asked by lytulong in Oracle 10.x

Tags:

Hi experts,
Some information about my Database
OS : Sun 10
Database: Oracle 10.2.0.1.0
Mode : Real application cluster

I have problem with startup of dbconsole , so I decide to recreate by this way:
1.$ORACLE_HOME/sysman/admin/emdrep/bin/RepManager -connect TESTDB -action drop==> it's ok
2.emca -x TESTDB. but I realize that emca didn't have this option.Therefore I used emca -config dbcontrol db -repos drop
3. And try to create by this command  emca -config dbcontrol db -repos create
But because it runs too long, so I interrupted. I attached the log file.( Sorry I can't use function "Attach file", so I pasted to Code Snippet Section

Can you please help me recreate EM repository? If i don't recreate it, what will happen?
Thanks in advance
Please help me ASAP

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
emca_2008-05-22_12-20-11-PM.log
 
May 22, 2008 12:20:11 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-deconfig' set to true
May 22, 2008 12:20:11 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
May 22, 2008 12:20:11 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
May 22, 2008 12:20:11 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'drop' set to true
May 22, 2008 12:20:11 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /opt/oracle/products/10.2.0.1.0
May 22, 2008 12:20:15 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: ebank1
May 22, 2008 12:20:18 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
May 22, 2008 12:20:23 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
May 22, 2008 12:20:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYS
May 22, 2008 12:20:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 22, 2008 12:20:28 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: 
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYS
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 22, 2008 12:20:31 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ebank
May 22, 2008 12:20:31 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/oracle/products/10.2.0.1.0/cfgtoollogs/emca/ebank/emca_2008-05-22_12-20-11-PM.log.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /opt/oracle/products/10.2.0.1.0
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYS
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: 
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ebank
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ebank
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: ebank
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYS
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
May 22, 2008 12:20:31 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
May 22, 2008 12:20:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYS
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 22, 2008 12:20:32 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
May 22, 2008 12:20:32 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
May 22, 2008 12:20:32 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: ebank
May 22, 2008 12:20:32 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.ClusterUtil isCRSHomeInstantaited
CONFIG: Value of CRS_HOME in /opt/oracle/products/10.2.0.1.0/sysman/config/emca.properties is /opt/oracle/crs
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: ebank1 Host: rac11 Node: rac11 OH: /opt/oracle/products/10.2.0.1.0 agentHome: null isCentral: false
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: ebank1 Host: rac11 Node: rac11 OH: /opt/oracle/products/10.2.0.1.0 isDBC: true
May 22, 2008 12:20:32 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
May 22, 2008 12:20:32 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to true
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=, NEED_EXIT_CODE=1, ORACLE_SID=ebank1, PATH=/usr/bin:/usr/sfw/bin:/usr/ucb:/usr/local/bin:/usr/local/sbin/:/usr/ccs/bin:/opt/oracle/products/10.2.0.1.0/bin:/opt/oracle/crs/bin:/usr/sbin, TZ=Asia/Saigon]
May 22, 2008 12:20:32 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/oracle/products/10.2.0.1.0/bin/emctl stop dbconsole 
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/oracle/products/10.2.0.1.0/bin/emctl stop dbconsole  completed successfully
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://rac12:5500/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ... 
 ...  Stopped. 
 
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in /opt/oracle/products/10.2.0.1.0/sysman/config/emca.properties
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [EMDROOT=/opt/oracle/products/10.2.0.1.0, LD_LIBRARY_PATH=/opt/oracle/products/10.2.0.1.0/lib32:/opt/oracle/products/10.2.0.1.0/lib:/opt/oracle/products/10.2.0.1.0/perl/lib:null, PATH=/usr/bin:/usr/sfw/bin:/usr/ucb:/usr/local/bin:/usr/local/sbin/:/usr/ccs/bin:/opt/oracle/products/10.2.0.1.0/bin:/opt/oracle/crs/bin:/usr/sbin, PERL5LIB=/opt/oracle/products/10.2.0.1.0/perl/lib:/opt/oracle/products/10.2.0.1.0/perl/lib/site_perl:/opt/oracle/products/10.2.0.1.0/sysman/admin/scripts:/opt/oracle/products/10.2.0.1.0/bin:]
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/oracle/products/10.2.0.1.0/perl/bin/perl /opt/oracle/products/10.2.0.1.0/sysman/admin/scripts/db/sgastop.pl stop ebank1 rac11 1521 /opt/oracle/products/10.2.0.1.0 
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/oracle/products/10.2.0.1.0/perl/bin/perl /opt/oracle/products/10.2.0.1.0/sysman/admin/scripts/db/sgastop.pl stop ebank1 rac11 1521 /opt/oracle/products/10.2.0.1.0  completed successfully
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: nmccollector process does not exist
 
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
CONFIG: Successfully stopped nmc-collector process
May 22, 2008 12:20:34 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYSMAN
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: ORA-01017: invalid username/password; logon denied
 
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01017: invalid username/password; logon denied
 
        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:814)
        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:777)
        at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:359)
        at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:384)
        at oracle.sysman.emcp.EMReposConfig.stopDBMSJobs(EMReposConfig.java:671)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:145)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
        at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
May 22, 2008 12:20:34 PM oracle.sysman.emcp.EMReposConfig stopDBMSJobs
WARNING: Error initializing SQL connection. SQL operations cannot be performed
May 22, 2008 12:20:34 PM oracle.sysman.emcp.EMReposConfig invoke
WARNING: Unable to remove DBMS jobs.
May 22, 2008 12:20:34 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
May 22, 2008 12:20:34 PM oracle.sysman.emcp.EMReposConfig dropRepository
CONFIG: Spooling to /opt/oracle/products/10.2.0.1.0/cfgtoollogs/emca/ebank/emca_repos_drop_2008-05-22_12-20-34-PM.log
May 22, 2008 12:20:34 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
May 22, 2008 12:20:34 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ebank1, oracleHome: /opt/oracle/products/10.2.0.1.0, and user: SYS
May 22, 2008 12:20:35 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 22, 2008 12:20:35 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [ORACLE_HOME=/opt/oracle/products/10.2.0.1.0, ORACLE_SID=ebank1, PATH=/usr/bin:/usr/sfw/bin:/usr/ucb:/usr/local/bin:/usr/local/sbin/:/usr/ccs/bin:/opt/oracle/products/10.2.0.1.0/bin:/opt/oracle/crs/bin:/usr/sbin]
May 22, 2008 12:20:35 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/oracle/products/10.2.0.1.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rac11)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ebank))) -repos_user SYSMAN -action drop -verbose -output_file /opt/oracle/products/10.2.0.1.0/cfgtoollogs/emca/ebank/emca_repos_drop_2008-05-22_12-20-34-PM.log
[+][-]05.27.2008 at 01:10AM PDT, ID: 21650169

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle 10.x
Tags: Oracle Database 10.2.0.1.0; solution to create EM repository
Sign Up Now!
Solution Provided By: schwertner
Participating Experts: 1
Solution Grade: B
 
 
[+][-]05.27.2008 at 02:31AM PDT, ID: 21650493

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 02:49AM PDT, ID: 21650560

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 03:06AM PDT, ID: 21650623

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 04:04AM PDT, ID: 21650827

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 05:43AM PDT, ID: 21651326

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628