EBS R12.1.3和EBS R12.2打补丁是有区别的,区别如下:

1、EBS R12.1 使用adpatch命令进行打补丁操作,而EBS R12.2使用adop命令进行打补丁操作

2、EBS R12.1 打补丁时需要将应用停掉,并且改为维护模式;EBS R12.2则可以使用hot_patch=yes 可以不停应用服务进行操作

一、停服务操作

cd $ADMIN_SCRIPTS_HOME

执行adstpall.sh脚本进行停服务

./adstpall.sh apps/appspasswd

等待脚本执行完成之后,将应用变成维护模式

$dadmin

Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

Oracle Applications AD Administration

Version 12.0.0

NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.

Your default directory is '/neworadata/prod/apps/apps_st/appl'.
Is this the correct APPL_TOP [Yes] ? 默认

AD Administration records your AD Administration session in a text file
you specify.  Enter your AD Administration log file name or press [Return]
to accept the default file name shown in brackets.

Filename [adadmin.log] :默认

************* Start of AD Administration session *************
AD Administration version: 12.0.0
AD Administration started at: Thu Dec 20 2018 14:34:55

APPL_TOP is set to /neworadata/prod/apps/apps_st/appl

Backing up restart files, if any......Done.

Your previous AD Administration session did not run to completion.
Do you wish to continue with your previous AD Administration session [Yes] ? no 提示是否进行之前的会话,选择否

You chose to disregard your previous AD Administration session
and to restart AD Administration from the beginning.

Enter Yes to confirm that you wish to overwrite your previous
AD Administration session and begin a new AD Administration session.

Enter No to continue with your previous AD Administration session. [No] : yes 提示选择no则会进行之前的会话,选择yes

You can be notified by email if a failure occurs.
Do you wish to activate this feature [No] ?默认

Please enter the batchsize [1000] :默认

Please enter the name of the Oracle Applications System that this
APPL_TOP belongs to.

The Applications System name must be unique across all Oracle
Applications Systems at your site, must be from 1 to 30 characters
long, may only contain alphanumeric and underscore characters,
and must start with a letter.

Sample Applications System names are: "prod", "test", "demo" and
"Development_2".

Applications System Name [PROD] : PROD *

NOTE: If you do not currently have certain types of files installed
in this APPL_TOP, you may not be able to perform certain tasks.

Example 1: If you don't have files used for installing or upgrading
the database installed in this area, you cannot install or upgrade
the database from this APPL_TOP.

Example 2: If you don't have forms files installed in this area, you cannot
generate them or run them from this APPL_TOP.

Example 3: If you don't have concurrent program files installed in this area,
you cannot relink concurrent programs or generate reports from this APPL_TOP.

Do you currently have files used for installing or upgrading the database
installed in this APPL_TOP [YES] ? YES *默认

Do you currently have Java and HTML files for HTML-based functionality
installed in this APPL_TOP [YES] ? YES *默认

Do you currently have Oracle Applications forms files installed
in this APPL_TOP [YES] ? YES *默认

Do you currently have concurrent program files installed
in this APPL_TOP [YES] ? YES *默认

Please enter the name Oracle Applications will use to identify this APPL_TOP.

The APPL_TOP name you select must be unique within an Oracle Applications
System, must be from 1 to 30 characters long, may only contain
alphanumeric and underscore characters, and must start with a letter.

Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".

APPL_TOP Name [ebstest] : ebstest *

You are about to use or modify Oracle Applications product tables
in your ORACLE database 'PROD'
using ORACLE executables in '/neworadata/prod/apps/tech_st/10.1.2'.

Is this the correct database [Yes] ?默认

AD Administration needs the password for your 'SYSTEM' ORACLE schema
in order to determine your installation configuration.

Enter the password for your 'SYSTEM' ORACLE schema:输入system密码

The ORACLE username specified below for Application Object Library
uniquely identifies your existing product group: APPLSYS

Enter the ORACLE password of Application Object Library [APPS] :输入apps密码

AD Administration is verifying your username/password.
The status of various features in this run of AD Administration is:

