Home Database Mysql Tutorial windows 2008 64位oracle11g部署问题(1)之警告-启动database control时出错

windows 2008 64位oracle11g部署问题(1)之警告-启动database control时出错

Jun 07, 2016 pm 05:36 PM
oracle Configuration

由于本学期需要做oracle的授课,想将oracle版本由10g提升为11g,原来一直都用10g在redhat下,这次为了让学生安装方便(毕竟定义的目标是学习完达到oca即可了),

由于本学期需要做oracle的授课,想将oracle版本由10g提升为11g,原来一直都用10g在redhat下,这次为了让学生安装方便(毕竟定义的目标是学习完达到oca即可了),因此想在windows服务器端安装,前一段时间讲windows域时,搭建了windows 2008 64位,,因此想在windows 2008上部署oracle 11g R2,结果安装过程的末尾遇到了如下错误,还纳闷呢,windows server端安装都出现这问题???又不是unix或linux。


wKioL1MOiVCgSxurAAQC5P3QWJY301.jpg

C:\app\Administrator\product\11.2.0\dbhome_1\BIN>emctl status dbconsole

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to da

tabase unique name.


C:\app\Administrator\product\11.2.0\dbhome_1\BIN>set ORACLE_SID=orcl  //安装过程中设置的SID


C:\app\Administrator\product\11.2.0\dbhome_1\BIN>emca -config dbcontrol db


EMCA 开始于 2014-2-27 8:16:24

EM Configuration Assistant, 11.2.0.0.2 正式版

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


输入以下信息:

数据库 SID: orcl

监听程序端口号:

监听程序端口号: 1521  //oracle的监听端口是1521,切记

监听程序 ORACLE_HOME [ C:\app\Administrator\product\11.2.0\dbhome_1 ]:

SYS 用户的口令:         //交互输入SYS DBNMP  SYSMAN  的密码,密码都是安装过程中设置的密码,输入密码是不显示*

DBSNMP 用户的口令:

SYSMAN 用户的口令:

SYSMAN 用户的口令: 通知的电子邮件地址 (可选):  //直接回车即可

通知的发件 (SMTP) 服务器 (可选):

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


已指定以下设置


数据库 ORACLE_HOME ................ C:\app\Administrator\product\11.2.0\dbhome_1



本地主机名 ................ WIN-6H64DS9DC63

监听程序 ORACLE_HOME ................ C:\app\Administrator\product\11.2.0\dbhome

_1

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

数据库 SID ................ orcl

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

通知的发件 (SMTP) 服务器 ...............


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

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

2014-2-27 8:17:23 oracle.sysman.emcp.EMConfig perform

信息: 正在将此操作记录到 C:\app\Administrator\cfgtoollogs\emca\orcl\emca_2014_02

_27_08_16_23.log。

2014-2-27 8:17:24 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository

信息: 正在将配置数据上载到 EM 资料档案库 (此操作可能需要一段时间)...

2014-2-27 8:18:19 oracle.sysman.emcp.EMReposConfig invoke

信息: 已成功上载配置数据

2014-2-27 8:18:23 oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib

信息: 软件库已配置。

2014-2-27 8:18:23 oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib

信息:  将忽略 EM_SWLIB_STAGE_LOC (值)。

2014-2-27 8:18:23 oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary

信息: 正在部署预配档案...

2014-2-27 8:18:48 oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary

信息: 预配档案部署成功。

2014-2-27 8:18:48 oracle.sysman.emcp.util.DBControlUtil secureDBConsole

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

2014-2-27 8:18:56 oracle.sysman.emcp.util.DBControlUtil secureDBConsole

信息: 已成功保护 Database Control。

2014-2-27 8:18:56 oracle.sysman.emcp.util.DBControlUtil startOMS

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

2014-2-27 8:19:54 oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: 已成功启动 Database Control

2014-2-27 8:19:54 oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: >>>>>>>>>>> Database Control URL 为 https://WIN-6H64DS9DC63:5500/em

2014-2-27 8:19:57 oracle.sysman.emcp.EMDBPostConfig invoke

警告:

************************  WARNING  ************************


管理资料档案库已置于安全模式下, 在此模式下将对 Enterprise Manager 数据进行加密。

加密密钥已放置在文件 C:/app/Administrator/product/11.2.0/dbhome_1/WIN-6H64DS9DC6

3_orcl/sysman/config/emkey.ora 中。请务必备份此文件, 因为如果此文件丢失, 则加密

数据将不可用。


***********************************************************

已成功完成 Enterprise Manager 的配置

EMCA 结束于 2014-2-27 8:19:57


