Wednesday, November 04, 2020

Issues faced while upgrading Oracle Applications (E-Business Suite) from 11i to R12.2

Issues faced while upgrading Oracle Applications (E-Business Suite) from 11i to R12.2

 

Issue #3:

 When running AC on DB node, it failed with below error:

 

afdbprf.sh started at Sun Feb 12 20:42:36 AST 2017

 

 

The environment settings are as follows ...

 

       ORACLE_HOME : /oracle/TEST/db/tech_st/11.2.0.4

        ORACLE_SID : TEST

              PATH : /usr/bin:/oracle/TEST/db/tech_st/11.2.0.4/bin:/usr/ccs/bin:/usr/sbin:/oracle/TEST/db/tech_st/11.2.0.4/jdk/bin:/usr/bin:/oracle/TEST/db/tech_st/11.2.0.4/bin:/usr/bin:/oracle/TEST/db/tech_st/11.2.0.4/bin:/usr/ccs/bin:/usr/sbin:/oracle/TEST/db/tech_st/

11.2.0.4/jdk/bin:/oracle/TEST/db/tech_st/11.2.0.4/bin:/usr/bin:/oracle/TEST/db/tech_st/11.2.0.4/bin:/usr/ccs/bin:/usr/sbin:/oracle/TEST/db/tech_st/11.2.0.4/jdk/bin:/usr/ccs/bin:/oracle/TEST/db/tech_st/11.2.0.4/bin:/usr/bin:/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/X

/bin:/usr/X11/bin:.:/usr/X/bin:/usr/X11/bin:/usr/ccs/bin:.:/usr/X/bin:/usr/X11/bin:/usr/ccs/bin:.

      Library Path : /oracle/TEST/db/tech_st/11.2.0.4/lib:/usr/dt/lib:/usr/openwin/lib:/oracle/TEST/db/tech_st/11.2.0.4/ctx/lib

 

Executable : /oracle/TEST/db/tech_st/11.2.0.4/bin/sqlplus

 

 

SQL*Plus: Release 11.2.0.4.0 Production on Sun Feb 12 20:42:36 2017

 

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

 

Enter value for 1: Enter value for 2: Enter value for 3: ERROR:

ORA-12514: TNS:listener does not currently know of service requested in connect Descriptor

 

Solution:

a)       Tnsnames.ora contains wrong entries:

TEST=

        (DESCRIPTION=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

            (CONNECT_DATA=

                (SERVICE_NAME=TEST, ebs_patch)

                (INSTANCE_NAME=TEST)

            )

        )

 

With this configuration, sqlplus connection to TEST will fail:

 

{oratest@rsm4k02: TEST_rsm4k02 $} sqlplus apps/apps@test

 

SQL*Plus: Release 11.2.0.4.0 Production on Sun Feb 12 21:28:29 2017

 

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

 

ERROR:

ORA-12514: TNS:listener does not currently know of service requested in connect

descriptor

 

b)       AC is generating worng values, updating TEST_rsm4k02_ifile.ora with the correct values which will override the worng entries in tnsnames.ora

 

ð  Try first to purge the complete Net Services Topology Data Model:

 

{appltest@rsm4k02: ~ $} perl $AD_TOP/bin/adgentns.pl contextfile=$CONTEXT_FILE -removesystem

Enter the APPS user password:

##########################################################################

                   Generate Tns Names

##########################################################################

Logfile:  /oracle/TEST/prodappl/admin/TEST_rsm4k02/log/02122150/NetServiceHandler.log

        Classpath                   : /oracle/TEST/prodcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/oracle/TEST/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/oracle/TEST/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/oracle/TEST/prodcomn/java/appsborg2.zip:/oracle/TEST/prodcomn/java

 

Updating s_tnsmode to 'generateTNS'

UpdateContext exited with status: 0

 

adgentns.pl exiting with status 0

ERRORCODE = 0 ERRORCODE_END

{appltest@rsm4k02: ~ $}

 

SQL> conn apps/apps

Connected.

SQL> select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES

where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and

SERVER_TYPE='DB' and FND_NODES.NODE_NAME like upper('%rsm4k02%');

  2    3 

no rows selected

 

SQL> select DB_NAME from FND_DATABASES;

 

no rows selected

 

SQL>

 

c)       Run AC on DB:

{oratest@rsm4k02: ~ $}

{oratest@rsm4k02: ~ $} $ORACLE_HOME/appsutil/scripts/TEST_rsm4k02/adautocfg.sh

Enter the APPS user password:

The log file for this session is located at: /oracle/TEST/db/tech_st/11.2.0.4/appsutil/log/TEST_rsm4k02/02122153/adconfig.log

 

AutoConfig is configuring the Database environment...

 

AutoConfig will consider the custom templates if present.

        Using ORACLE_HOME location : /oracle/TEST/db/tech_st/11.2.0.4

        Classpath                   : /oracle/TEST/db/tech_st/11.2.0.4/jdk/jre/lib/rt.jar:/oracle/TEST/db/tech_st/11.2.0.4/jdk/lib/dt.jar:/oracle/TEST/db/tech_st/11.2.0.4/jdk/lib/tools.jar:/oracle/TEST/db/tech_st/11.2.0.4/jdbc/lib/ojdbc5.jar:/oracle/TEST/db/tech_st/11.2.0.4/appsutil/java/xmlparserv2.zip:/oracle/TEST/db/tech_st/11.2.0.4/appsutil/java:/oracle/TEST/db/tech_st/11.2.0.4/jlib/netcfg.jar:/oracle/TEST/db/tech_st/11.2.0.4/jlib/ldapjclnt11.jar

 

        Using Context file          : /oracle/TEST/db/tech_st/11.2.0.4/appsutil/TEST_rsm4k02.xml

 

Context Value Management will now update the Context file

 

        Updating Context file...COMPLETED

 

        Attempting upload of Context file and templates to database...COMPLETED

 

Updating rdbms version in Context file to db112

Updating rdbms type in Context file to 64 bits

Configuring templates from ORACLE_HOME ...

 

AutoConfig completed successfully.

{oratest@rsm4k02: ~ $}

 

 

SQL> select DB_NAME from FND_DATABASES;

 

DB_NAME

--------

TEST

 

SQL> select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES

where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and

SERVER_TYPE='DB' and FND_NODES.NODE_NAME like upper('%rsm4k02%');  2    3 

 

NAME

--------------------------------------------------------------------------------

SERVER_TYPE

------------------------------

rsm4k02_TEST_DB

DB

 

 

SQL>

 

d)      Run AC on MT:

{appltest@rsm4k02: ~ $} $AD_TOP/bin/adconfig.sh contextfile=$CONTEXT_FILE appspass=apps

 

The log file for this session is located at: /oracle/TEST/prodappl/admin/TEST_rsm4k02/log/02122154/adconfig.log

 

AutoConfig is configuring the Applications environment...

 

AutoConfig will consider the custom templates if present.

        Using APPL_TOP location     : /oracle/TEST/prodappl

        Classpath                   : /oracle/TEST/prodcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/oracle/TEST/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/oracle/TEST/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/oracle/TEST/prodcomn/java/appsborg2.zip:/oracle/TEST/prodcomn/java

 

        Using Context file          : /oracle/TEST/prodappl/admin/TEST_rsm4k02.xml

 

Context Value Management will now update the Context file

 

        Updating Context file...COMPLETED

 

        Attempting upload of Context file and templates to database...COMPLETED

 

Configuring templates from all of the product tops...

        Configuring AD_TOP........COMPLETED

        Configuring FND_TOP.......COMPLETED

        Configuring ICX_TOP.......COMPLETED

        Configuring IEO_TOP.......COMPLETED

        Configuring ABM_TOP.......COMPLETED

        Configuring ECX_TOP.......COMPLETED

        Configuring BIS_TOP.......COMPLETED

        Configuring GL_TOP........COMPLETED

        Configuring AMS_TOP.......COMPLETED

        Configuring CCT_TOP.......COMPLETED

        Configuring WSH_TOP.......COMPLETED

        Configuring CLN_TOP.......COMPLETED

        Configuring OKE_TOP.......COMPLETED

        Configuring OKL_TOP.......COMPLETED

        Configuring OKS_TOP.......COMPLETED

        Configuring CSF_TOP.......COMPLETED

        Configuring XNC_TOP.......COMPLETED

        Configuring IGS_TOP.......COMPLETED

        Configuring IBY_TOP.......COMPLETED

        Configuring PA_TOP........COMPLETED

        Configuring JTF_TOP.......COMPLETED

        Configuring MWA_TOP.......COMPLETED

        Configuring CN_TOP........COMPLETED

        Configuring CSI_TOP.......COMPLETED

        Configuring WIP_TOP.......COMPLETED

        Configuring CSE_TOP.......COMPLETED

        Configuring EAM_TOP.......COMPLETED

        Configuring IMT_TOP.......COMPLETED

        Configuring FTE_TOP.......COMPLETED

        Configuring ONT_TOP.......COMPLETED

        Configuring AR_TOP........COMPLETED

        Configuring AHL_TOP.......COMPLETED

        Configuring OZF_TOP.......COMPLETED

        Configuring IES_TOP.......COMPLETED

        Configuring CSD_TOP.......COMPLETED

        Configuring IGC_TOP.......COMPLETED

 