<-Feature version in->
Feature                          Active?   APPLTOP    Data model    Flags
------------------------------   -------   --------   -----------   -----------
CHECKFILE                        Yes       1          1             Y N N Y N Y
PREREQ                           Yes       6          6             Y N N Y N Y
CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N
PATCH_TIMING                     Yes       2          2             Y N N Y N Y
PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y
SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y
JAVA_WORKER                      Yes       1          1             Y N N Y N Y
CODELEVEL                        Yes       1          1             Y N N Y N Y

Identifier for the current session is 22792

Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...

AD Administration warning:
 Product Data File
 /neworadata/prod/apps/apps_st/appl/admin/zfaprod.txt
 does not exist for product "zfa".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.

AD Administration warning:
 Product Data File
 /neworadata/prod/apps/apps_st/appl/admin/zsaprod.txt
 does not exist for product "zsa".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.

AD Administration warning:
 Product Data File
 /neworadata/prod/apps/apps_st/appl/admin/jtsprod.txt
 does not exist for product "jts".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.

Reading database to see what industry is currently installed.

Reading FND_LANGUAGES to see what is currently installed.
Currently, the following languages are installed:

Code   Language                                Status
----   --------------------------------------- ---------
US     American English                        Base
ZHS    Simplified Chinese                      Install

Reading language information from applZHS.txt ...

Your base language will be AMERICAN.

Your other languages to install are: SIMPLIFIED CHINESE

Setting up module information.
Reading database for information about the modules.
Saving module information.
Reading database for information about the products.
Reading database for information about how products depend on each other.
Reading topfile.txt ...

Saving product information.

AD code level : [B.3]

You chose to abandon your previous AD Administration session
and to continue as a new session.

Beginning database cleanup for previous session ...

Completed database cleanup for previous session.

AD Administration Main Menu
   --------------------------------------------------

1.    Generate Applications Files menu

2.    Maintain Applications Files menu

3.    Compile/Reload Applications Database Entities menu

4.    Maintain Applications Database Entities menu

5.    Change Maintenance Mode

6.    Exit AD Administration

Enter your choice [6] : 5

Change Maintenance Mode
   ----------------------------------------

Maintenance Mode is currently: [Disabled].

Maintenance mode should normally be enabled when patching
Oracle Applications and disabled when users are logged on
to the system.  See the Oracle Applications Maintenance
Utilities manual for more information about maintenance mode.

Please select an option:

1.    Enable Maintenance Mode

2.    Disable Maintenance Mode

3.    Return to Main Menu

Enter your choice [3] : 1 选择1 开启维护模式

