windows 2008 64位oracle11g部署问题(1)之警告-启动database control时出错
由于本学期需要做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。
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:监听程序当前无法识别连接描述符中请求的服务
本文出自 “探索之家” 博客,请务必保留此出处

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 function in Oracle to calculate the number of days between two dates is DATEDIFF(). The specific usage is as follows: Specify the time interval unit: interval (such as day, month, year) Specify two date values: date1 and date2DATEDIFF(interval, date1, date2) Return the difference in days

The retention period of Oracle database logs depends on the log type and configuration, including: Redo logs: determined by the maximum size configured with the "LOG_ARCHIVE_DEST" parameter. Archived redo logs: Determined by the maximum size configured by the "DB_RECOVERY_FILE_DEST_SIZE" parameter. Online redo logs: not archived, lost when the database is restarted, and the retention period is consistent with the instance running time. Audit log: Configured by the "AUDIT_TRAIL" parameter, retained for 30 days by default.

The Oracle database startup sequence is: 1. Check the preconditions; 2. Start the listener; 3. Start the database instance; 4. Wait for the database to open; 5. Connect to the database; 6. Verify the database status; 7. Enable the service (if necessary ); 8. Test the connection.

The INTERVAL data type in Oracle is used to represent time intervals. The syntax is INTERVAL <precision> <unit>. You can use addition, subtraction, multiplication and division operations to operate INTERVAL, which is suitable for scenarios such as storing time data and calculating date differences.

To find the number of occurrences of a character in Oracle, perform the following steps: Get the total length of a string; Get the length of the substring in which a character occurs; Count the number of occurrences of a character by subtracting the substring length from the total length.

Oracle database server hardware configuration requirements: Processor: multi-core, with a main frequency of at least 2.5 GHz. For large databases, 32 cores or more are recommended. Memory: At least 8GB for small databases, 16-64GB for medium sizes, up to 512GB or more for large databases or heavy workloads. Storage: SSD or NVMe disks, RAID arrays for redundancy and performance. Network: High-speed network (10GbE or higher), dedicated network card, low-latency network. Others: Stable power supply, redundant components, compatible operating system and software, heat dissipation and cooling system.

The amount of memory required by Oracle depends on database size, activity level, and required performance level: for storing data buffers, index buffers, executing SQL statements, and managing the data dictionary cache. The exact amount is affected by database size, activity level, and required performance level. Best practices include setting the appropriate SGA size, sizing SGA components, using AMM, and monitoring memory usage.

The method of replacing strings in Oracle is to use the REPLACE function. The syntax of this function is: REPLACE(string, search_string, replace_string). Usage steps: 1. Identify the substring to be replaced; 2. Determine the new string to replace the substring; 3. Use the REPLACE function to replace. Advanced usage includes: multiple replacements, case sensitivity, special character replacement, etc.