AutoConfig completed successfully.

{appltest@rsm4k02: ~ $}

 

e)       If the above did not work, you can apply below work around:

 

{oratest@rsm4k02: ~ $} cat /oracle/TEST/db/tech_st/11.2.0.4/network/admin/TEST_rsm4k02/TEST_rsm4k02_ifile.ora

TEST=

        (DESCRIPTION=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

            (CONNECT_DATA=

                (SERVICE_NAME=TEST)

                (INSTANCE_NAME=TEST)

            )

        )

 

TEST_806_BALANCE=

        (DESCRIPTION=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

            (CONNECT_DATA=

                (SERVICE_NAME=TEST)

                (INSTANCE_NAME=TEST)

            )

        )

 

TEST_FO=

        (DESCRIPTION=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

            (CONNECT_DATA=

                (SERVICE_NAME=TEST)

                (INSTANCE_NAME=TEST)

            )

        )

 

TEST_LOCAL=

        (DESCRIPTION=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

        )

 

TEST_BALANCE=

        (DESCRIPTION=

            (LOAD_BALANCE=YES)

            (FAILOVER=YES)

            (ADDRESS_LIST=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

            )

            (CONNECT_DATA=

                (SERVICE_NAME=TEST)

            )

        )

 

TEST_REMOTE=

        (DESCRIPTION=

            (ADDRESS_LIST=

                (ADDRESS=(PROTOCOL=tcp)(HOST=rsm4k02.bvo.com)(PORT=1531))

            )

        )

 

extproc_connection_data =

    (DESCRIPTION=

         (ADDRESS_LIST =

             (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCTEST))

        )

        (CONNECT_DATA=

            (SID=PLSExtProc)

            (PRESENTATION = RO)

        ) )

{oratest@rsm4k02: ~ $}

 

f)        Rerun AC:

{oratest@rsm4k02: ~ $} $ORACLE_HOME/appsutil/scripts/TEST_rsm4k02/adautocfg.sh

Enter the APPS user password:

The log file for this session is located at: /oracle/TEST/db/tech_st/11.2.0.4/appsutil/log/TEST_rsm4k02/02122130/adconfig.log

 

AutoConfig is configuring the Database environment...

 

AutoConfig will consider the custom templates if present.

        Using ORACLE_HOME location : /oracle/TEST/db/tech_st/11.2.0.4

        Classpath                   : /oracle/TEST/db/tech_st/11.2.0.4/jdk/jre/lib/rt.jar:/oracle/TEST/db/tech_st/11.2.0.4/jdk/lib/dt.jar:/oracle/TEST/db/tech_st/11.2.0.4/jdk/lib/tools.jar:/oracle/TEST/db/tech_st/11.2.0.4/jdbc/lib/ojdbc5.jar:/oracle/TEST/db/tech_st/11.2.0.4/appsutil/java/xmlparserv2.zip:/oracle/TEST/db/tech_st/11.2.0.4/appsutil/java:/oracle/TEST/db/tech_st/11.2.0.4/jlib/netcfg.jar:/oracle/TEST/db/tech_st/11.2.0.4/jlib/ldapjclnt11.jar

 

        Using Context file          : /oracle/TEST/db/tech_st/11.2.0.4/appsutil/TEST_rsm4k02.xml

 

Context Value Management will now update the Context file

 

        Updating Context file...COMPLETED

 

        Attempting upload of Context file and templates to database...COMPLETED

 

Updating rdbms version in Context file to db112

Updating rdbms type in Context file to 64 bits

Configuring templates from ORACLE_HOME ...

 

AutoConfig completed successfully.

{oratest@rsm4k02: ~ $}

Issues faced while upgrading Oracle Applications (E-Business Suite) from 11i to R12.2

Issue #2:

During the application of patch “u_merged.drv”, it seems that Patch application is hanged.

There are now 76388 jobs remaining (current phase=A66):

    0 running, 1 ready to run and 76387 waiting.

 

 Assigned: file adobjcmp.sql on worker  1 for product ad  username APPLSYS.

 

Solution:

a)       Stop all workers

b)       Restart the DB

c)       Restart the adpatch session

 

