介绍Oracle EBS R12 运行adadmin 安装中文语言包过程中意外中断后的处。
Oracle EBS R12 运行adadmin 安装中文语言包过程中意外中断或关机后,重新开机,运行数据库及数据库监听,再运行应用服务后,登录会出现如下提示,需要继续安装完未完成的任务。
注:以下内容中,红色为操作过程中输入的命令,紫色为操作的注释。
[applmgr@treepen scripts]$ cd /d01/oracle/VIS/inst/apps/VIS_treepen/admin/scripts
[applmgr@treepen scripts]$ ./adstpall.sh apps/apps [运行关闭应用服务的脚本]
[applmgr@treepen scripts]$ su root [注:切换root,oralce用户我无法运行APPSVIS_<主机名>.env设置环境变量]
密码:
bash: /root: is a directory
[root@treepen scripts]# cd /src/StageR12/6678700_ZHS [注:进入安装源文件目录,找到补丁包所在的目录6678700_ZHS]
[root@treepen 6678700_ZHS]# ls
ad aso cct csr eng ghr ia igf jl mwa pji qa wsm
ahl asp ce cua eni gl ibc igi jmf okc pjm qot xdo
ak ast chv cug fa gma ibe igs jtf oke pmi qp xdp
alr au cln cz fem gmd ibu imc jtm oki pn qpr xla
ame az cn ddd ff gme ibw inl lns okl po qrm xle
ams ben crp ddr fii gmf iby inv marker1.txt oks poa rg xnb
amv bic cs dna flm gmi icx ipa marker2.txt okx pon rlm xnp
amw bil csc dom fnd gml ieb irc mfg ont pos rrs xtr
ap bim csd dpp fpa gmo iec isc mrp opi pqh ssp zpb
ar bis cse dt frm gmp iem ita msc ota pqp u6678700.drv zx
as biv csf eam fte gms ieo itg msd ozf prp vea
asf bix csi ec ftp gr ies izu mso pa psa wip
asg bne csl ecx fun hri ieu ja msr pay psb wms
asl bom csm edr fv hxc iex je mst per psp wps
asn bsc csp ego gcs hxt igc jg mth pft pv wsh
[root@treepen 6678700_ZHS]# unset LANG
[root@treepen 6678700_ZHS]# adpatch
bash: adpatch: command not found [注:未设置环境变量提示的错误,需要运行该目录下APPSVIS_<主机名>.env]
[root@treepen 6678700_ZHS]# . /d01/oracle/VIS/apps/apps_st/appl/APPSVIS_treepen.env [注:用来设置环境变量]
[root@treepen 6678700_ZHS]# unset LANG
[root@treepen 6678700_ZHS]# 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 ‘/d01/oracle/VIS/apps/apps_st/appl’.
Is this the correct APPL_TOP [Yes] ? [Enter] [注:回车,默认]
AutoPatch records your AutoPatch session in a text file
you specify. Enter your AutoPatch log file name or press [Return] [Enter][注:回车,默认]
to accept the default file name shown in brackets.
Filename [adpatch.log] :
Backing up restart files, if any……Done.
Your previous AutoPatch session did not run to completion. [注:提示之前的session即上次安装的中文包没有完成]
Do you wish to continue with your previous AutoPatch session [Yes] ? [Enter][注:回车,继续]
You are about to apply a patch to the installation of Oracle Applications in your ORACLE database ‘VIS’ using ORACLE executables in ‘/d01/oracle/VIS/apps/tech_st/10.1.2′.
Is this the correct database [Yes] ? [Enter]
Already asked for the ORACLE username and password
of Application Object Library.
(The given username/password was: APPLSYS/*****)
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
Reading product information from file…
一直到安装完成,之后的输出省略。