Subject: ORA-01017 While Executing txkCfgUtlfileDir.pl During EBS R12.2 Migration to

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

Subject: ORA-01017 While Executing txkCfgUtlfileDir.pl During EBS R12.2 Migration to

satish
Hi ermsn,



We migrating our Oracle EBS R12.2 environment with Oracle Database 19c from an existing RHEL 7.9 server to a new VM. We have configured the database technology stack, restored the database, and completed the database recovery successfully.

We are currently performing the post-migration steps. After sourcing the database environment file, we executed the "txkCfgUtlfileDir.pl" script from the "$ORACLE_HOME/appsutil/bin" directory to retrieve the UTL_FILE_DIR configuration. However, we are encountering an invalid APPS database credentials error.

Steps performed

su - oraprod
. /u02/prodDB/19c_home/PROD_ebsdb.env

cd /u02/prodDB/19c_home/appsutil/bin

perl txkCfgUtlfileDir.pl \
-contextfile=/u02/prodDB/19c_home/appsutil/PROD_ebsdb.xml \
-oraclehome=/u02/prodDB/19c_home \
-outdir=/u02/prodDB/19c_home/appsutil/log \
-mode=getUtlFileDir

Error encountered

(FATAL ERROR
PROGRAM: (txkCfgUtlfileDir.pl)
FUNCTION: main::validateAppsSchemaCredentials [Level 1]
ERROR MSG: Invalid APPS database user credentials.
)
ERROR CODE = 1

Listener status

The listener is running successfully, and the database services are registered.

Service "PRODDB" has 2 instance(s).
Instance "PRODDB", status UNKNOWN
Instance "prodcdb", status READY

Service "PRODDB_ebs_patch" has 1 instance(s).
Instance "prodcdb", status READY

Service "ebs_PRODDB" has 1 instance(s).
Instance "prodcdb", status READY

Service "prodcdb" has 1 instance(s).
Instance "prodcdb", status READY

Database configuration checks

Connected to the database using "SYSDBA" and verified the following:

SHOW PARAMETER local_listener;

SHOW PDBS;

ALTER SESSION SET CONTAINER = PRODDB;

SHOW PARAMETER local_listener;

The "local_listener" parameter is configured as:

ttd-rhel7-erp2.ttd.com:1528

The PRODDB PDB is open in READ WRITE mode.

We also verified the following:

- APPS account is open.
- APPS password is valid.
- Database recovery completed successfully.
- Listener is running and database services are registered.

However, when we attempt to connect using the APPS credentials, we are getting ORA-01017.

sqlplus apps/****@PRODDB

Error:

ORA-01017: invalid username/password; logon denied

Request for guidance

Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: Subject: ORA-01017 While Executing txkCfgUtlfileDir.pl During EBS R12.2 Migration to

ErmanArslansOracleBlog
Administrator
Check  password version and SQLNET.ALLOWED_LOGON_VERSION_SERVER, and see if they are aligned.

-->SELECT username, password_versions, account_status FROM dba_users WHERE username = 'APPS';

-->relevant sqlnet.ora -> SQLNET.ALLOWED_LOGON_VERSION_SERVER
Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: Subject: ORA-01017 While Executing txkCfgUtlfileDir.pl During EBS R12.2 Migration to

satish
Hi erman,

No sqlnet.ora in pdb $TNS_ADMIN/CONTEXT_NAME.Here this will be generated after autoconfig.
We can see only in cdb $TNS_ADMIN

Account is open


-->SELECT username, password_versions, account_status FROM dba_users WHERE username = 'APPS';

Same as existing source.

-->relevant sqlnet.ora -> SQLNET.ALLOWED_LOGON_VERSION_SERVER
Thanks,
Satish