sqlplus -s &un_apps/***** @/neworadata/prod/apps/apps_st/appl/ad/12.0.0/patch/115/sql/adsetmmd.sql ENABLE

Successfully enabled Maintenance Mode.

Review the messages above, then press [Return] to continue.

Backing up restart files, if any......Done.

Change Maintenance Mode
   ----------------------------------------

Maintenance Mode is currently: [Enabled].

Maintenance mode should normally be enabled when patching
Oracle Applications and disabled when users are logged on
to the system.  See the Oracle Applications Maintenance
Utilities manual for more information about maintenance mode.

Please select an option:

1.    Enable Maintenance Mode

2.    Disable Maintenance Mode

3.    Return to Main Menu

Enter your choice [3] : 3

AD Administration Main Menu
   --------------------------------------------------

1.    Generate Applications Files menu

2.    Maintain Applications Files menu

3.    Compile/Reload Applications Database Entities menu

4.    Maintain Applications Database Entities menu

5.    Change Maintenance Mode

6.    Exit AD Administration

Enter your choice [6] : 6

Backing up restart files, if any......Done.

There is no timing information available for the current session.

AD Administration is complete.

Errors and warnings are listed in the log file
/neworadata/prod/apps/apps_st/appl/admin/PROD/log/adadmin.log

and in other log files in the same directory.

更改维护模式完成,下面进行打补丁操作:

ebstest[/home/applprod]$cd patch
ebstest[/home/applprod/patch]$ls
9239089                                 p8919491_R12.ATG_PF.B_R12_AIX64-5L.zip
p19273341_R12.BNE.B_R12_GENERIC.zip     p8919491_R12.ATG_PF.B_R12_zhs.zip
p19273341_R12.BNE.B_R12_zhs.zip         p9239089_R12.AD.B_R12_AIX64-5L.zip
ebstest[/home/applprod/patch]$cd 923*
ebstest[/home/applprod/patch/9239089]$ls
README.html         ad                  b9239089.ldt        j9239089_ad.zip     patch_metadata.xml
README.txt          admin               f9239089.ldt        marker1.txt         u9239089.drv
ebstest[/home/applprod/patch/9239089]$adpatch

Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

Oracle Applications AutoPatch

Version 12.0.0

NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.

Attention: AutoPatch no longer checks for unapplied pre-requisite patches.
You must use OAM Patch Wizard for this feature. Alternatively, you can
review the README for pre-requisite information.

Your default directory is '/neworadata/prod/apps/apps_st/appl'.
Is this the correct APPL_TOP [Yes] ? 默认

AutoPatch records your AutoPatch session in a text file
you specify.  Enter your AutoPatch log file name or press [Return]
to accept the default file name shown in brackets.

Filename [adpatch.log] :默认

You can be notified by email if a failure occurs.
Do you wish to activate this feature [No] ?默认

Please enter the batchsize [1000] :默认

Please enter the name of the Oracle Applications System that this
APPL_TOP belongs to.

The Applications System name must be unique across all Oracle
Applications Systems at your site, must be from 1 to 30 characters
long, may only contain alphanumeric and underscore characters,
and must start with a letter.

Sample Applications System names are: "prod", "test", "demo" and
"Development_2".

Applications System Name [PROD] : PROD *

NOTE: If you do not currently have certain types of files installed
in this APPL_TOP, you may not be able to perform certain tasks.

Example 1: If you don't have files used for installing or upgrading
the database installed in this area, you cannot install or upgrade
the database from this APPL_TOP.

Example 2: If you don't have forms files installed in this area, you cannot
generate them or run them from this APPL_TOP.

Example 3: If you don't have concurrent program files installed in this area,
you cannot relink concurrent programs or generate reports from this APPL_TOP.

Do you currently have files used for installing or upgrading the database
installed in this APPL_TOP [YES] ? YES *默认

Do you currently have Java and HTML files for HTML-based functionality
installed in this APPL_TOP [YES] ? YES *默认

Do you currently have Oracle Applications forms files installed
in this APPL_TOP [YES] ? YES *默认

Do you currently have concurrent program files installed
in this APPL_TOP [YES] ? YES *默认

Please enter the name Oracle Applications will use to identify this APPL_TOP.

The APPL_TOP name you select must be unique within an Oracle Applications
System, must be from 1 to 30 characters long, may only contain
alphanumeric and underscore characters, and must start with a letter.

Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".

APPL_TOP Name [ebstest] : ebstest *默认

You are about to apply a patch to the installation of Oracle Applications
in your ORACLE database 'PROD'
using ORACLE executables in '/neworadata/prod/apps/tech_st/10.1.2'.

Is this the correct database [Yes] ?默认

AutoPatch needs the password for your 'SYSTEM' ORACLE schema
in order to determine your installation configuration.

Enter the password for your 'SYSTEM' ORACLE schema:输入system密码

The ORACLE username specified below for Application Object Library
uniquely identifies your existing product group: APPLSYS

Enter the ORACLE password of Application Object Library [APPS] :输入apps密码

AutoPatch is verifying your username/password.
The status of various features in this run of AutoPatch is:

<-Feature version in->
Feature                          Active?   APPLTOP    Data model    Flags
------------------------------   -------   --------   -----------   -----------
CHECKFILE                        Yes       1          1             Y N N Y N Y
PREREQ                           Yes       6          6             Y N N Y N Y
CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N
PATCH_TIMING                     Yes       2          2             Y N N Y N Y
PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y
SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y
JAVA_WORKER                      Yes       1          1             Y N N Y N Y
CODELEVEL                        Yes       1          1             Y N N Y N Y

Identifier for the current session is 22793

Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...

AutoPatch warning:
 Product Data File
 /neworadata/prod/apps/apps_st/appl/admin/zfaprod.txt
 does not exist for product "zfa".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.

AutoPatch warning:
 Product Data File
 /neworadata/prod/apps/apps_st/appl/admin/zsaprod.txt
 does not exist for product "zsa".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.

AutoPatch warning:
 Product Data File
 /neworadata/prod/apps/apps_st/appl/admin/jtsprod.txt
 does not exist for product "jts".
This product is registered in the database but the
above file does not exist in APPL_TOP.  The product
will be ignored without error.

Reading database to see what industry is currently installed.

Reading FND_LANGUAGES to see what is currently installed.
Currently, the following languages are installed:

Code   Language                                Status
----   --------------------------------------- ---------
US     American English                        Base
ZHS    Simplified Chinese                      Install

Reading language information from applZHS.txt ...

Your base language will be AMERICAN.

Your other languages to install are: SIMPLIFIED CHINESE

Setting up module information.
Reading database for information about the modules.
Saving module information.
Reading database for information about the products.
Reading database for information about how products depend on each other.
Reading topfile.txt ...

Saving product information.

AD code level : [B.3]

Trying to obtain a lock...

Attempting to instantiate the current-view snapshot...

Was already instantiated. So no instantiation done this time.

**************** S T A R T   O F   U P L O A D ****************

Start date: Thu Dec 20 2018 14:36:45

0 "left over" javaupdates.txt files uploaded to DB: Thu Dec 20 2018 14:36:45

0 patches uploaded from the ADPSV format patch history files: Thu Dec 20 2018 14:36:45

Uploading information about files copied during the previous runs ...

0 "left over" filescopied_<session_id>.txt files uploaded to DB: Thu Dec 20 2018 14:36:45

****************** E N D   O F   U P L O A D ******************

End date: Thu Dec 20 2018 14:36:45

Enter the directory where your Oracle Applications patch has been unloaded

The default directory is [/home/applprod/patch/9239089] :

Please enter the name of your AutoPatch driver file : u9239089.drv

Getting Oracle Applications Release...

Current installed release is  12.1.3

Reading patch driver file...

Parsing and loading patch driver file...
       1571 lines processed.

Not checking patch integrity as integrity checking flag is turned off.

Successfully read patch driver file.

Determining target release...

Current target    release is  12.1.3

This Patch seems to have been applied already.
Would you like to continue anyway  [N] ?默认
Determining which bug fixes to apply...

Done determining which bug fixes to apply.

Log and Info File sync point:
  Thu Dec 20 2018 14:38:15

Turning off actions that reference unrecognized products.

Log and Info File sync point:
  Thu Dec 20 2018 14:38:15

End of unrecognized products checking.

AD utilities can support a maximum of 999 workers. Your
current database configuration supports a maximum of 81 workers.
Oracle recommends that you use between 32 and 64 workers.

Enter the number of parallel workers [32] :默认,可以选择多一些worker

AutoPatch will run in parallel mode.

然后等着脚本跑完即可。

adpatch命令操作完之后,需要将应用的维护模式进行关闭,置为disable 模式,然后正常启动应用即可

不然在登陆web页面的时候会进行报错:

如果忘记关闭维护模式,可以将应用服务停掉之后,在进行使用adadmin命令进行将应用维护模式关闭即可。

(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!

EBS 12.1.3 应用打补丁操作及问题处理相关推荐

  1. ebs克隆oracle not,Oracle EBS 12.1.3 Rapid Cloning 克隆

    Prerequisite Steps 如何克隆的目标主机含有Oracle EBS的运行实例,那么可以跳过操作系统补丁和一些必要软件的检查,否则需要查询Oracle EBS安装前必要的一些软件是否安装全 ...

  2. EBS 12.2 开启JWS

    一. 概述和说明 1.1 概述​ 本文档用于EBS 12.2开启 ​ 1.2 参考文档 ​ Supported Java SE Downloads on MOS (文档 ID 1439822.1) D ...

  3. oracle update范例,oracle 12c单范例数据库打12.1.0.2.4补丁记录

    当前位置:我的异常网» 数据库 » oracle 12c单范例数据库打12.1.0.2.4补丁记录 oracle 12c单范例数据库打12.1.0.2.4补丁记录 www.myexceptions.n ...

  4. Oracle EBS 12.2.7系统克隆教程

    Oracle EBS 12.2.7系统克隆教程 一.克隆准备工作 二.克隆数据库 三.克隆应用 四.问题解决 一.克隆准备工作 本章节主要讲解一些在进行系统克隆时需要做的一些准备工作.本次克隆使用的系 ...

  5. OGG 打补丁操作指导手册

    说明:本文为Oracle Goldengate 打补丁操作指导手册 标签:OGG打补丁 温馨提示:如果您发现本文哪里写的有问题或者有更好的写法请留言或私信我进行修改优化 实验环境: 系统:Centos ...

  6. EBS R12.2.6 克隆超详细操作手册

    一.EBS克隆概述 1 克隆步骤概述 环境: EBS 12.2有一个新特性,online patch的功能,因此,app上会有两个应用目录,fs1和fs2,其中fs1为run instance,而fs ...

  7. amigo幸运字符什么意思_OMG,12 个精致的 Java 字符串操作小技巧,学它

    字符串可以说是 Java 中最具有代表性的类了,似乎没有之一哈,这就好像直播界的李佳琪,脱口秀中的李诞,一等一的大哥地位.不得不承认,最近吐槽大会刷多了,脑子里全是那些段子,写文章都有点不由自主,真的 ...

  8. OMG,12 个精致的 Java 字符串操作小技巧,学它

    字符串可以说是 Java 中最具有代表性的类了,似乎没有之一哈,这就好像直播界的李佳琪,脱口秀中的李诞,一等一的大哥地位.不得不承认,最近吐槽大会刷多了,脑子里全是那些段子,写文章都有点不由自主,真的 ...

  9. 升级android安全补丁,谷歌发布 2019 年 12 月的 Android 安全补丁

    原标题:谷歌发布 2019 年 12 月的 Android 安全补丁 来源:站长之家 谷歌为其最新的 Android 10 移动操作系统系列发布了 2019 年 12 月的 Android 安全补丁, ...

  10. Oracle EBS 中退货订单流程的系统操作记录

    Oracle EBS 中退货订单流程的系统操作记录 1.创建退货订单并登记,行状态为等待退货. 订单行项目 2.库存职责下,接收退货,输入RMA编号(退货订单编号)2015010008,点击查找,输入 ...

最新文章

  1. python深度神经网络量化_深度神经网络数据集大小
  2. 根据可信计算机系统评估准则 用户,根据可信计算机系统评估准则(TESEC),用户能定义访问控制要求的自.._简答题试题答案...
  3. catia保存成stp文件时部件丢失_在线教学文件同步神器——坚果云
  4. Java将每半年发布一个版本
  5. jdbc通过idea连接mysql数据库(代码连接,不是插件),使用上海时区还是报错,使用UTCHAI还是报错
  6. shell编程四剑客之 grep
  7. 计算机网络实验指导书 pdf,《计算机网络》实验指导书.pdf
  8. Creo6.0产品设计基础到高级曲面造型视频教程
  9. php公众号模板在哪,微信公众号模板哪里找?公众号如何套用模板?
  10. 基于stm32的100KV高压发生器 倍压电路
  11. OSChina 周六乱弹 —— 我媳妇是条蛇
  12. ubuntu10.10下ESPON v350扫描仪的安装
  13. vue打包后在ie浏览器下访问报语法错误
  14. java的正向代理和反向代理
  15. list转Tree和手动过滤TreeNode
  16. 利用U盘重新安装XP系统
  17. 基于jquery的轮播图组件开发-1
  18. Object C基础
  19. 卡尔曼滤波简介 —— 一维卡尔曼滤波
  20. C++ Reference: Standard C++ Library reference: C Library: cmath: fma

热门文章

  1. php远程登录linux,如何远程连接linux桌面
  2. blender建模小试
  3. Vue08---js动画与Velocity.js结合
  4. 盘古搜索--实例解析
  5. Unity3D学习(规范)
  6. 《计算传播学导论》读书笔记:第六章 网络传播模型与机器学习框架
  7. 计算机设备图标怎么删除,电脑设备和驱动器中没用的图标怎么删除
  8. 物联网平台搭建的全过程介绍(一)——物联网简介
  9. Windows特殊字符
  10. 信息系统项目管理师考试教程(第3版)PDF