Wednesday, April 15, 2020

How to replace appsutil dir with admkappsutil.pl




1.set the path:
UNIX:
     . ./<APPL_TOP>/APPS<CONTEXT_NAME>.env

perl <AD_TOP>/bin/admkappsutil.pl
     This will create appsutil.zip in <INST_TOP>/admin/out


2. On the Database Tier (as the ORACLE user):


. Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>
with root transfer it , otherwise there would be error.

-------------------------------------
WARNING: [CVM Error Report]
The following report lists errors encountered during CVM Phase
      <filename>  <return code where appropriate>
  /u02/orauat/12.1.0/appsutil/bin/txkSetUnicodeCharSet.pl  1

 No. of scripts failed in CVM phase: 1



AutoConfig is exiting with status 1

AutoConfig execution completed on Wed Apr 15 23:17:28 2020

Time taken for AutoConfig execution to complete : 0 mins  20 secs


login as appluat
cd AD_TOP/bin/
perl admkappsutil.pl 

as root user:
cd INST_TOP>/admin/out

make backup of old appsutil.zip and appsutil dir:

mv appsutil.zip appsutil.zip_bkp
mv appsutil appsutil_bkp


cp -Rv appsutil.zip /u02/orauat/12.1.0/
chown -R orauat:dba appsutil/
chmod -R 775 appsutil/

copy below items from old appsutil to new one:
cp jre ../appsutil

then run autoconfig from db tier:




To BottomTo Bottom

In this Document
Goal
Solution
References


APPLIES TO:

Oracle Applications Manager - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Oracle E-Business Suite Technology Stack - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

GOAL

Trying to perform post-installation step "Update the RDBMS ORACLE_HOME file system with the AutoConfig files" from the Readme of any AutoConfig/TXK Patch, e.g Patch:5985992.
The document says to:

On the Database Tier (as the ORACLE user):

Run AutoConfig by executing:
  <RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/
   adautocfg.sh (On Windows use adautocfg.cmd).


After unzipping the appsutil.zip file, the directory '<RDBMS_ORACLE_HOME>/appsutil/scripts/' does not exist.

How to run AutoConfig?

SOLUTION

If you are using an E-Business Suite release prior to 11.5.10 on a Unix platform and do not find
adautocfg.sh at the location specified(<RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/), then run adconfig.sh from <RDBMS ORACLE_HOME>/appsutil/bin.
Customers running on Windows should run adconfig.cmd to generate adautocfg.cmd.

where: $ORACLE_HOME is 9.2.0 or 10.2.0 home directory.

The directory ''<RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/", including adautocfg.sh script,  will be created after executing AutoConfig with adconfig.sh(Win: adconfig.cmd ) on the Database Tier.


1. Copy xml Context file from old 'appsutil' directory to newly created 'appsutil' directory(created by 'unzip -o appsutil.zip'.
2. Setup database environment from $ORACLE_HOME/SID_hostname.env file.
3. Execute AutoConfig as follows:

cd $ORACLE_HOME/appsutil/bin
execute adconfig.sh



-------------------------------------


   . Uncompress appsutil.zip under the <RDBMS ORACLE_HOME>

     cd <ORACLE_HOME>
     unzip -o appsutil.zip

   . Run AutoConfig on the <RDBMS ORACLE_HOME>



No comments:

Post a Comment

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files.

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files. I got the issue below wh...