Adop error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Adop error

kabir zain
Hi Erman;
I am upgrading EBS 12.2.0 to 12.2.4..All ETCC bug fixes successfully applied and check but when i applied Consolidated seed table upgrade patch on run file in hotpatch mode i found this error.


oracle@erp1 scripts]$ adop phase=apply patches=17204589 hotpatch=yes

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


Enter the RUN file system context file name [/u01/oracle/PROD/fs1/inst/apps/PROD_erp1/appl/admin/PROD_erp1.xml]:

[STATEMENT] [END   2018/06/21 01:01:56] Performing verification of parameters
[STATEMENT] [START 2018/06/21 01:01:57] Checking for the required ENV setup
[STATEMENT] [END   2018/06/21 01:01:57] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Thu Jun 21 2018 01:01:57

APPL_TOP is set to /u01/oracle/PROD/fs1/EBSapps/appl
[STATEMENT] [START 2018/06/21 01:01:58] Determining admin node
[STATEMENT] [END   2018/06/21 01:02:01] Determining admin node
[STATEMENT]  Recommended Worker Count:  2 Max Allowed Workers: 9
[STATEMENT] [START 2018/06/21 01:02:06] Acquiring lock on sessions table
[STATEMENT] [END   2018/06/21 01:02:08] Acquiring lock on sessions table
[STATEMENT] [START 2018/06/21 01:02:08] Checking for any pending sessions
[STATEMENT] [START 2018/06/21 01:02:15] Staging the current session
  [STATEMENT] [START 2018/06/21 01:02:21] Checking if node "erp1" is abandoned
  [STATEMENT] [END   2018/06/21 01:02:23] Checking if node "erp1" is abandoned
[STATEMENT] [END   2018/06/21 01:02:26] Staging the current session
[STATEMENT] [START 2018/06/21 01:02:29] Unlocking sessions table
[STATEMENT] [END   2018/06/21 01:02:31] Unlocking sessions table
[STATEMENT] [START 2018/06/21 01:02:31] adzdoptl.pl run
  [STATEMENT] Session ID: 2
  [STATEMENT] Phase: apply
  [STATEMENT] Log file: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/2/adop_20180621_010126.log
  [STATEMENT] [START 2018/06/21 01:02:45] Invoking admerge
  [STATEMENT] [END   2018/06/21 01:02:46] Invoking admerge
  [STATEMENT] [START 2018/06/21 01:02:47] apply phase
    [STATEMENT] APPLY Phase START TIME: 21-06-2018 01:02:49
    [STATEMENT] [START 2018/06/21 01:02:52] Performing Check for Logon Trigger existence and enablement
    [STATEMENT] [END   2018/06/21 01:02:55] Performing Check for Logon Trigger existence and enablement
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
    [STATEMENT] [Start 2018/06/21 01:03:00] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
      [STATEMENT] Reading defaults file /u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/adalldefaults.txt
      [STATEMENT] Substituting tokens ...
      [STATEMENT] Regenerating defaults file ...
    [STATEMENT] [End   2018/06/21 01:03:01] ADOP::DefaultsFileUtil::substituteDefaultsFileTokensForPatchApplTop
    [STATEMENT] Calling: adpatch  workers=2    options=hotpatch    flags=autoskip   console=no interactive=no  defaultsfile=/u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/adalldefaults.txt patchtop=/u01/oracle/PROD/fs_ne/EBSapps/patch/17204589 driver=u17204589.drv logfile=u17204589.log
    [STATEMENT] ADPATCH Log directory: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/2/apply_20180621_010126/PROD_erp1/17204589/log
    [STATEMENT] Running: adpatch  workers=2    options=hotpatch    flags=autoskip   console=no interactive=no  defaultsfile=/u01/oracle/PROD/fs1/EBSapps/appl/admin/PROD/adalldefaults.txt patchtop=/u01/oracle/PROD/fs_ne/EBSapps/patch/17204589 driver=u17204589.drv logfile=u17204589.log stdin=yes
sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'

Successfully created out directory
    [STATEMENT] [START 2018/06/21 01:40:33] Running finalize since in hotpatch mode
      [STATEMENT] [START 2018/06/21 01:46:25] Unlocking sessions table
      [STATEMENT] [END   2018/06/21 01:46:27] Unlocking sessions table
*******FATAL ERROR*******
PROGRAM : (/u01/oracle/PROD/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl)
TIME    : Thu Jun 21 01:46:21 2018
FUNCTION: TXK::SQLPLUS::_doExecute [ Level 3 ]
MESSAGES:
SQLPLUS error: buffer=

SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jun 21 01:40:36 2018

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> SQL> Connected.
SQL>       begin
*
ERROR at line 1:
ORA-20001: Error: while calling ad_zd.finalize .ORA-06508: PL/SQL: could not
find program unit being called
ORA-06512: at line 8


Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options



STACK TRACE
 at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Error.pm line 168
        TXK::Error::abort('TXK::Error', 'HASH(0x90ff68)') called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 299
        TXK::Common::doError('TXK::SQLPLUS=HASH(0x1ed3fe8)', 'SQLPLUS error: buffer=\x{a}\x{a}SQL*Plus: Release 10.1.0.5.0 - Produc...', undef) called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/Common.pm line 314
        TXK::Common::setError('TXK::SQLPLUS=HASH(0x1ed3fe8)', 'SQLPLUS error: buffer=\x{a}\x{a}SQL*Plus: Release 10.1.0.5.0 - Produc...') called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/SQLPLUS.pm line 832
        TXK::SQLPLUS::_doExecute('TXK::SQLPLUS=HASH(0x1ed3fe8)', 0) called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/SQLPLUS.pm line 234
        TXK::SQLPLUS::execute('TXK::SQLPLUS=HASH(0x1ed3fe8)', 'HASH(0x1a786a8)') called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/TechstackDB.pm line 618
        TXK::TechstackDB::_getSQLValue('TXK::TechstackDB=HASH(0x18cf7f0)', '      begin\x{a}        ad_zd.finalize;\x{a}      exception\x{a}        w...') called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/TXK/TechstackDB.pm line 573
        TXK::TechstackDB::getSQLValue('TXK::TechstackDB=HASH(0x18cf7f0)', '      begin\x{a}        ad_zd.finalize;\x{a}      exception\x{a}        w...') called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/Phase.pm line 262
        ADOP::Phase::executeSQL('ADOP::ApplyPhase=HASH(0x1499c98)', '      begin\x{a}        ad_zd.finalize;\x{a}      exception\x{a}        w...') called at /u01/oracle/PROD/fs1/EBSapps/appl/au/12.0.0/perl/ADOP/ApplyPhase.pm line 579
        ADOP::ApplyPhase::runAutopatch('ADOP::ApplyPhase=HASH(0x1499c98)', 2) called at /u01/oracle/PROD/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl line 421
        main::executePhaseSequence() called at /u01/oracle/PROD/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl line 863
        main::adopMain() called at /u01/oracle/PROD/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl line 872

adop exiting with status = 255 (Fail)

Reply | Threaded
Open this post in threaded view
|

Re: Adop error

ErmanArslansOracleBlog
Administrator
Check again the ETCC patches using-> the EBS Technology Codelevel Checker (ETCC) delivered via Patch 17537119. Further instructions are available in Doc ID 2008451.1. You must download and install the latest version.

Also check any missing RDBMS patches make sure you review the README files and run any post install steps.

Run the adgrants.sql script (just in case)
Also check your invalids..  Especially ad_zd..

As for the "sh: error importing function definition for `module'" error  please check ->

http://ermanarslan.blogspot.com/2014/06/ebs-122-adadminsrvctlsh-start-sh-module.html