本文主要是介绍数据库使用动态监听导致EM起不来的解决方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
之前在创建数据库时,没有设置监听器,后来使用的是动态监听,结果em起不来。端口是5501
后来 使用默认的监听端口1521 重新配置静态监听,使用 emca -reconfig ports -dbcontrol_http_port 1521 改变em的端口,即可以成功登入em啦。
[oracle@rtest ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://rtest.localdomain: 5501/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rtest.localdomain_test1107/sysman/log
- 更改端口
[oracle@rtest ~]$ emca -reconfig ports -dbcontrol_http_port 1521
STARTED EMCA at Nov 7, 2013 9:34:18 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: test1107
Password for SYS user:
Do you wish to continue? [yes(Y)/no(N)]: y
Nov 7, 2013 9:34:47 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/test1107/emca_2013_11_07_09_34_18.log.
Nov 7, 2013 9:34:47 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Nov 7, 2013 9:35:31 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Nov 7, 2013 9:35:59 AM oracle.sysman.emcp.EMDBPostConfig performReconfiguration
INFO: Database Control started successfully
Nov 7, 2013 9:35:59 AM oracle.sysman.emcp.EMDBPostConfig performReconfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://rtest.localdomain:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 7, 2013 9:35:59 AM
[oracle@rtest ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://rtest.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rtest.localdomain_test1107/sysman/log
- 修改之后的em
[oracle@rtest ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://rtest.localdomain: 1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rtest.localdomain_test1107/sysman/log
使用 https://10.27.1.208:1158/em登陆或着
10.27.1.208是我服务器的地址。
这篇关于数据库使用动态监听导致EM起不来的解决方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!