64位win7旗舰版安装oracle 10g 64位
1、 下载10204_vista_w2k8_x64_production_db.zip
下载地址:http://pan.http://www.china-audit.com//share/link?shareid=432430&uk=3962277298&fid=2509302090,使用百度云进行下载,速度更快。注意只下载其中的10204_vista_w2k8_x64_production_db.zip
2、 下载win7上oracle 10gEM控制台补丁p8350262_10204_Generic.zip
下载地址:http://www.itpub.net/forum.php?mod=attachment&aid=NzQxNDIwfDZlOGUzMjZhfDEzODg1MzgzNzR8MHwxNDk4Mjg3&fid=2
3、 解压缩10204_vista_w2k8_x64_production_db.zip
4、 在解压缩文件database\\stage\\prereq\\db\\refhost.xml中,增加如下红色部分
5、 在解压缩文件database\\ install\\oraparam.ini中,增加如下红色部分
Windows=5.0,5.1,5.2,6.0,6.1 ……
[Windows-6.0-optional]
[Windows-6.1-required]
#Minimum display colours for OUI to run MIN_DISPLAY_COLORS=256
#Minimum CPU speed required for OUI #CPU=300
[Windows-6.1-optional]
6、 双击运行解压缩文件中database\\setup.exe开始安装
7、 安装过程中同步创建数据库时,会出现安装到85%后一直停滞的现象(暂时先不管,后面处理):
%ORACLE_HOME%\\cfgtoollogs\\dbca\\zytx35\\emConfig.log日志中出现如下信息:
2013-12-31 22:33:29 oracle.sysman.emcp.util.PlatformInterface serviceCommand 配置: Starting Windows service...OracleDBConsolezytx35
2013-12-31 22:33:29 oracle.sysman.emcp.util.PlatformInterface serviceCommand
配置: Waiting for service 'OracleDBConsolezytx35' to fully start
2013-12-31 22:33:39 oracle.sysman.emcp.util.PlatformInterface serviceCommand 配置: Waiting for service 'OracleDBConsolezytx35' to fully start 每隔10秒重复出现,知道最后失败:
严重: 启动 Database Control 时出错
有关详细资料, 请参阅 %ORACLE_HOME%\\cfgtoollogs\\dbca\\zytx35\\emConfig.log 中的日志文件。 2013-12-31 22:43:29 oracle.sysman.emcp.EMConfig perform 配置: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: 启动 Database Control 时出错
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646) at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224) at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193) at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436) at java.lang.Thread.run(Thread.java:595) 安装界面出现如下错误信息:
EM没有启动成功
8、 最终安装完成后通过打p8350262_10204_Generic补丁,解决控制台问题,打补丁方法如下:
? 解压缩p8350262_10204_Generic.zip文件 ? 打开命令行,按顺序依次执行如下命令:
@rem 设置oracle主目录下
set ORACLE_HOME=G:\\oraclewin7\\product\\10.2.0\\db_1
@rem 将补丁命令路径和oracle命令路径加到path环境变量中 set path=%ORACLE_HOME% \\OPatch;%ORACLE_HOME% \\bin;%path% ? 命令行中cd到补丁解压缩后的8350262目录下 ? 执行opatch apply命令,补丁成功:
Invoking OPatch 10.2.0.4.2
Oracle Interim Patch Installer version 10.2.0.4.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle 主目录 : G:\\oraclewin7\\product\\10.2.0\\db_1 主产品清单: D:\\Program Files\\Oracle\\Inventory 从 : n/a
OPatch 版本 : 10.2.0.4.2 OUI 版本 : 10.2.0.4.0
OUI 位置 : G:\\oraclewin7\\product\\10.2.0\\db_1\\oui
日志文件位置 : G:\\oraclewin7\\product\\10.2.0\\db_1\\cfgtoollogs\\opatch\\opatch2014-01-01_09-16-01上午.log
ApplySession 将中间补丁程序 '8350262' 应用到 OH 'G:\\oraclewin7\\product\\10.2.0\\db_1'
Running prerequisite checks...
OPatch 从产品清单中检测到非集群 Oracle 主目录, 将仅对本地系统打补丁。
为 Oracle 主目录备份文件和产品清单 (不是用于自动回退)
正在备份受补丁程序 '8350262' 影响的文件以用于恢复。此操作将需要一些时间...
*******************************************************************************************
Oracle Configuration Manager is installed but not configured. OCM enables Oracle to
provide superior, proactive support for our customers. Oracle strongly recommends customers configure OCM. To complete the configuration of OCM, refer to the OCM Installation and Administration Guide (http://www.oracle.com/technology/documentation/ocm.html).
*******************************************************************************************
正在备份受补丁程序 '8350262' 影响的文件以用于回退。此操作将需要一些时间...
正在为组件 oracle.sysman.agent.core, 10.2.0.4.0a 打补丁...
用 \更新 jar 文件 \
用 \更新 jar 文件 \
用 \\
用 \\
用 \\
更
新
jar jar jar
文
件
更新 更新
文件 文件
用 \更新 jar 文件 \
用 \更新 jar 文件 \
用 \更新 jar 文件 \
ApplySession 将中间补丁程序 '8350262' 添加到产品清单
Verifying the update...
Inventory check OK: Patch ID 8350262 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 8350262 are present in Oracle Home. -------------------------------------------------------------------------------- The following warnings have occurred during OPatch execution: 1) OUI-67294:
******************************************************************************************* Oracle Configuration Manager is installed but not configured. OCM enables Oracle to
provide superior, proactive support for our customers. Oracle strongly recommends customers configure OCM. To complete the configuration of OCM, refer to the OCM Installation and Administration Guide (http://www.oracle.com/technology/documentation/ocm.html).
*******************************************************************************************
-------------------------------------------------------------------------------- OPatch 会话已完成, 但出现警告。
OPatch completed with warnings.
9、 补丁安装完成后,再次尝试打开EM控制台,仍然失败:
G:\\>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
相关推荐: