oracle重建EM资料库详细步骤,重建EM资料库

今天机器重新换了IP地址,EM的服务就启动不起来了,所以重建了EM的资料档案库,重新配置了dbconsole。步骤如下:

C:\Documents and

Settings\new>set oracle_sid=ora10g

C:\Documents and Settings\new>emca

-repos recreate

EMCA 开始于 2007-4-19 14:09:05

EM Configuration Assistant 10.2.0.1.0

正式版

版权所有 (c) 2003, 2005, Oracle。保留所有权利。

输入以下信息:

数据库 SID: ora10g

监听程序端口号: 1521

SYS 用户的口令:

SYSMAN

用户的口令:

是否继续? [yes(Y)/no(N)]: yes

2007-4-19 14:10:09 oracle.sysman.emcp.EMConfig

perform

信息: 正在将此操作记录到

d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ora10g\e

mca_2007-04-19_02-09-05-下午.log。

2007-4-19

14:10:09 oracle.sysman.emcp.EMReposConfig dropRepository

信息: 正在删除 EM 资料档案库

(此操作可能需要一段时间)...

2007-4-19 14:13:18 oracle.sysman.emcp.EMReposConfig

invoke

信息: 已成功删除资料档案库

2007-4-19 14:13:18 oracle.sysman.emcp.EMReposConfig

createRepository

信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...

2007-4-19 14:17:37

oracle.sysman.emcp.EMReposConfig invoke

信息: 已成功创建资料档案库

已成功完成 Enterprise

Manager 的配置

EMCA 结束于 2007-4-19 14:17:37

C:\Documents and Settings\new>emca -config dbcontrol db

EMCA 开始于 2007-4-19 14:19:38

EM Configuration Assistant 10.2.0.1.0

正式版

版权所有 (c) 2003, 2005, Oracle。保留所有权利。

输入以下信息:

数据库 SID: ora10g

已为数据库 ora10g 配置了 Database Control

您已选择配置

Database Control, 以便管理数据库 ora10g

此操作将移去现有配置和默认设置, 并重新执行配置

是否继续?

[yes(Y)/no(N)]: yes

监听程序端口号: 1521

SYS 用户的口令:

DBSNMP 用户的口令:

SYSMAN

用户的口令:

通知的电子邮件地址 (可选):

通知的发件 (SMTP) 服务器

(可选):

-----------------------------------------------------------------

已指定以下设置

数据库 ORACLE_HOME ................ d:\oracle\product\10.2.0\db_1

数据库主机名 ................ MICROSOF-029

监听程序端口号 ................ 1521

数据库

SID ................ ora10g

通知的电子邮件地址 ...............

通知的发件 (SMTP) 服务器

...............

-----------------------------------------------------------------

是否继续?

[yes(Y)/no(N)]: yes

2007-4-19 14:20:02 oracle.sysman.emcp.EMConfig

perform

信息: 正在将此操作记录到

d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ora10g\e

mca_2007-04-19_02-19-38-下午.log。

2007-4-19

14:20:03 oracle.sysman.emcp.DatabaseChecks performReposChecks

警告:

'shared_pool_size' 必须大于等于 80 MB。

2007-4-19 14:20:05

oracle.sysman.emcp.util.DBControlUtil stopOMS

信息: 正在停止 Database Control

(此操作可能需要一段时间)...

2007-4-19 14:20:16 oracle.sysman.emcp.util.DBControlUtil

startOMS

信息: 正在启动 Database Control (此操作可能需要一段时间)...

2007-4-19 14:21:10

oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: 已成功启动 Database

Control

2007-4-19 14:21:17 oracle.sysman.emcp.EMDBPostConfig

performConfiguration

警告: 无法创建 Database Control 快捷方式

2007-4-19 14:21:17

oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息:

>>>>>>>>>>> Database Control URL 为

<<<<<<<<<<

<

已成功完成 Enterprise Manager

的配置

EMCA 结束于 2007-4-19 14:21:18

C:\Documents and Settings\new>emctl start dbconsole

Oracle Enterprise

Manager 10g Database Control Release 10.2.0.1.0

Copyright (c) 1996, 2005

Oracle Corporation.    All rights reserved.

Agent

Version       : 10.1.0.4.1

OMS Version         : 10.1.0.4.0

Protocol

Version    : 10.1.0.2.0

Agent Home          :

d:\oracle\product\10.2.0\db_1\MICROSOF-029_ora10g

Agent binaries      :

d:\oracle\product\10.2.0\db_1

Agent Process ID    : 3836

Agent Process

ID    : 3836

Agent URL           :

Started

at          : 2007-04-19 14:21:56

Started by user     : SYSTEM

Last

Reload         : 2007-04-19 14:21:56

Last successful

upload                         : (none)

Last attempted

upload                          : 2007-04-19 14:22:51

Total Megabytes of XML

files uploaded so far :       0.00

Number of XML files pending

upload             :          5

Size of XML files pending

upload(MB)           :       2.31

Available disk space on upload

filesystem      :      59.92%

Agent is already started. Will restart the

agent

This will stop the Oracle Enterprise Manager 10g Database Control

process. Conti

nue [y/n] :y

OracleDBConsoleora10g

服务正在停止.............

OracleDBConsoleora10g 服务已成功停止。

C:\Documents and Settings\new>emctl start dbconsole

Oracle

Enterprise Manager 10g Database Control Release 10.2.0.1.0

Copyright (c)

1996, 2005 Oracle Corporation.    All rights reserved.

Starting

Oracle Enterprise Manager 10g Database Control

-

文章出处:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值