May 23, 2026

Changing Oracle Applications User Password Using FNDCPASS – Step-by-Step Guide

As an oracle apps dba , we often need to reset password for apps user in E-Business suite . FNDCPASS is an Oracle E-Business Suite utility used to change application user passwords, Oracle schema passwords, and APPS/APPLSYS passwords while keeping Oracle EBS metadata synchronized.     

 

Steps to change:-

1.      First ensure application is not running or shutdown application by

Invoke application environment from run file system


[oracle@ebstest VIS]$ cd /u01/oracle/VIS/fs1/EBSapps/appl

[oracle@ebstest VIS]$ . APPSVIS_ebstest.env

[oracle@ebstest sql]$ cd $ADMIN_SCRIPTS_HOME

[oracle@ebstest sql]$  ./adstpall.sh



1.      Change the APPLSYS password using

Syntax:- FNDCPASS apps/<appspwd> 0 Y system/<system_manager> SYSTEM APPLSYS <new_apps_passwd>

 

[oracle@ebstest sql]$  FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS apps123#

 



1.      Run autoconfig on appstier

[oracle@ebstest VIS]$ cd /u01/oracle/VIS/fs1/EBSapps/appl

[oracle@ebstest VIS]$ . APPSVIS_ebstest.env

[oracle@ebstest scripts]$ cd $ADMIN_SCRIPTS_HOME

[oracle@ebstest scripts]$ adautocfg.sh

……

……

AutoConfig completed successfully

 



1.      Now start weblogic admin server using following script

[oracle@ebstest scripts]$ pwd

/u01/oracle/VIS/fs1/inst/apps/VIS_ebstest/admin/scripts 

[oracle@ebstest scripts]$ sh adadminsrvctl.sh start

You are running adadminsrvctl.sh version 120.10.12020000.2

 Enter the WebLogic Admin password:

Enter the APPS Schema password:

 


Confirm the admin server running status. Don’t start any other application services.

[oracle@ebstest scripts]$ sh adadminsrvctl.sh status 

You are running adadminsrvctl.sh version 120.10.12020000.2

 Enter the WebLogic Admin password:

Enter the APPS Schema password:

  The AdminServer is running 

adadminsrvctl.sh: exiting with status 0

 adadminsrvctl.sh: check the logfile /u01/oracle/VIS/fs1/inst/apps/VIS_ebstest/logs/appl/admin/log/adadminsrvctl.txt for more information ...

 


1.      Now login to weblogic console from browser


Click on Lock and Edit button



Now under Domain structure, click on services - > Data Sources



Now click on “EBSDataSource”




Now on the page of “Settings of EBSDataSoure” click on connection pool and  provide the changed apps password and save it.






Click on Activate changes.



Start the application services.

[oracle@ebstest appl]$ pwd

/u01/oracle/VIS/fs1/EBSapps/appl

 [oracle@ebstest appl]$ adstrtal.sh

 You are running adstrtal.sh version 120.24.12020000.6

 Enter the APPS username: apps 

Enter the APPS password:

Enter the WebLogic Server password:

….

….

All enabled services for this node are started.

 adstrtal.sh: Exiting with status 0

 


1.      Verify the WLS Datastore changes by doing followings


Log in to WLS Administration Console.

In the Domain Structure tree, expand Services, then select Data Sources.

On the "Summary of JDBC Data Sources" page, select EBSDataSource.

In the "Settings for EBSDataSource" page, select Monitoring > Testing

 



Select "oacore_server1".

 Click Test DataSource

 Look for the message "Test of EBSDataSource on server oacore_server1 was successful".





May 22, 2026

Oracle ADRCI Utility Explained with Practical Examples on Windows

 Recently, while troubleshooting an Oracle issue on a Windows server, I realized how many DBAs still depend only on alert logs and trace file to find out issues in database.

Finding the right trace file manually can become painful, especially when multiple Oracle homes, listener logs, and incidents are involved.

This is where ADRCI (Automatic Diagnostic Repository Command Interpreter) becomes extremely useful.

 

I will show a handful commands which is very useful

1.      To know the current base location:-

C:\Windows\system32>adrci

 

ADRCI: Release 19.0.0.0.0 - Production on Fri May 22 19:27:21 2026

 

Copyright (c) 1982, 2024, Oracle and/or its affiliates.  All rights reserved.

 

ADR base = "D:\oracle"

adrci> show base

ADR base is "D:\oracle"

 

2.      List out homes available

adrci> show homes

ADR Homes:

diag\clients\user_svc_concepts\host_3809360924_110

