[oracle@guohuias3 oracle]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 18 19:02:32 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect /as sysdba
Connected.
SQL> alter user DBSNMP identified by kelantas(自定义密码);
User altered.
SQL> alter system set shared_pool_size=100M;
System altered.
SQL> alter system set job_queue_processes=5;
System altered.
SQL>
[oracle@guohuias3 oracle]$ emca -config dbcontrol db
STARTED EMCA at Feb 18, 2011 6:58:08 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: ORCL
Listener port number: 1521
Password for SYS user: (自定义)
Password for DBSNMP user: (上面设置的密码)
Invalid username/password.
Password for DBSNMP user:
Password for SYSMAN user: (创建数据库时的密码)
Email address for notifications (optional): gzguohui@163.com(自定义)
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_1
Database hostname ................ guohuias3
Listener port number ................ 1521
Database SID ................ ORCL
Email address for notifications ............... gzguohui@163.com
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Feb 18, 2011 7:07:44 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_07-07-14-PM.log.
Feb 18, 2011 7:07:50 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 18, 2011 7:09:43 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Feb 18, 2011 7:09:43 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://guohuias3:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Feb 18, 2011 7:09:43 PM
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 18 19:02:32 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect /as sysdba
Connected.
SQL> alter user DBSNMP identified by kelantas(自定义密码);
User altered.
SQL> alter system set shared_pool_size=100M;
System altered.
SQL> alter system set job_queue_processes=5;
System altered.
SQL>
[oracle@guohuias3 oracle]$ emca -config dbcontrol db
STARTED EMCA at Feb 18, 2011 6:58:08 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: ORCL
Listener port number: 1521
Password for SYS user: (自定义)
Password for DBSNMP user: (上面设置的密码)
Invalid username/password.
Password for DBSNMP user:
Password for SYSMAN user: (创建数据库时的密码)
Email address for notifications (optional): gzguohui@163.com(自定义)
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_1
Database hostname ................ guohuias3
Listener port number ................ 1521
Database SID ................ ORCL
Email address for notifications ............... gzguohui@163.com
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Feb 18, 2011 7:07:44 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_07-07-14-PM.log.
Feb 18, 2011 7:07:50 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 18, 2011 7:09:43 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Feb 18, 2011 7:09:43 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://guohuias3:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Feb 18, 2011 7:09:43 PM
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29680840/viewspace-1171598/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29680840/viewspace-1171598/