重新配置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

你可能感兴趣的:(oracle,server,manager,user,database,notifications)