Issues faced while upgrading Oracle Applications (E-Business Suite) from 11i to R12.2

Issue #1:

 

ATTENTION: All workers either have failed or are waiting:

 

           FAILED: file cskbcat.ldt  on worker  1.

 

ATTENTION: Please fix the above failed worker(s) so the manager can continue.

 

Worker log:

Time when worker restarted job: Sun Feb 19 2017 06:33:15

 

Loading data using  FNDLOAD function.

FNDLOAD APPS/***** 0 Y UPLOAD @CS:patch/115/import/cskbcat.lct @CS:patch/115/import/US/cskbcat.ldt -

 

Connecting to APPS......Connected successfully.

 

Calling FNDLOAD function.

 

Returned from FNDLOAD function.

 

Log file: /u01/oracle/TEST/fs1/EBSapps/appl/admin/TEST/log/US_cskbcat_ldt.log

Error calling FNDLOAD function.

 

 

Time when worker failed: Sun Feb 19 2017 06:33:16

 

Fndload log file:

Uploading from the data file /u01/oracle/TEST/fs1/EBSapps/appl/cs/12.0.0/patch/115/import/US/cskbcat.ldt

Altering database NLS_LANGUAGE environment to AMERICAN

Dumping from LCT/LDT files (/u01/oracle/TEST/fs1/EBSapps/appl/cs/12.0.0/patch/115/import/cskbcat.lct(120.1), /u01/oracle/TEST/fs1/EBSapps/appl/cs/12.0.0/patch/115/import/US/cskbcat.ldt) to staging tables

Dumping LCT file /u01/oracle/TEST/fs1/EBSapps/appl/cs/12.0.0/patch/115/import/cskbcat.lct(120.1) into FND_SEED_STAGE_CONFIG

Dumping LDT file /u01/oracle/TEST/fs1/EBSapps/appl/cs/12.0.0/patch/115/import/US/cskbcat.ldt into FND_SEED_STAGE_ENTITY

Dumped the batch (CS_KB_SOLN_CATEGORIES_VL 1 , CS_KB_SOLN_CATEGORIES_VL 1 ) into FND_SEED_STAGE_ENTITY

Uploading from staging tables

  Error loading seed data for CS_KB_SOLN_CATEGORIES_VL:  CATEGORY_ID = 1,  ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine

ORA-20000: Oracle Text error:

DRG-50857: oracle error in textindexmethods.ODCIIndexUpdate

ORA-20000: Oracle Text error:

DRG-10607: index meta data is not ready yet for queuing DML

DRG-13201: KOREAN_LEXER is desupported

ORA-30576: ConText Option dictionary loading error

 

 

Concurrent request completed

Current system time is Sun Feb 19 06:33:16 2017

 

Solution:

As per Applying The Patch 6678700 Worker 1 Failed: File Cskbcat.Ldt. ERRORS: ORA-20000: Oracle Text error: DRG-50857: oracle error in textindexmethods.ODCIIndexUpdate, DRG-13201: KOREAN_LEXER is desupported (Doc ID 1333659.1)

 

{oratest@ruh01sm4k02: ~ $} sqlplus "/ as sysdba" @$ORACLE_HOME/ctx/sample/script/drkorean.sql

 

SQL*Plus: Release 11.2.0.4.0 Production on Sun Feb 19 06:37:29 2017

 

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

 

 

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

 

List of indexes that use KOREAN_LEXER as top level lexer:

List of indexes that use KOREAN_LEXER as a sub lexer:

"CS"."CS_FORUM_MESSAGES_TL_N4"

"CS"."CS_INCIDENTS_ALL_TL_N1"

"CS"."CS_KB_ELEMENTS_TL_N2"

"CS"."CS_KB_SETS_TL_N3"

"CS"."CS_KB_SOLN_CAT_TL_N1"

"ICX"."ICX_QUES_CTX"

Migrate KOREAN_LEXER to KOREAN_MORPH_LEXER

Rebuild all indexes that use korean lexer as top level lexer:

Reindex all documents that use KOREAN_LEXER as sub lexer

reindexing : "CS"."CS_FORUM_MESSAGES_TL" finished.

reindexing : "CS"."CS_INCIDENTS_ALL_TL" finished.

reindexing : "CS"."CS_KB_ELEMENTS_TL" finished.

reindexing : "CS"."CS_KB_SETS_TL" finished.

reindexing : "CS"."CS_KB_SOLN_CATEGORIES_TL" finished.

reindexing : "ICX"."ICX_QUESTIONS_TL" finished.

SQL>

 

a)       Restart failed worker