配置dbconsole的步骤
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重 新配置dbconsole的步骤
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
实在不行了: SQL> drop user sysman cascade; User dropped. SQL> SQL>
SQL> drop role MGMT_USER; Role dropped. SQL> drop user MGMT_VIEW cascade; User dropped. SQL> drop public synonym MGMT_TARGET_BLACKOUTS; Synonym dropped. SQL> drop public synonym setemviewusercontext; Synonym dropped.
SYSMAN帐号的初始密码为: oem_temp
如果遇到:oracle.sysman 报错,导致不成功,则
a. drop user sysman cascade;
b. drop role MGMT_USER;
c. drop user MGMT_VIEW cascade;
d. drop public synonym MGMT_TARGET_BLACKOUTS;
e. drop public synonym SETEMVIEWUSERCONTEXT;
f.emca -config dbcontrol db -repos create
C:\Documents and Settings\GAOYANG>sqlplus / as sysdba
SQL*Plus:> Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition> With the Partitioning, OLAP and Data Mining options
SQL> drop user sysman cascade;
User dropped.
SQL> drop role MGMT_USER;
Role dropped.
SQL> drop user MGMT_VIEW cascade;
User dropped.
SQL> drop public synonym MGMT_TARGET_BLACKOUTS;
Synonym dropped.
SQL> drop public synonym SETEMVIEWUSERCONTEXT;
Synonym dropped.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release
10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings\GAOYANG>emca -config dbcontrol db -repos
create
遇到:OC4J Configuration issue 报错,检查发现指定目录下没有提示的文
件夹,只有一个类似的,
cp -r 一个提示的文件夹。重新执行emctl start dbconsole,成功。
查看当前状态:emctl status dbconsole
端口号可查看文件:$ORACLE_HOME/install/portlist.ini