Convert Filesystem to Rac txkPostPDBCreationTasks.pl fails at autoconfig

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

Convert Filesystem to Rac txkPostPDBCreationTasks.pl fails at autoconfig

munir
Using Oracle 19c RAC Multitenant (Single PDB) with Oracle E-Business Suite Release
12.1 (Doc ID 2530680.1)

perl $ORACLE_HOME/appsutil/bin/txkPostPDBCreationTasks.pl -dboraclehome=/u01/app/oracle/product/19.3.0/dbhome_1 \
-outdir=/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log -cdbname=TESTCDB -cdbsid=TESTCDB1 -pdbsid=TEST \
-appsuser=apps -israc=yes -virtualhostname=rac1-vip -dbport=1529 -scanhostname=rac-scan.apps33.info \
-scanport=1521 -servicetype=onpremise




=============================
EXIT STATUS: 0
DB tables cleaned successfully.
LOG FILE: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/cleanup_db_tables.log.

################# BEGIN AUTOCONFIG RUN #################


Executing SYSTEM command: /u01/app/oracle/product/19.3.0/dbhome_1/perl/bin/perl /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/adconfig.pl -contextfile=/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/TEST_rac1.xml -log=/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/acfg_log_Wed_Oct_23_17_46_28_2024.log


Log file: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/acfg_log_Wed_Oct_23_17_46_28_2024.log

stty: standard input: Inappropriate ioctl for device
Enter the APPS user password:
stty: standard input: Inappropriate ioctl for device

The log file for this session is located at: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/acfg_log_Wed_Oct_23_17_46_28_2024.log

AutoConfig is configuring the Database environment...

AutoConfig will consider the custom templates if present.
        Using ORACLE_HOME location : /u01/app/oracle/product/19.3.0/dbhome_1

Value of s_dbcset is AL32UTF8

Character set is not present in the allowed list. Need to add orai18n.jar to the CLASSPATH.

Library orai18n.jar exists.

Value of s_dbcset is AL32UTF8

Character set is not present in the allowed list. Need to add orai18n.jar to the CLASSPATH.

Library orai18n.jar exists.
        Classpath                   : :/u01/app/oracle/product/19.3.0/dbhome_1/jdbc/lib/ojdbc8.jar:/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/java/xmlparserv2.jar:/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/java:/u01/app/oracle/product/19.3.0/dbhome_1/jlib/netcfg.jar:/u01/app/oracle/product/19.3.0/dbhome_1/jlib/ldapjclnt19.jar:/u01/app/oracle/product/19.3.0/dbhome_1/jlib/orai18n.jar

        Using Context file          : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/TEST_rac1.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 db19
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...

AutoConfig completed with errors.
Failed to execute /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/adconfig.pl.
AutoConfig did not run successfully.
Please check the log file /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/acfg_log_Wed_Oct_23_17_46_28_2024.log to resolve any errors and re-run AutoConfig.

################## END AUTOCONFIG RUN ##################



=================================
Inside getServiceNameFromCtx()...
=================================
Generating SQL file : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/get_patch_service_name.sql
SQL output file     : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/get_patch_service_name.out
Spool File          : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/spool_get_patch_service_name.log
==========================
Inside executeSQLFile()...
==========================
Executing the SQL...

Execute SYSTEM command : sqlplus -s /nolog @/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/get_patch_service_name.sql


==============================
Inside searchFileContents()...
==============================
log_file: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/get_patch_service_name.out
pattern: ERROR
================
Pattern found...
================
Removing the file: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/get_patch_service_name.sql

EXIT STATUS: 1
patch_service_name:

Failed to read patch service name from DB context file.
LOG FILE: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/get_patch_service_name.out.
*******FATAL ERROR*******
PROGRAM : (/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkPostPDBCreationTasks.pl)
TIME    : Wed Oct 23 17:50:34 2024
FUNCTION: main::getServiceNameFromCtx [ Level 1 ]
ERRORMSG: Failed to read patch service name from DB context file.
*******FATAL ERROR*******
PROGRAM : (/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkPostPDBCreationTasks.pl)
TIME    : Wed Oct 23 17:50:34 2024
FUNCTION: main::getServiceNameFromCtx [ Level 1 ]
ERRORMSG: Failed to read patch service name from DB context file.
Reply | Threaded
Open this post in threaded view
|

Re: Convert Filesystem to Rac txkPostPDBCreationTasks.pl fails at autoconfig

munir
###Autoconfig Errorout with########


=======================================
Inside checkContextFileAndExecTier()...
=======================================

Context file and Exec Tier arguments are in SYNC.

Refer log file /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_SET_UNICODE_Wed_Oct_23_17_50_25_2024/txkSetUnicodeCharSet.log for details


ERROR DESCRIPTION:
(*******FATAL ERROR*******
PROGRAM : (/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkSetUnicodeCharSet.pl)
TIME    : Wed Oct 23 17:50:26 2024
FUNCTION: main::validateAppsSchemaCredentials [ Level 1 ]
ERRORMSG: Invalid APPS database user credentials.
)
ERRORCODE = 1 ERRORCODE_END
.end std out.

.end err out.


   Result             : FAILED
========================================================

===========================================================================
[ Config tool : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkCfgUtlfileDir.sh ]
   Command            : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkCfgUtlfileDir.sh PASSWORD  contextfile=/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/TEST_rac1.xml -promptmsg=hide
   Action             : execute

SCRIPT RETURNED:

Script Name    : txkCfgUtlfileDir.pl
Script Version : 120.0.12020000.29
Started        : Wed Oct 23 17:50:27 IST 2024

Log File       : /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_UTIL_DIR_Wed_Oct_23_17_50_27_2024/txkCfgUtlfileDir.log

Context file: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/TEST_rac1.xml exists.


Completed        : Wed Oct 23 17:50:27 IST 2024


ERROR DESCRIPTION:
(*******FATAL ERROR*******
PROGRAM : (/u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkCfgUtlfileDir.pl)
TIME    : Wed Oct 23 17:50:27 2024
FUNCTION: main::validateAppsSchemaCredentials [ Level 1 ]
ERRORMSG: Invalid APPS database user credentials.
)
ERRORCODE = 1 ERRORCODE_END
.end std out.

.end err out.


   Result             : FAILED
===========================================================================

Ending Context Value Management System.



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



adcvmlog.xml renamed to /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/log/TXK_POST_PDB_Wed_Oct_23_17_46_28_2024/adcvmlog.xml.10231750


WARNING: [CVM Error Report]
The following report lists errors encountered during CVM Phase
      <filename>  <return code where appropriate>
  /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkSetUnicodeCharSet.pl  1
  /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/bin/txkCfgUtlfileDir.sh  1

 No. of scripts failed in CVM phase: 2



WARNING: [AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution.  Errors are grouped by directory and phase.
The report format is:
      <filename>  <phase>  <return code where appropriate>

  [PROFILE PHASE]
  AutoConfig could not successfully execute the following scripts:
    Directory: /u01/app/oracle/product/19.3.0/dbhome_1/appsutil/install/TEST_rac1
      afdbprf.sh              INSTE8_PRF         1



AutoConfig is exiting with status 1

Reply | Threaded
Open this post in threaded view
|

Re: Convert Filesystem to Rac txkPostPDBCreationTasks.pl fails at autoconfig

ErmanArslansOracleBlog
Administrator
First check your listener - db side by following -> TxkPostPDBCreationTasks.pl Failing with Invalid Apps Username (Doc ID 2862677.1)
Also check it by following -> Getting Issue To Clone EBS Database After Upgrade To19c or connect as apps (Doc ID 2847818.1)

These are the first moves..
Reply | Threaded
Open this post in threaded view
|

Re: Convert Filesystem to Rac txkPostPDBCreationTasks.pl fails at autoconfig

munir
Thanks you,

I was able to Resolve the Issue.


Issue Was related to the Environment File, After Making changes to Manually Created File, able to fix.

After Adding the Patch for SID -- export ORACLE_SID=TESTCDB1

Connection was established to the PDB and Autoconfig Completed Successfully. later on Fixed the UTL Issue as well.



Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Convert Filesystem to Rac txkPostPDBCreationTasks.pl fails at autoconfig

ErmanArslansOracleBlog
Administrator
Good :)