Oracle 10g R2不能使用EM的问题
用一下 em 在IE输入http://localhost:5500/em/发现无法打开。后来想到是 OracleDBConsoleorcl服务没有启动。于是启动OracleDBCon
今天突然想用一下 em 在IE输入:5500/em/发现无法打开。后来想到是 OracleDBConsoleorcl服务没有启动。于是启动OracleDBConsoleorcl服务,发现em还是无法打开。
在网上搜索一下,,发现要重建EM,重建操作如下:
C:\Documents and Settings\Administrator>emca -config dbcontrol db -repos recreate
EMCA 开始于 2012-12-7 15:04:36
EM Configuration Assistant 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:
数据库 SID: orcl
已为数据库 orcl 配置了 Database Control
您已选择配置 Database Control, 以便管理数据库 orcl
此操作将移去现有配置和默认设置, 并重新执行配置
是否继续? [yes(Y)/no(N)]: y
监听程序端口号: 1521
SYS 用户的口令:
DBSNMP 用户的口令:
SYSMAN 用户的口令:
通知的电子邮件地址 (可选):
通知的发件 (SMTP) 服务器 (可选):
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME ................ d:\oracle\product\10.2.0\db_1
数据库主机名 ................ NICKPC
监听程序端口号 ................ 1521
数据库 SID ................ orcl
通知的电子邮件地址 ...............
通知的发件 (SMTP) 服务器 ...............
-----------------------------------------------------------------
是否继续? [yes(Y)/no(N)]: y
2012-12-7 15:05:08 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2012-12-07_03-04-36-下午.log。
2012-12-7 15:05:10 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段时间)...
2012-12-7 15:05:10 oracle.sysman.emcp.EMReposConfig dropRepository
信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)...
2012-12-7 15:05:13 oracle.sysman.emcp.EMReposConfig invoke
信息: 已成功删除资料档案库
2012-12-7 15:05:13 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
2012-12-7 15:05:14 oracle.sysman.emcp.EMReposConfig invoke
严重: 创建资料档案库时出错
2012-12-7 15:05:14 oracle.sysman.emcp.EMReposConfig invoke
信息: 有关详细资料, 请参阅 d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_repos_create_.log 中的日志文件。
2012-12-7 15:05:14 oracle.sysman.emcp.EMConfig perform
严重: 创建资料档案库时出错
有关详细资料, 请参阅 d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2012-12-07_03-04-36-下午.log 中的日志文件。
无法完成配置。 有关详细资料, 请参阅 d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2012-12-07_03-04-36-下午.log 中的日志文件。
执行报错根据提示查看d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2012-12-07_03-04-36-下午.log 中的日志文件。
2012-12-7 15:05:13 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
2012-12-7 15:05:14 oracle.sysman.emcp.EMReposConfig createRepository
配置: ORA-20001: SYSMAN already exists..
ORA-06512: 在 line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: 在 line 17
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:841)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:265)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:306)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:360)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:182)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
2012-12-7 15:05:14 oracle.sysman.emcp.EMReposConfig invoke
严重: 创建资料档案库时出错

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)
