My Oracle Support Banner

Using Adadmin utility for relinking application program picking wrong Environment File (Doc ID 2681475.1)

Last updated on AUGUST 05, 2021

Applies to:

Oracle Applications DBA - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.


On using adadmin utility to relink application program, it is picking wrong environment file for EBS application.

Below error seen on selecting option to relink application program:

 Adadmin ==> AD Administration Main Menu ==> Maintain Applications Files menu ==>> Relink Applications programs


Enter your choice [6] : 1

AD Administration uses your Oracle Applications environment file
to set up the environment for relinking Applications.

Before proceeding with the relink, you may optionally want to:
- Go back to the menu by answering No below.
- Use an option on the Maintain Files menu
  to generate your Applications environment file.
- Edit the file to add any customizations.
- Verify the list of executables in adlinkbk.txt which are saved
  before relinking and add any additional executables as desired.
- Choose this option again, and proceed with the relink.

Do you wish to proceed with the relink [Yes] ? Yes

Enter the name of your Oracle Applications environment file below.
File name [<db_name>.env] : 

Relink log shows,

Relinking selected modules in Application Object Library.
adrelink: error: cannot read /<APPL_TOP>/<db_name>.env
Please make sure that you are in the correct Oracle E-Business Suite
environment, that <SID>.env is present in the directory
/<APPL_TOP>, and that the Unix userid running this program has read
permissions on <db_name>.env.

An error occurred while relinking application programs.
Continue as if it were successful [No] :


 Database upgraded to 19c version.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.