diag\clients\user_svc_concepts\RMAN_3809360924_110

diag\clients\user_SYSTEM\host_3809360924_110

diag\rdbms\orcl\orcl

diag\tnslsnr\VSCSDB\listener

 

3.      To set a specific home

adrci> set home diag\rdbms\orcl\orcl

 

4.      View alert log

adrci> show alert

 

ADR Home = D:\oracle\diag\rdbms\orcl\orcl:

*************************************************************************

Output the results to file: C:\Users\SVC_CO~1\AppData\Local\Temp\alert_16312_16036_orcl_1.ado

Following command will tail the alert log

adrci> show alert -tail 100 -f

2026-05-22 20:04:31.421000 +04:00

    nt secondary err code: 0

    nt OS err code: 0

  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.60.85)(PORT=57204))

WARNING: inbound connection timed out (ORA-3136)

2026-05-22 20:05:35.659000 +04:00

…..

 

 

 

adrci> show alert -p "message_text like '%ORA-%'"

 

ADR Home = D:\oracle\diag\rdbms\orcl\orcl:

*************************************************************************

Output the results to file: C:\Users\SVC_CO~1\AppData\Local\Temp\alert_11648_5432_orcl_4.ado

 

 

5.      Purge alerts and trace files

adrci> purge -age 1200 -type ALERT  (This purges all alerts older than 1200 minutes)

adrci> purge -age 43200 -type INCIDENT(This purges all INCIDENT older than 43200 minutes OR 30 days)

 

adrci> purge -age 21600 (This purges everything older than 21600 minutes OR 15 days)

adrci> purge -age 10080 -type cdump(This purges cdump older than 10800 minutes OR 7 days)

 

 

 

ADR automatically purges information from the repository. You can see the defaults using the SHOW CONTROL command.

adrci> show control

 

ADR Home = D:\oracle\diag\rdbms\orcl\orcl:

*************************************************************************

ADRID                SHORTP_POLICY        LONGP_POLICY         LAST_MOD_TIME                            LAST_AUTOPRG_TIME                        LAST_MANUPRG_TIME                        ADRDIR_VERSION       ADRSCHM_VERSION      ADRSCHMV_SUMMARY     ADRALERT_VERSION     CREATE_TIME                              SIZEP_POLICY         PURGE_PERIOD         FLAGS                PURGE_THRESHOLD

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

1335663986           720                  8760                 2022-11-01 13:32:30.314000 +04:00        2026-05-21 23:51:14.096000 +04:00        2026-05-22 20:18:33.106000 +04:00        1                    2                    110                  1                    2022-11-01 13:32:30.314000 +04:00        18446744073709551615 0                    0                    95

1 row fetched

 

The SHORTP_POLICY is of 720 hours (30 days) applies to:

  • Trace files, including those files stored in the cdmp_timestamp sub-directories
  • Core dump files
  • Packaging information

The LONGP_POLICY of 8760 hours (365 days) applies to:

  • Incident information
  • Incident dumps
  • Alert logs

We can alter the default value using set control command

adrci> set control (SHORTP_POLICY =240)

adrci> set control (LONGP_POLICY=4320)

 

6.      Viewing Trace Files contents

adrci> show trace D:\oracle\diag\rdbms\orcl\orcl\trace\orcl_ora_7860.trc

Output the results to file: C:\Users\SVC_CO~1\AppData\Local\Temp\utsout_11648_5432_7.ado

adrci>

 

 

7.      Create incident package:

adrci> show incident

adrci>IPS CREATE PACKAGE INCIDENT

 

Step-by-Step Guide to Convert Physical Standby to Snapshot Standby in Oracle 19c

 

In many Oracle Data Guard environments, the standby database is usually seen only as a DR database. But I have seen several customers use their Snapshot Standby as a temporary sandbox for testing.

Before moving important changes to production whether it is a patch, program change, or database modification they first validate everything on snapshot standby. Since the standby stays very close to production data, testing becomes much more reliable than using an outdated DEV or TEST environment.

Recently, I had a similar requirement where the application team wanted to validate some changes. Instead of refreshing a separate database clone, we simply converted the physical standby into a Snapshot Standby and used it for testing.

In fact they had a batch script in place which used to run every night to keep the standby database in sync to make it very close to actual production environment.

 

Environment details: -

Env details

Primary DB

Standby DB

DB unique Name

Orcl

DVDB

DB name

Orcl

Orcl

DB role

Primary

Standby

DB Version

19.29

19.29

OS Version

Windows 2022

