重新配置OEM

-bash-3.00$ emca -config dbcontrol db

STARTED EMCA at Apr 24, 2008 12:01:09 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: oracle10g
Database Control is already configured for the database oracle10g
You have chosen to configure Database Control for managing the database oracle10g
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: yes
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 ................ /export/home/oracle/product/10.2.0

Database hostname ................ vc2
Listener port number ................ 1521
Database SID ................ oracle10g
Email address for notifications ............... 
Outgoing Mail (SMTP) server for notifications ............... 

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Apr 24, 2008 12:02:15 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /export/home/oracle/product/10.2.0/cfgtoollogs/emca/oracle10g/emca_2008-04-24_12-01-08-PM.log.
Apr 24, 2008 12:02:23 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Apr 24, 2008 12:02:44 PM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for vc2
Apr 24, 2008 12:02:48 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Apr 24, 2008 12:05:33 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Apr 24, 2008 12:05:35 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://vc2:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 24, 2008 12:05:35 PM
-bash-3.00$  cd /export/home/oracle/product/10.2.0/vc2_oracle10g
-bash-3.00$ ls
emctl.pid    oraInst.loc  sysman
-bash-3.00$ more emctl.pid
15988
-bash-3.00$ ps -ef|grep 15988
  oracle 15988 15983   4 12:03:01 pts/6       1:42 /export/home/oracle/product/10.2.0/jdk/bin/java -server -Xmx256M -XX:MaxPermSiz
  oracle 16187 10523   0 12:07:17 pts/6       0:00 grep 15988
-bash-3.00$ ps -ef|grep java
  oracle 15988 15983   2 12:03:01 pts/6       1:43 /export/home/oracle/product/10.2.0/jdk/bin/java -server -Xmx256M -XX:MaxPermSiz
    root 14890 14879   0 11:34:08 pts/9       2:16 /opt/VRTSob/jre/bin/java -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:NewRat
  oracle 16077 16070   1 12:05:54 pts/6       0:03 /export/home/oracle/product/10.2.0/jdk/jre/bin/java -Xmx512M -classpath /export
  oracle 16189 10523   0 12:07:23 pts/6       0:00 grep java
-bash-3.00$ emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0  
Copyright (c) 1996, 2006 Oracle Corporation.  All rights reserved.
http://vc2:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running. 
------------------------------------------------------------------
Logs are generated in directory /export/home/oracle/product/10.2.0/vc2_oracle10g/sysman/log
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值