emca命令看起来比较复杂,讲课时有学员问如何修改Database Control HTTP 端口,下面是修改过程,简单记录一下
[@more@]C:>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://lenovo-382e0ef1:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory e:oracleproduct11.2.0dbhome_1/lenovo-382e0ef1_test/sysman/log
C:>emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://lenovo-382e0ef1:1158/em/console/aboutApplication
OracleDBConsoletest 服务正在停止...........
OracleDBConsoletest 服务已成功停止。
C:>emca -reconfig ports -DBCONTROL_HTTP_PORT 5600
EMCA 开始于 2013-5-27 15:48:42
EM Configuration Assistant, 11.2.0.0.2 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:
数据库 SID: test1
SYS 用户的口令:
SYS 用户的口令:
是否继续? [是(Y)/否(N)]: Y
2013-5-27 15:49:04 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 e:oraclecfgtoollogsemcatestemca_2013_05_27_15_48_42.log。
2013-5-27 15:49:04 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段时间)...
2013-5-27 15:49:06 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control (此操作可能需要一段时间)...
2013-5-27 15:49:54 oracle.sysman.emcp.EMDBPostConfig performReconfiguration
信息: 已成功启动 Database Control
2013-5-27 15:50:29 oracle.sysman.emcp.EMDBPostConfig performReconfiguration
信息: >>>>>>>>>>> Database Control URL 为 https://lenovo-382e0ef1:5600/em <<<<<<<<<<<
已成功完成 Enterprise Manager 的配置
EMCA 结束于 2013-5-27 15:50:29
C:>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://lenovo-382e0ef1:5600/em/console/aboutApplication
------------------------------------------------------------------
Logs are generated in directory e:oracleproduct11.2.0dbhome_1/lenovo-382e0ef1_test/sysman/log
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/19602/viewspace-1060542/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/19602/viewspace-1060542/