Tag Archives: adrelink

Relink Executables In AD_TOP

Problem:

How do I relink executables in AD_TOP?

Solution:

Run adrelink.sh from command line to relink all AD executables by performing the following steps:

Open new MS DOS prompt.
Change directory to APPL_TOP.
Run relink[CONTEXT_NAME].cmd where CONTEXT_NAME is set to the customer specific context name. For example, ‘$ relinkVIS_host1.cmd’ where CONTEXT_NAME IS ‘VIS_host1’.
Run the APPS.SH script, as in $ . ./APPS.SH
Run adrelink.sh to relink executables. For example: $ sh adrelink.sh force=y “ad all”

Relink of module “FNDXIT.dll” failed

Problem:

After applying patch 12964564, FNDCPASS.exe and FNDXIT.dll no longer link.

fdspwd.obj : error LNK2019: unresolved external symbol _read_db_case_sens refere
nced in function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _fdget_afmnu referenced i
n function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _fdget_afctx referenced i
n function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _fdinit_afmnu referenced
in function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _fdinit_afctx referenced
in function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _fdcr_afmnu referenced in
 function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _fdcr_afctx referenced in
 function _pwdecp
fdspwd.obj : error LNK2019: unresolved external symbol _pwdalt_merge referenced
in function _pwdalt_usrexit
C:/oracle/DEV1/apps/apps_st/appl/fnd/12.0.0/bin/FNDXIT.dll : fatal error LNK1120
: 8 unresolved externals
gnumake: *** [C:/oracle/DEV1/apps/apps_st/appl/fnd/12.0.0/bin/FNDXIT.dll] Error
96
Done with link of fnd executable 'FNDXIT.dll' on Sat Jun 23 15:32:39 SAWST 2012

Relink of module "FNDXIT.dll" failed.

Solution:

Solved by applying patch 13855823.

Could not start Service Manager

Problem:

Concurrent manager not starting on ebusinesstest. Checked Metalink Doc ID:  Note:104452.1 (Subject:  Troubleshooting Concurrent Manager (Unix specific). Changed to /u0/oracle/testcomn/admin/log/TEST_ebusinesstest ($APPLCSF/$APPLLOG) and check last .mgr file (TEST_0424.mgr). It showed the following error message:

Starting PASMGR Concurrent Manager                 : 24-APR-2009 12:29:17
Spawned Process 18408
Could not start Service Manager FNDSM_EBUSINESSTEST_TEST. The TNS alias could not be located, the listener process on EBUSINESSTEST could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager PASMGR with library /u0/oracle/testappl/pa/11.5.0/bin/PALIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system admi : 24-APR-2009 12:29:17
                     Process monitor session ended : 24-APR-2009 12:29:17

Solution:

Checked Metalink for message ‘Could not start Service Manager’. Checked Metalink Doc ID:  423170.1 (Subject:  Concurrent Manager Fails to Start Because of a ‘Could not start Service Manager FNDSM__’ Error)

To implement the solution, please execute the following steps:

1. Download and apply patch 3830807: ” PATCH 3293983 NEEDS TO INCLUDE ALL THE MAKEFILES UNDER THE 8.0.6 ORACLE_HOME”.

2. Launch adadmin and choose the task to relink all product executables.

3. Startup the Concurrent Manager.

The Concurrent Manager should start without any errors. There should be no errors in the 8.0.6 listener log file.

Pre-Upgrade Checks On Production

1. Check the Invalid Objects in the existing Production Instance and Spool the output

2. Check the Size of existing SGA in Production

3. Check the Number of Tablespaces along with free space

4. Check the Number of Datafiles/Log/Control files in Production

5. Run Autoconfig on both Both Nodes just to make sure that autoconfig run successful on both nodes…Note: This must be done when users logout from application

6. Relink any Executable eg.FNDLIBR using adadmin or adrelink command on both nodes just to make sure that there is no relink issue for any module

7. Check the Installed or Shared Modules on existing Production Instance along with it Patch Level

8. Turn Off Archive Log mode

Note: Except step 5,6,8 spool the output and store it for further reference

Additional steps:

a. Obtain URL, port of instance

b. Obtain username and password of essential Oracle users (apps, system, sys) and OS users (applmgr, root)

c. Obtain username, password for user with System Administrator responsibility, to test concurrent programs (e.g. Active Users)

d. Determine and note location of database files, log files, control files, archive log files

e. Note location of top directories (APPL_TOP, COMMON_TOP, ORA_TOP, DB_TOP, DATA_TOP)

f. Determine status of archivelog mode (and turn off if necessary)

g. Record PERL location and version

h. Rerun AutoConfig on database, application tiers to ensure it is working

I. Run adrelink on database, application to ensure it is working

j. Source environment and ensure environment variables correct (e.g. APPLCSF)

k. Ensure UNIX commands available (cc, ld, make/gnumake, ar)

Relink of module “WFRESGEN” failed

While applying the patch AD.I.4 patch 4712852 on a multi node instance, the following error encountered during the relinking process on Apps server, which was successfully run on the Admin Node.

Relinking module 'WFRESGEN' in product fnd ...
make -f /disk1/oratest/oracle/prodappl/admin/TEST/out/link_fnd_26515.mk
/disk1/oratest/oracle/prodappl/fnd/11.5.0/bin/WFRESGEN
Starting link of fnd executable 'WFRESGEN' on Fri May 18 11:57:46 GMT 2007
make: Fatal error: Don't know how to make target
`/disk1/oratest/oracle/prodappl/fnd/11.5.0/lib/wfresgcp.o'
Done with link of fnd executable 'WFRESGEN' on Fri May 18 11:57:46 GMT 2007
Relink of module "WFRESGEN" failed.
See error messages above (also recorded in log file) for possible
reasons for the failure. Also, please check that the Unix userid
/
/disk1/oratest/oracle/prodappl/fnd/11.5.0/bin/WFRESGEN
Starting link of fnd executable 'WFRESGEN' on Fri May 18 11:57:46 GMT 2007
make: Fatal error: Don't know how to make target
`/disk1/oratest/oracle/prodappl/fnd/11.5.0/lib/wfresgcp.o'
Done with link of fnd executable 'WFRESGEN' on Fri May 18 11:57:46 GMT 2007
Relink of module "WFRESGEN" failed.
See error messages above (also recorded in log file) for possible
reasons for the failure. Also, please check that the Unix userid
running adrelink has read, write, and execute permissions
on the directory /disk1/oratest/oracle/prodappl/fnd/11.5.0/bin,
and that there is sufficient space remaining on the disk partition
containing your Oracle Applications installation.

Solution:-

a) Aborted the patch

b) Copied the missing file wfresgcp.o from the Admin Node to Apps node

c) Relinked all the modules (this process took 1 hr on each node)

d) Re-run the patch and successfully completed