Windows Server 2003 上安装 Oracle10g(10.2.0.1)并升级 至补丁(10.2.0.4) 图解

第一部分:安装 Oracle 10.2.0.1

1、选择安装方法

2、选择安装类型

3、指定安装目录

4、检查先决条件

5、选择配置选项

6、选择数据库配置

7、指定数据库配置选项

8、选择数据库管理选项

9、指定数据库数据存储目录

10、指定备份和恢复选项

11、概要(检查安装配置,是否需要重新设定)

12、安装(等待安装进度…)

13、安装完成,启动 DBCA 创建数据库也完成了

14、数据库内置用户口令管理

15、安装结束提示信息(记住)

16、结束确认

17、打开浏览器登录 EM(Enterprise Manager 10g)

第二部分:安装补丁 Oracle Patch 10.2.0.4

一、Oracle 10.2.0.4 Patch 安装 for Windows 32bit 环境要求

硬件要求: Intel Pentium or AMD 32 bit 处理器

系统要求: Windows Server 2003 Windows Server 2003 R2 Windows 2000 (Service Pack 2 or later) Windows XP Professional Windows Vista with Service Pack 1 or later

数据库版本要求: Oracle Database 10g (10.2.0.1) or later

二、升级安装前的准备工作

1、关闭数据库

SQL> CONNECT SYS AS SYSDBA

Enter password: {sys_password}

已连接。

SQL> SHUTDOWN

2、停止所有服务

1、关闭所有可能访问数据库的工具软件和服务进程,例如:Oracle Enterprise Manager Database Control or iSQL*Plus、PL/SQL 等等。

2、执行:

D:\>F:\2003\oracle\product\10.2.0\db_1\bin\emctl stop dbconsole

3、执行:

D:\>F:\2003\oracle\product\10.2.0\db_1\bin\isqlplusctl stop

4、执行:

D:\> lsnrctl stop

5、关闭:

D:\> sqlplus /NOLOG

SQL> CONNECT SYS AS SYSDBA

Enter password: {sys_password}

已连接。

SQL> SHUTDOWN

6、 “控制面板” “管理工具”? ? “服务” 中关闭服务: Oracle Database service "OracleServiceSID" ("SID" is the system identifier of the database)。其实,最好是关闭所有 oracle 有关的服务进程。

三、备份

备份内容包括: Oracle Inventory Oracle 10g home Oracle 10g Database

四、安装升级补丁

1、停止 Oracle 服务进程,并设置为手动启动

2、运行补丁安装程序,进入欢迎界面

3、指定安装目录(注意:覆盖已装数据库)

4、检查先决条件

5、OCM(即:Oracle Configuration Manager 注册)

6、概要(确认安装设置)

7、进行安装(等待进度……)

8、报错:msvcr71.dll 正在被使用……

9、排查错误

第一种情况:

MSVCR71.DLL is in use during Oracle patch installation. If you are trying to upgrade the Oracle Client and an error message is displayed telling you that msvcr71.dll is in use, try the following: 1) Verify that all Oracle services are stopped. 2) Stop the Distributed Transaction Coordinator – In most cases this will solve the issue. 3) Run Process Explorer a) In the Find menu, click on “Find Handle or DLL” (CTRL F) b) Type msvcr71.dll and click on Search c) Go through the list and close the listed applications

第二种情况:

"Msvcr71.Dll In Use" Error During Upgrade of OWB [ID 602568.1] In this Document-------------------------------------------------Applies to: Oracle Warehouse Builder - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Information in this document applies to any platform. Symptoms While applying an OWB 10.2.0.x patch for Oracle Warehouse Builder, the following error occurs: msvcr71.dll is in use. Cause msvcr71.dll is a module containing standard C library functions such as printf, memcpy etc. It is a part of the Microsoft C Runtime Library. It might be possible that there are some other process(related to Oracle or not) that are using this file when this file is needed by the OWB Patch for installation.

Solution To identify which process is actually using the file, please do the following: 1. 2. 3. 4. 5. 6. 7. 8. Open the following link in your Internet browser: http://technet.microsoft.com/hi-in/sysinternals/bb896642(en-us).aspx#top Download and install the FileMon for Windows tool. Run the Filemon.exe program. In the Filemon pop-up window, "Filemon Filter", in the "Include" Section, add the value "msvcr71.dll"Click Apply and click Ok . Monitor the Filemon window for the msvcr71.dll process. Search for the msvcr71.dll file under the column "Path". Verify all the processes that are actually using this file and terminate those processes (stop Oracle and Non-Oracle Processes also that are using this file). Try applying the 10.2.0.X patch again to see if the install goes well.

10、杀死 msdtc.exe,以终止其对 msvcr71.dll 的占用

11、排除错误后, “重试”继续安装……

12、安装结束

13、结束确认

14、恢复 msdtc.exe 服务进程

15、恢复 Oralce 服务进程

五、运行补丁升级脚本

如果只安装了升级包,没有进行数据库字典信息升级,启动数据库将报 ORA-01092 ORACLE 例程终止。强 行断开连接。 (这和 Oracle9i 有点不同,对 Oracle9i 做了升级后,不升级数据库字典信息,仍然可以启动数 据库使用,但对 exp/imp,RMAN 之类的工具不能使用) 。

1、运行数据库预升级检查( Pre-Upgrade Information Tool)

SQL> Conn / as sysdba

SQL> STARTUP UPGRADE

SQL> SPOOL upgrade_info.log

SQL> @?\rdbms\admin\utlu102i.sql

SQL> SPOOL OFF

2、进行数据库字典信息升级(Upgrading a Release 10.2 Database)

启动监听器:

lsnrctl start sqlplus /NOLOG

SQL> CONNECT / AS SYSDBA

SQL> STARTUP UPGRADE SQL> SPOOL patch.log

SQL> @{ORACLE_BASE}\{ORACLE_HOME}\rdbms\admin\catupgrd.sql SQL> SPOOL OFF

这一过程持续很长时间,大约需要 15-30 分钟不等!!!!!! 结束后,检查 patch.log 文件,如果有问题(什么问题,具体我也不知道!,重新运行 catupgrd.sql。 )

3、重启动数据库

SQL> SHUTDOWN IMMEDIATE SQL> STARTUP

4、运行 utlrp.sql 脚本重新编译无效 PL/SQL 包

SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql

5、运行命令检查所有组件是否升级成功

SQL> SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;

如果,所有输出为 VALID,表示升级成功。

6、对 catalog 进行升级 前提是,如果使用 Oracle Recovery Manager catalog,则如下:

D:\> rman catalog {username}/{password}@{alias} RMAN> UPGRADE CATALOG;

windows 如何安装oracle 补丁包,Windows Server 2003 上安装 Oracle10g(10.2.0.1)并升级 至补丁(10.2.0.4) 图解...相关推荐

  1. windows server 2003上安装mysql的问题

    前几天刚来到现在所在的新公司,公司要求将一个php的网站挂上去,公司的后台使用的是windows server 2003企业版的操作系统,本来以为挂php的网站简单,LMAP架构么,谁知道却出了大问题 ...

  2. 在win server 2003上安装SQL Server 2008的步骤

    1.安装Microsoft .NET Framework 3.5 Service Pack 1,下载地址:http://www.microsoft.com/zh-cn/download/confirm ...

  3. windows Server 2003 尝试安装.NET Framework 4 失败

    在windows   Server 2003  尝试安装.NET Framework 4 失败 提示出"产生阻滞问题",这个是系统没有安装WIC产生的. 到https://www. ...

  4. 配置iscsi服务器_在Windows Server 2016上安装和配置iSCSI目标服务器

    配置iscsi服务器 In this article, I am going to explain how we can install and configure the iSCSI Target ...

  5. Deploying Exchange 2010(三):在Windows Server 2008上安装Mailbox

    要在Windows Server 2008上安装Mailbox,必须执行下面的操作: 1.安装Active Directory remote management tools,也可以通过PowerSh ...

  6. 在Windows Server 2019上安装edge浏览器

    在Windows 2016和2019的正式版本中是不带Edge浏览器的.有些工具.网站也不支持IE浏览器了.对于偶尔需要在服务器上访问这些站点的管理员来说有些不方便.不过可以通过安装三方浏览器或者Ed ...

  7. 在Windows Hyper-V Server和Windows Server Core上安装GUI应用程序

    在Windows Hyper-V Server和Windows Server Core上安装GUI应用程序 对于生产服务器环境,建议您运行缺少GUI的Windows Server 2012的服务器核心 ...

  8. 在Windows Server 2003上运行vSphere Client 4.0出现“clients.xml文件出错r

    在Windows Server 2003上运行vSphere Client 4.0出现"clients.xml文件出错"的解决方法 当vSphere Client 4.0在Wind ...

  9. Windows Server 2003上搭建FTP服务器(IIS同理)

    Windows Server 2003上搭建FTP服务器(IIS同理) FTP File Transfer Protocol(文件传输协议)是用于在网络上进行文件传输的一套标准协议,使用客户/服务器模 ...

最新文章

  1. chrome 插件安装:无法添加来自此网站的应用,解决办法。安装本地crx插件方法
  2. C++ list插入元素源码分析及过程图
  3. jQuery 1.10.0 和 2.0.1 发布
  4. cocos2d-x之逐帧动画
  5. Go语言游戏服务器思维导图
  6. 通过VBA实现重复的PPT编辑操作
  7. NPOI SetColumnHidden隐藏列不起作用的原因
  8. 下载在线播放的电影,一个下载TS文件的工具,python小白。
  9. opencv打开Lena图像,并且将Lena改成单通道的图片
  10. 各版本opencv官网下载路径
  11. 记录一次获取车载摄像头数量为0同时打开摄像头黑屏的问题分析(基于Android M)
  12. 取消百度SiteApp转码
  13. 从零开始学python第八篇
  14. 计算机考研一志愿不满,【建议收藏】40所不歧视本科 保护一志愿院校 内含大量985/211!...
  15. css 字体图标更改颜色_在CSS中更改字体
  16. 深度学习word2vec笔记之基础篇
  17. 龙卷风迁徙地图,原来可以这样做
  18. WinRAR如何进行分卷压缩
  19. 葫芦娃说 | 下一代编解码标准的抉择
  20. Python使用大漠插件前的准备工作

热门文章

  1. 语音计算矩形面积_LeetCode85-最大矩形
  2. calipso是什么意思_眰恦是什么意思?
  3. 【java】4.27上课及做作业时遇到的问题及第十六节课笔记整理
  4. Angular CLI在线安装和离线安装
  5. fsum函数测试以及分析
  6. c语言如何输出整串链表,大神帮我看一下怎么输入输出一个链表,我输入了但是没输出啊...
  7. linux命令注入,Linux kernel本地命令注入漏洞
  8. phpstudy本地调试运行TP5的后台源码
  9. 【iOS】通过NSURLProtocol提高Web加载速度
  10. canvas.width和canvas.style.width区别以及应用