Windows 2022

 

 

Today I will show how to convert a physical standby database into snapshot standby database.

In primary:-

FRA must be configured

Sufficient FRA space should exist

Standby should be mounted and healthy

SQL> show parameter db_recovery

 

NAME                                 TYPE        VALUE

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

db_recovery_file_dest                string      D:\oracle\fast_recovery_area

db_recovery_file_dest_size           big integer 300G

 

 

Check for archive log gap status in Primary:-

SQL> select status,instance_name,database_role,open_mode from v$database,v$Instance;

 

STATUS       INSTANCE_NAME    DATABASE_ROLE    OPEN_MODE

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

OPEN         orcl             PRIMARY          READ WRITE

 

SQL> select max(sequence#) from v$archived_log where archived='YES';

 

MAX(SEQUENCE#)

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

         87655

 

 

In standby:-

SQL> show parameter db_recovery_file_dest

 

NAME                                 TYPE        VALUE

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

db_recovery_file_dest                string      D:\oracle\fast_recovery_area

db_recovery_file_dest_size           big integer 200G

 

SQL> select max(sequence#) from v$archived_log where archived='YES';

 

MAX(SEQUENCE#)

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

         87655

 

 

Now login to DGMGRL utility to perform conversion to snapshot database

In standby:-

C:\Windows\system32>dgmgrl sys@dvdb as sysdba

DGMGRL for 64-bit Windows: Release 19.0.0.0.0 - Production on Fri May 22 13:32:26 2026

Version 19.29.0.0.0

 

Copyright (c) 1982, 2025, Oracle and/or its affiliates.  All rights reserved.

 

Welcome to DGMGRL, type "help" for information.

Password:

Connected to "DVDB"

Connected as SYSDBA.

 

DGMGRL> show configuration

 

Configuration - my_dg_config

 

  Protection Mode: MaxPerformance

  Members:

  orcl   - Primary database

 dvdb   - Physical standby database

 

Fast-Start Failover:  Disabled

 

Configuration Status:

SUCCESS   (status updated 39 seconds ago)

 

Lets start conversion (in standby site)

DGMGRL> CONVERT DATABASE dvdb to snapshot standby ;

Converting database "dvdb" to a Snapshot Standby database, please wait...

Database "dvdb" converted successfully

DGMGRL> show configuration

 

Configuration - my_dg_config

 

  Protection Mode: MaxPerformance

  Members:

  orcl   - Primary database

    dvdb   - Snapshot standby database

 

Fast-Start Failover:  Disabled

 

Configuration Status:

SUCCESS   (status updated 50 seconds ago)

 

SQL> select status,instance_name,database_role,open_mode from v$database,v$Instance;

 

STATUS       INSTANCE_NAME    DATABASE_ROLE    OPEN_MODE

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

OPEN         orcl             SNAPSHOT STANDBY READ WRITE

 

SQL>

 

So this concludes the conversion of physical standby database into standby database.

At this point we can start application and point to the standby database as the database is currently in read write mode.

Note: Any changes made into standby database is not permanent. They get removed whenever the database is converted back to physical standby database.

A Real-World Oracle EBS OCI Migration: Why We Picked WebLogic UCM

 

Recently, one of my long-time customers, who has been running Oracle E-Business Suite (EBS R12.2 with Oracle 19c) on-premises for many years, started discussing a long overdue infrastructure refresh. Their existing servers had aged considerably, and continuing with the same setup no longer looked practical.

Since I had worked with them for quite some time, they reached out to discuss possible options and get my thoughts on the best way forward.

One thing was very clear from the beginning that is although they wanted to modernize the environment, they were not keen on maintaining annual support costs (ATS) or investing heavily in upfront licensing again.

After understanding their requirements, I suggested a simpler approach: use Oracle DBCS for hosting the Oracle Database and consider an Oracle WebLogic Suite UCM image for the EBS application tier. This allowed them to move to OCI without the burden of managing separate WebLogic licensing upfront.

Here is how we launched the instance from oci console :-

Login to cloud.oracle.com and click on navigation menu.



In the Search field, type "Oracle WebLogic Suite UCM Image".


Click "Launch instance", and on the top right of  screen, to launch the instance.



Choose the OS version on which the instance would be launched. Click on Launch instance




Select instance name and compartment under which the instance would be launched




If you wish to change the shape of the instance, you can do so by clicking on change shape option. And click on Next.


'' failed to upload. Invalid response: RpcError

In the network section, provide vcn and subnet as per your environment. Ensure vcn and subnet is already created before launching the instance. and click on next.



Since our VM is associated with a private subnet and I chose the option “Automatically assign private ipv4 address” 



In the Add SSH keys region, select Choose generate a pair for me and download the keys.




In the Boot volume section, you can either accept the default volume size or change it if desired.





And Click Create to create your Compute instance.

 

Once the instance is launched, log in to the instance as the opc user via SSH and perform the following steps: Remove the oracle user by entering the following commands:

Remove the oracle user by entering the following commands:

$ sudo userdel -rf oracle

$ sudo usermod --shell /bin/bash root

 

Install the Oracle E-Business Suite RPM using the following command: For Oracle Linux 8 installation, use the following yum command:

$ dnf install oracle-ebs-server-R12-preinstall.x86_64

 

Create the required soft link for the motif library:

sudo ln -s /usr/lib/libXm.so.4 /usr/lib/libXm.so.2

 

Run the following commands to perform required cleanup

$ sudo dnf history redo last

$ sudo dnf remove --duplicates

$ sudo dnf update

   

Use the following commands to remove the content of the

/u01 directory:

[opc@ebs_ucm u01]$

pwd

/u01

[opc@ebs_ucm u01]$

ls -lrt

total 0

drwxrwxr-x. 5 oracle oracle 65 May  22 10:57 zips

drwxrwxr-x. 2 oracle oracle 6 May 22 10:57 logs

$ sudo rm -rf

 

Now our ucm instance is ready for EBS installation or migration. The path is straightforward and same as we perform for any EBS application migration. 

 

Reference: Doc id : 2766854.1



Oracle 19c FSFO Observe-Only Mode – A Safe Way to Test Automatic Failover

 

Recently for an enterprise customer, we had a requirement of enabling Fast start fail over. Customer had 1 primary and one standby database configured and they wanted to configure fast start fail over on top of it.

Now before we start the configuration, customer had a concern about “What if Oracle triggers failover when it shouldn’t?”

This is where Observe-Only Mode becomes useful.

Lets understand what is Observe-Only Mode?

Observe-Only Mode lets the observer monitor the Data Guard configuration exactly like normal FSFO, but without actually failing over the database.

In simple words, Oracle checks:

  • Primary database availability
  • Standby health
  • Observer connectivity
  • FSFO conditions

But even if all failover conditions are met, role reversal does not happen between primary and standby database.

Recommendation:-

In real environments, nobody wants surprises during DR .

You may have questions like:

  • Is the observer stable?
  • Will temporary network issues trigger failover?
  • Is standby lag acceptable?
  • Are timeout values configured properly?

Observe-Only Mode helps answer these questions before enabling actual automatic failover.

Personally, I feel this is a good way to build confidence in the setup.

How to Enable It

Connect using DGMGRL and run:

DGMGRL> ENABLE FAST_START FAILOVER OBSERVE ONLY;

Enabled in Observe-Only Mode.

 

Once enabled, verify the configuration:

DGMGRL> SHOW CONFIGURATION;

 

You should see something like:

Fast-Start Failover: Enabled in Observe-Only Mode

To check complete FSFO details:

DGMGRL> SHOW FAST_START FAILOVER;

This shows observer information, target standby, failover threshold, lag limits, and related settings.

What Actually Happens During Failure?

Suppose your primary database becomes unreachable.

Normally, FSFO may promote the standby automatically.

In Observe-Only Mode, Oracle behaves differently.

The observer still evaluates everything, but no role transition happens. The standby remains standby.

You can later review logs and confirm whether failover would have been triggered.

When Should You Use It?

I would recommend using Observe-Only Mode in these situations:

  • Before enabling FSFO in production
  • After network or infrastructure changes
  • During DR testing
  • After observer relocation

Basically, anytime you want to test behavior without taking risk.

Moving to Actual FSFO

Once you are satisfied with the behavior, disable observe-only mode and enable real FSFO.

 

DGMGRL> DISABLE FAST_START FAILOVER;

DGMGRL> ENABLE FAST_START FAILOVER;

 

Final Thoughts

FSFO is powerful, but enabling it blindly is not always a good idea.

Observe-Only Mode gives you a safe way to understand how Oracle Data Guard will react during failures without impacting production.

Think of it as a practice run before switching to full automation.

 

Oracle Database 26ai Installation Using RPM on Oracle Linux 9 (OEL 9) – Step-by-Step Guide

  In this post I will describe the installation of Oracle Database 26ai 64-bit on Oracle Linux 9 (OL8) 64-bit. The installation requires a m...