ADrelinknew.sh Script Generates Error 'BASH_FUNC_module()': Not A Valid Identifier While Relinking Executable (Doc ID 2077795.1)

Last updated on MARCH 17, 2017

Applies to:

Oracle Applications DBA - Version 12.1.3 and later
Linux x86-64

Symptoms

On : 12.1.3 version, when attempting to apply any applications patch,
the following error occurs while running adrelinknew.sh script.

Removing extra variables from the environment...
 adrelink will save the following variables (if set):
  - Generic:
"PATH ORACLE_HOME TMPDIR TZ APPL_TOP APPLFENV PLATFORM LD_LIBRARY_PATH COBDIR LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
  - Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
 Beginning pass 1.
  Processing 391 environment variables...
/media/her02vg/oracle/TEST/app/apps/apps_st/appl/ad/12.0.0/bin/adrelinknew.sh: line 1066: unset: `BASH_FUNC_module()': not a valid identifier
  379 removed; 12 saved.
 Beginning pass 2.
  Processing 13 environment variables...
/media/her02vg/oracle/TEST/app/apps/apps_st/appl/ad/12.0.0/bin/adrelinknew.sh: line 1066: unset: `BASH_FUNC_module()': not a valid identifier
  1 removed; 12 saved.

Done with link of ar executable 'RAXTRX' on Fri Oct 24 08:38:17 PDT 2014
 
Done relinking module RAXTRX in product ar
Done with link of product 'ar' on Fri Oct 24 08:38:17 PDT 2014
 

adrelink is exiting with status 0
 
End of adrelink session
Date/time is Fri Oct 24 08:38:17 PDT 2014

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms