如何重新配置Oracle的EM Database Control
2008-12-18 13:07:38 来源:WEB开发网Aug 28, 2007 12:14:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Aug 28, 2007 12:14:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is https://test126.hurray.com.cn:1158/em <<<<<<<<<<< Aug 28, 2007 12:14:16 PM oracle.sysman.emcp.EMDBPostConfig invoke WARNING:************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
*********************************************************** Enterprise Manager configuration completed successfully FINISHED EMCA at Aug 28, 2007 12:14:16 PM
Oracle 10g中,配置方法与此相同。
配置完成之后就可以启动EM了:
[oracle@test126 11.1.0]$ emctl start dbconsole Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://test126.hurray.com.cn:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 11g Database Control …… started.
------------------------------------------------------------------
Logs are generated in directory /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/log
如果是Linux环境,你可能还需要在iptables中开放1158端口,增加如下一行:-A RH-Firewall-1-INPUT -m state ——state NEW -m tcp -p tcp ——dport 1158 -j ACCEPT
重新启动防火墙之后就可以通过IE在远端连接EM的Database Control了:
[root@test126 sysconfig]# service iptables restart Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter [ OK ] Unloading iptables modules: [ OK ] Applying iptables firewall rules: [ OK ] Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ]
更多精彩
赞助商链接