Chinaunix首页 | 论坛 | 博客
  • 博客访问: 380016
  • 博文数量: 120
  • 博客积分: 5051
  • 博客等级: 大校
  • 技术积分: 1255
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-03 01:25
文章分类

全部博文(120)

文章存档

2011年(2)

2010年(11)

2009年(28)

2008年(26)

2007年(53)

我的朋友

分类: Oracle

2009-09-03 12:51:31

1)启动OEM:
以oracle 用户运行 emctl start dbconsole
 
emctl Usage::
   Oracle Enterprise Manager 10g Database Control commands:
       emctl start| stop| status| setpasswd dbconsole
       emctl secure
       emctl set ssl test|off|on em
       emctl set ldap
 
2)查看OEM的端口号:
[root@test ~]# cat /u01/app/oracle/oracle/product/10.2.0/db_3/install/portlist.ini
iSQL*Plus HTTP port number =5560
Enterprise Manager Console HTTP Port (testdb) = 1158
Enterprise Manager Agent Port (testdb) = 3938
 
 
3)当listener的端口改变了以后,原来的OEM console不能访问,我们可以通过重新配置em来解决。
 
[oracle@test ~]$ emca -config dbcontrol db
STARTED EMCA at Sep 3, 2009 2:09:02 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:
Database SID: testdb
Database Control is already configured for the database testdb
You have chosen to configure Database Control for managing the database testdb
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number: 1666
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/oracle/product/10.2.0/db_3
Database hostname ................ test
Listener port number ................ 1666
Database SID ................ testdb
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Sep 3, 2009 2:23:50 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/oracle/product/10.2.0/db_3/cfgtoollogs/emca/testdb/emca_2009-09-03_02-09-02-AM.log.
Sep 3, 2009 2:23:51 AM oracle.sysman.emcp.DatabaseChecks performReposChecks
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
Sep 3, 2009 2:23:54 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Sep 3, 2009 2:24:18 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 3, 2009 2:26:18 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 3, 2009 2:26:18 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 3, 2009 2:26:18 AM
 
4)OEM console中文出现小方框的解决办法:
看到网上这人是这样是解决的
-->
 
可是我试了几遍都不成功。
 
阅读(773) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~