Wednesday, October 5, 2011

How To Recreate the /appsutil/scripts/ directory [ID 377495.1]


How To Recreate the /appsutil/scripts/ directory [ID 377495.1]

Modified 07-FEB-2011 Type HOWTO Status PUBLISHED

In this Document
Goal
Solution
References


Applies to:

Oracle Applications Manager - Version: 11.5.7 to 11.5.10.2 - Release: 11.5 to 11.5
Information in this document applies to any platform.

Goal

***Checked for relevance on 07-FEB-2011***

The $ORACLE_HOME/appsutil directory or subdirectories of appsutil are missing.

How to recreate this directory with its subdirectories and contents?
How can I run AutoConfig on Database Tier without this directory, since adautocfg.sh exists in /appsutil/scripts/?

Solution

To implement the solution, please update the RDBMS ORACLE_HOME file system with AutoConfig files from the AppsTier by performing the following steps exactly:

1. On the Application Tier (as the APPLMGR user):

2. Log in to the APPL_TOP environment and source the environment file

3. Create appsutil.zip file: "perl /bin/admkappsutil.pl"
(This will create appsutil.zip in $APPL_TOP/admin/out/appsutil.zip)

4. Copy or FTP the appsutil.zip file to the RDBMS $ORACLE_HOME

5. On the Database Tier (as the ORACLE user):
$ cd $ORACLE_HOME
$ unzip -o appsutil.zip

6. Generate the Database Context File:

Context File Creation on UNIX

$ cd $ORACLE_HOME

$ . _.env

$ cd $ORACLE_HOME/appsutil/bin

$ perl adbldxml.pl tier=db appsuser= appspasswd=

$ cd $ORACLE_HOME/appsutil/bin

$ adconfig.sh contextfile= appspass=

After running the these steps, all files and directories for Autoconfig are now present, including "$ORACLE_HOME/appsutil/bin/adautocfg.sh" and the "$ORACLE_HOME/appsutil/scripts" directory.

No comments:

Post a Comment