C:\app\Administrator\product\11.2.0\dbhome_1\BIN>emctl status dbconsole //出现如下的提示就表示问题解决告一段落了。

Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

https://WIN-6H64DS9DC63:5500/em/console/aboutApplication

Oracle Enterprise Manager 11g is running.     //此时就ok了一切。

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

Logs are generated in directory C:\app\Administrator\product\11.2.0\dbhome_1/WIN

-6H64DS9DC63_orcl/sysman/log


C:\app\Administrator\product\11.2.0\dbhome_1\BIN>

如果仍然提示ORACLE_UNQNAME is not defined


C:\app\Administrator\product\11.2.0\dbhome_1\BIN>> set ORACLE_UNQNAME=orcl  //Oracle的SID名称

到此基本上就ok了

windows 2008 64位oracle11g部署问题(1)之警告-启动database control时出错

windows 2008 64位oracle11g部署问题(2)之 监听服务无法启动

windows 2008 64位oracle11g部署问题(3)之ORA-12514:TNS:监听程序当前无法识别连接描述符中请求的服务




本文出自 “探索之家” 博客,请务必保留此出处

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1665
14
PHP Tutorial
1270
29
C# Tutorial
1250
24
What to do if the oracle can't be opened What to do if the oracle can't be opened Apr 11, 2025 pm 10:06 PM

Solutions to Oracle cannot be opened include: 1. Start the database service; 2. Start the listener; 3. Check port conflicts; 4. Set environment variables correctly; 5. Make sure the firewall or antivirus software does not block the connection; 6. Check whether the server is closed; 7. Use RMAN to recover corrupt files; 8. Check whether the TNS service name is correct; 9. Check network connection; 10. Reinstall Oracle software.

How to solve the problem of closing oracle cursor How to solve the problem of closing oracle cursor Apr 11, 2025 pm 10:18 PM

The method to solve the Oracle cursor closure problem includes: explicitly closing the cursor using the CLOSE statement. Declare the cursor in the FOR UPDATE clause so that it automatically closes after the scope is ended. Declare the cursor in the USING clause so that it automatically closes when the associated PL/SQL variable is closed. Use exception handling to ensure that the cursor is closed in any exception situation. Use the connection pool to automatically close the cursor. Disable automatic submission and delay cursor closing.

How to create cursors in oracle loop How to create cursors in oracle loop Apr 12, 2025 am 06:18 AM

In Oracle, the FOR LOOP loop can create cursors dynamically. The steps are: 1. Define the cursor type; 2. Create the loop; 3. Create the cursor dynamically; 4. Execute the cursor; 5. Close the cursor. Example: A cursor can be created cycle-by-circuit to display the names and salaries of the top 10 employees.

How to export oracle view How to export oracle view Apr 12, 2025 am 06:15 AM

Oracle views can be exported through the EXP utility: Log in to the Oracle database. Start the EXP utility, specifying the view name and export directory. Enter export parameters, including target mode, file format, and tablespace. Start exporting. Verify the export using the impdp utility.

What to do if the oracle log is full What to do if the oracle log is full Apr 12, 2025 am 06:09 AM

When Oracle log files are full, the following solutions can be adopted: 1) Clean old log files; 2) Increase the log file size; 3) Increase the log file group; 4) Set up automatic log management; 5) Reinitialize the database. Before implementing any solution, it is recommended to back up the database to prevent data loss.

What steps are required to configure CentOS in HDFS What steps are required to configure CentOS in HDFS Apr 14, 2025 pm 06:42 PM

Building a Hadoop Distributed File System (HDFS) on a CentOS system requires multiple steps. This article provides a brief configuration guide. 1. Prepare to install JDK in the early stage: Install JavaDevelopmentKit (JDK) on all nodes, and the version must be compatible with Hadoop. The installation package can be downloaded from the Oracle official website. Environment variable configuration: Edit /etc/profile file, set Java and Hadoop environment variables, so that the system can find the installation path of JDK and Hadoop. 2. Security configuration: SSH password-free login to generate SSH key: Use the ssh-keygen command on each node

Oracle's Role in the Business World Oracle's Role in the Business World Apr 23, 2025 am 12:01 AM

Oracle is not only a database company, but also a leader in cloud computing and ERP systems. 1. Oracle provides comprehensive solutions from database to cloud services and ERP systems. 2. OracleCloud challenges AWS and Azure, providing IaaS, PaaS and SaaS services. 3. Oracle's ERP systems such as E-BusinessSuite and FusionApplications help enterprises optimize operations.

How to stop oracle database How to stop oracle database Apr 12, 2025 am 06:12 AM

To stop an Oracle database, perform the following steps: 1. Connect to the database; 2. Shutdown immediately; 3. Shutdown abort completely.

See all articles