OC4J Configuration issue

连接http://ip:1158/em提示网页不存在,于是登录系统检查

$ emctl start dbconsole
OC4J Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_test_orcl not found.

原来是当时安装oracle后,没有配置em,以下是配置步骤:

[@more@]

$emca -config dbcontrol db -repos create

Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):

-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1 hostname ................ XXXXXX
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

Do you wish to continue? [yes(Y)/no(N)]: y
Aug 29, 2012 2:03:51 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/app/10.2.0/db_1/cfgtoollogs/emca/wmtest/emca_2012-08-29_02-01-27-PM.log.
Aug 29, 2012 2:03:52 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 29, 2012 2:07:11 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Aug 29, 2012 2:07:14 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 29, 2012 2:08:52 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 29, 2012 2:08:52 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://hostname:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 29, 2012 2:08:52 PM

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17254424/viewspace-1059298/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/17254424/viewspace-1059298/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值