Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3270819
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类:

2010-07-02 17:29:07

[oracle@node1 ~]$ emca -repos create

EMCA 开始于 2010-7-2 17:11:24
EM Configuration Assistant, 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。

输入以下信息:
数据库 SID: atyu30
监听程序端口号: 1521
SYS 用户的口令:  
SYSMAN 用户的口令:  

是否继续? [是(Y)/否(N)]: Y
2010-7-2 17:11:42 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 /opt/oracle/product/10.2.0/db_1/cfgtoollogs/emca/atyu30/emca_2010-07-02_05-11-24-下午.log。
2010-7-2 17:11:42 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
                                                                                                           2010-7-2 17:14:12 oracle.sysman.emcp.EMReposConfig invoke
信息: 已成功创建资料档案库
已成功完成 Enterprise Manager 的配置
EMCA 结束于 2010-7-2 17:14:13



[oracle@node1 ~]$ emca -config dbcontrol db

EMCA 开始于 2010-7-2 17:15:02
EM Configuration Assistant, 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。

输入以下信息:
数据库 SID: atyu30
监听程序端口号: 1521
SYS 用户的口令:  
DBSNMP 用户的口令:  
用户名/口令无效。
DBSNMP 用户的口令:  
DBSNMP 用户的口令: 用户名/口令无效。
DBSNMP 用户的口令:  
用户名/口令无效。
DBSNMP 用户的口令:  
用户名/口令无效。
DBSNMP 用户的口令:  


[oracle@node1 ~]$ sqlplus sys/atyu30 as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jul 2 17:16:22 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> alter user DBSNMP identified by atyu30;

User altered.

SQL>

SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@node1 ~]$ emca -config dbcontrol db

EMCA 开始于 2010-7-2 17:17:23
EM Configuration Assistant, 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。

输入以下信息:
数据库 SID: atyu30
监听程序端口号: 1521
SYS 用户的口令:  
DBSNMP 用户的口令:  
SYSMAN 用户的口令:  
通知的电子邮件地址 (可选): iopenbsd@gmail.com
通知的发件 (SMTP) 服务器 (可选): mail.atyu30.com
-----------------------------------------------------------------

已指定以下设置

数据库 ORACLE_HOME ................ /opt/oracle/product/10.2.0/db_1

数据库主机名 ................ node1
监听程序端口号 ................ 1521
数据库 SID ................ atyu30
通知的电子邮件地址 ............... iopenbsd@gmail.com
通知的发件 (SMTP) 服务器 ............... mail.atyu30.com

-----------------------------------------------------------------
是否继续? [是(Y)/否(N)]: Y
2010-7-2 17:17:53 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 /opt/oracle/product/10.2.0/db_1/cfgtoollogs/emca/atyu30/emca_2010-07-02_05-17-23-下午.log。
2010-7-2 17:17:59 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
信息: 正在保护 Database Control (此操作可能需要一段时间)...
2010-7-2 17:19:11 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
信息: 已成功保护 Database Control。
2010-7-2 17:19:11 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control (此操作可能需要一段时间)...
2010-7-2 17:20:49 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: 已成功启动 Database Control
2010-7-2 17:20:49 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: >>>>>>>>>>> Database Control URL 为 <<<<<<<<<<<
已成功完成 Enterprise Manager 的配置
EMCA 结束于 2010-7-2 17:20:49
[oracle@node1 ~]$


[oracle@node1 script]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0  
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
/console/aboutApplication
 - An instance of Oracle Enterprise Manager 10g Database Control is already running.
[oracle@node1 script]$ emctl status dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0  
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory /opt/oracle/product/10.2.0/db_1/node1_atyu30/sysman/log
[oracle@node1 script]$

阅读(2836) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~