用一下 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
严重: 创建资料档案库时出错

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

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

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

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 popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]


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

Dreamweaver Mac version
Visual web development tools

Atom editor mac version download
The most popular open source editor

WebStorm Mac version
Useful JavaScript development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

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