How to Send a Test Workflow Email to a User

In this blog you will find How to send a test workflow email to a specific user

1. Go to site map
2. click on notification mailer
3. click on edit
4. click on test mailer
5. click on search button
6. search your username
7. click on accept
8. click on send message
9. click on ok.

Now open toad and run this query:
select * from  WF_NOTIFICATIONS order by notification_id desc

The mail_status will be mail for some time and then it changes to sent which means that it has been sent to the respective user.

Now check your email inbox it should be there.

Posted in Uncategorised | Leave a comment

How to Restart Workflow Email Service Quickly and Easily

In this blog we are going to discuss how we can restart the service of workflow email

1. Go to site map
2. Click notification mailer
3. Select Workflow Mailer Service
4. Open LOV and click on stop all
5. Click ok
6. Now reload browser until the status set to deactivated
7. Now click on start all

Posted in Uncategorised | Leave a comment

How to install Telnet on linux 8.10

During configuration of a DR server, when i try to do telnet from primary to dr, the telnet utility is not working on primary, so this is the procedure to install telnet.

ERROR:
telnet “IP” 1572
bash: telnet: command not found…
Install package ‘telnet’ to provide command ‘telnet’? [N/y] y

  • Waiting in queue…
    The following packages have to be installed:
    telnet-1:0.17-76.el8.x86_64 The client program for the Telnet remote login protocol
    Proceed with changes? [N/y] y
  • Waiting in queue…
  • Waiting for authentication… Failed to install packages: Failed to obtain authentication.

Login to root

Welcome root

cd stuff/media/dvd/AppStream/Packages/

pwd
/media/dvd/AppStream/Packages

ls -lrt telnet
-r–r–r–. 1 root root 73528 Apr 7 2021 telnet-0.17-76.el8.x86_64.rpm
-r–r–r–. 1 root root 49076 Apr 7 2021 telnet-server-0.17-76.el8.x86_64.rpm
-r–r–r–. 1 root root 72846 Jul 1 2022 rubygem-net-telnet-0.2.0-109.module+el8.6.0+20693+52f02d9c.noarch.rpm
-r–r–r–. 1 root root 73974 Jul 3 2023 rubygem-net-telnet-0.2.0-139.module+el8.8.0+21111+2e34bf27.noarch.rpm
-r–r–r–. 1 root root 72038 Oct 30 2023 rubygem-net-telnet-0.1.1-111.module+el8.9.0+90042+a65659a6.noarch.rpm


[root@ebs (Packages)]$ 11:33:45 > rpm -ivh telnet-0.17-76.el8.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:telnet-1:0.17-76.el8 ################################# [100%]


there were also some network restriction because of which the primary and DR were not communicating for which I had to ask the Linux engineer to allow those restriction.
You can check that too.

RESULT:
telnet “IP” 1572
Trying “IP”…
Connected to “IP”.
Escape character is ‘^]’.

Posted in Uncategorised | Leave a comment

How to Replace a Corrupted Undo Tablespace in Oracle RAC Database

Learn step-by-step how to replace a corrupted or problematic undo tablespace in Oracle Database, including creating a new undo tablespace and updating the spfile safely


Undo tablespaces are critical in Oracle Database for managing transactions and rollback segments. Occasionally, an undo tablespace may become corrupted, offline, or unusable, causing transaction failures. This blog guides you through safely replacing a corrupted undo tablespace in Oracle 11g/12c/19c using SQL*Plus, ensuring minimal downtime and risk.


Create a PFILE from the Existing SPFILE

Creating a PFILE allows you to make temporary parameter changes without affecting the current SPFILE:

SQL> CREATE PFILE='/u01/MiscFiles/initTempJCDB1.ora' FROM SPFILE;

Shutdown the Database

Shut down the database instance to make changes:

SQL> SHUTDOWN IMMEDIATE;

Update PFILE Parameters

Edit the PFILE (initTempJCDB1.ora) to include:

*.undo_management = manual
*.event='10513 trace name context forever, level 2'

These settings ensure manual undo management and detailed tracing during recovery.


Startup in Restricted Mode Using PFILE

Start the database in restricted mode with the edited PFILE:

SQL> STARTUP RESTRICT PFILE='/u01/MiscFiles/initTempJCDB1.ora';
SQL> CREATE PFILE='/u01/MiscFiles/initTempJCDB122.ora' FROM SPFILE;

Verify Undo Segments Status

Check all undo segments to ensure they are offline:

SQL> SELECT tablespace_name, status, segment_name
     FROM dba_rollback_segs
     WHERE status != 'OFFLINE';

⚠ Critical: If any undo segment shows PARTLY AVAILABLE or NEEDS RECOVERY, contact Oracle Support before proceeding.

IF ALL OFFILINE ONLY THEN CONTINUE TO THE NEXT STEP


Create a New Undo Tablespace

Create a new undo tablespace to replace the corrupted one:

SQL> CREATE UNDO TABLESPACE UNDOTBS11 
     DATAFILE '+DATA/jcdb/datafile/undotbs12.262.7685046592' 
     SIZE 2048M AUTOEXTEND ON NEXT 120M MAXSIZE UNLIMITED;

Drop the Old Undo Tablespace

Once the new undo tablespace is created and verified, drop the old one:

SQL> DROP TABLESPACE UNDOTBS1 INCLUDING CONTENTS AND DATAFILES;

Shutdown and Startup Database

Shutdown the database:

SQL> SHUTDOWN IMMEDIATE;

Startup Using Original SPFILE

Startup the database in NOMOUNT mode if needed:

SQL> STARTUP NOMOUNT;

Update SPFILE with New Undo Tablespace

Set the new undo tablespace in the SPFILE:

SQL> ALTER SYSTEM SET undo_tablespace=UNDOTBS11 SCOPE=BOTH SID='JCDB1';

Step 11: Restart the Database

Shutdown and start the database normally using the updated SPFILE:

SQL> SHUTDOWN IMMEDIATE;
SQL> STARTUP;

Conclusion

Replacing a corrupted undo tablespace involves carefully creating a new tablespace, updating the SPFILE, and ensuring all undo segments are offline. Following these steps helps maintain database integrity and ensures smooth operations without downtime.


Posted in Uncategorised | Leave a comment

How to Fix EBS 12.2 AdminServer Start Failed

While running EBS 12.2 rapid cloning perl adcfgclone appsTier on target machine getting error Waiting for the AdminServer to start, Connection to AdminServer failed, AdminServer start failed, Make sure that AdminServer parameters specified in the move plan are correct.

ISSUE

Error 1:

FINEST : Jun 24, 2025 12:10:52 – [ServerStartUtility:checkAdminServerStartup] Unable to get non ssl MBean connection. Admin server might not be up. Error message is null
FINE : Jun 24, 2025 12:10:52 – [ServerStartUtility:startAdminServer] Starting of Admin server AdminServer is in progress …, 14 minutes passed.
FINE : Jun 24, 2025 12:10:52 – [ServerStartUtility:startAdminServer] Waiting for the AdminServer to start …
FINE : Jun 24, 2025 12:10:57 – [ServerStartUtility:checkAdminServerStartup] Checking server startup for the url -t3://dev..gov.sa:7001 FINEST : Jun 24, 2025 12:10:58 – [ServerStartUtility:checkAdminServerStartup] Unable to get non ssl MBean connection. Admin server might not be up. Error message is null FINE : Jun 24, 2025 12:10:58 – [ServerStartUtility:startAdminServer] Waiting for the AdminServer to start … FINE : Jun 24, 2025 12:11:03 – [ServerStartUtility:checkAdminServerStartup] Checking server startup for the url -t3://dev..gov.sa:7001

Error 2:

Error Message :1
Jun 24, 2025 19:30:03 – ERROR – CLONE-20362 Connection to AdminServer failed.
Jun 24, 2025 19:30:03 – CAUSE – CLONE-20362 AdminServer start failed. Make sure that AdminServer parameters specified in the move plan are correct.
Jun 24, 2025 19:30:03 – ACTION – CLONE-20362 Check the AdminServer logs.
Error Message :2
Jun 24, 2025 19:30:03 – SEVERE – CLONE-20937 “pasteConfig” operation of J2EE domain failed. Check clone log and error files for more details.
Error Message :3
Jun 24, 2025 19:30:03 – ERROR – CLONE-20237 Restoring the sourceid “J2EECOMPONENT@EBS_domain” has failed.
Jun 24, 2025 19:30:03 – CAUSE – CLONE-20237 An internal operation failed.
Jun 24, 2025 19:30:03 – ACTION – CLONE-20237 Check the clone log for more details.

CAUSE:

  1. Low s_adminservertimeout value caused premature timeouts during configuration, leading to incomplete domain setup.
  2. Corrupted or outdated WebLogic domain due to misaligned configuration with context file and AutoConfig templates.

SOLUTION:
Oracle Referece:
Recreate the Oracle E-Business Suite (EBS) WLS (Weblogic Server) Domain

  1. In the Database Tier do the following:
    1.1. Log into the database tier.
    1.2. Source the environment.
    1.3. Ensure that database and listener are up and running.
  2. In the Applications Tier do the following:

2.1. Source the RUN file system environment.
2.2. Stop all middle tier services using $ADMIN_SCRIPTS_HOME/adstpall.sh.
2.3. Ensure that no process is running from RUN file system.
2.4. Take a backup of the context file and Update s_adminservertimeout context variable value to 4000 and run AutoConfig.
2.5. Execute below command:
$ $FND_TOP/bin/txkrun.pl -script=ChkEBSDependecies -server=ALL_SERVERS
2.6. Recreate the domain by following below steps:
$ cd $FND_TOP/patch/115/bin
$ perl txkEBSDomainConfig.pl
2.7. Start the services and check the WLS domain is fine. For example, you might want to start the WLS console and check all the expected managed servers are up and running.

Note: when running txkEBSDomainConfig.pl you will be prompted “Enter the server start mode for the domain [DEFAULT – prod]:”.Choose the default value of prod.

Oracle Web Logic Server can be run in two different modes, either prod or dev, and the recommended option is to choose prod as it is safer.

The dev mode allows to deploy unsigned java classes but is quicker than prod.*

Posted in Uncategorised | Leave a comment

How to Fix Oracle 19c txkGenCDBTnsAdmin.pl Error – “Can’t locate TXK/ARGS.pm”

While working with Oracle E-Business Suite 19c, generating CDB TNS Admin entries using the txkGenCDBTnsAdmin.pl script may fail on Linux with the following error:

Can’t locate TXK/ARGS.pm in @INC (you may need to install the TXK::ARGS module)

This blog explains the cause and a simple solution to make the script run successfully.

Issue

run the following commands:

cd /u01/8051/db/19.3.0/appsutil
source ./txkSetCfgCDB.env -dboraclehome=/u01/8051/db/19.3.0

cd /u01/8051/db/19.3.0/appsutil/bin

/u01/8051/db/19.3.0/perl/bin/perl txkGenCDBTnsAdmin.pl -dboraclehome=/u01/8051/db/19.3.0 -cdbname=EBSCDB -cdbsid=ERPCDB -dbport=1572 -outdir=/u01/8051/db/19.3.0/appsutil/log -virtualhostname=ebs

Error returned:

Can’t locate TXK/ARGS.pm in @INC (you may need to install the TXK::ARGS module) (@INC contains: /u01/8051/db/19.3.0/perl/lib/site_perl/5.28.1/x86_64-linux-thread-multi /u01/8051/db/19.3.0/perl/lib/site_perl/5.28.1 /u01/8051/db/19.3.0/perl/lib/5.28.1/x86_64-linux-thread-multi /u01/8051/db/19.3.0/perl/lib/5.28.1) at txkGenCDBTnsAdmin.pl line 72.
BEGIN failed–compilation aborted at txkGenCDBTnsAdmin.pl line 72.


Solution

Start a Fresh Session

  • Open a new terminal session
  • Log in as the db user

Set Environment Cleanly

cd /u01/8051/db/19.3.0/appsutil
source ./txkSetCfgCDB.env -dboraclehome=/u01/8051/db/19.3.0

Run the Script

/u01/8051/db/19.3.0/perl/bin/perl txkGenCDBTnsAdmin.pl -dboraclehome=/u01/8051/db/19.3.0 -cdbname=EBSCDB -cdbsid=EBSCDB -dbport=1572 -outdir=/u01/8051/db/19.3.0/appsutil/log -virtualhostname=ebs

Script should run successfully without the TXK::ARGS.pm error


Conclusion

The “Can’t locate TXK/ARGS.pm” error in Oracle 19c txkGenCDBTnsAdmin.pl is environment-related, not a missing module.

Permanent practice for Oracle 19c DB-Tier scripting:

  1. Open a fresh Putty session
  2. Source environment only once
  3. Run required Perl scripts

This ensures smooth execution and avoids Perl library path conflicts

Posted in Uncategorised | Leave a comment

How to Fix “Failed to execute FMW pre-requisite check” Failure on Linux 8

While performing an Oracle EBS 12.2 appsTier clone on Linux 8, you may encounter a failure if your preclone backup is sourced from Linux 7.

Failed to execute FMW pre-requisite check

This happens in upgrade or migration scenarios where environments are being moved from older OS versions to modern platforms like Linux 8.

In this blog, we will cover:

  • The exact error
  • Root cause
  • Quick workaround (target-side fix)
  • Permanent solution (production fix)

Issue

Command:

perl adcfgclone.pl appsTier

Fails with the following error:

Failed to execute FMW pre-requisite check:
FMW Pre-requisite check log file location : /u01/8045_Iteration/ebiz/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
The entry point is: oracle.installType.all
Check Name:CertifiedVersions
Check Description:This is a prerequisite condition to test whether the Oracle software is certified on the current O/S or not.
/etc/inittab does not seem to contain default runlevel information.
Expected result: One of oracle-7,redhat-7,redhat-6,oracle-6,oracle-5,enterprise-5.4,enterprise-4,enterprise-5,redhat-5.4,redhat-4,redhat-5,SuSE-10,SuSE-11
Actual Result: oracle-8.10
Check complete. The overall result of this check is: Failed <<<<



Root Cause

The issue occurs because:
Outdated prereq framework does not support Linux 8


Workaround (Quick Fix on Target Server)

You can fix this issue directly on the target Linux 8 clone server.


Update prereq folder which basically resides under
/u01/8045_Iteration/ebiz/fs1/EBSapps which is extracted from Tar Backup.

Below is the target directory
/u01/8045_Iteration/ebiz/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/prereq/linux64

  1. Unzip the patch zip file into the PATCH_TOP
    cd /u01/8045_Iteration
    unzip p33471111_111190_Generic.zip
    This will deliver prereq folder with updated linux 8 supported piece of code
  2. cd /u01/8045_Iteration/ebiz/fs1/FMW_Home/webtier/inventory/Scripts
    mv prereq OFF_TILL_LINUX_7_prereq
    cp -r /u01/8045_Iteration/prereq .

Verify Updated OS Support

Ensure the new prereq contains Linux 8 entries like below:


<OPERATING_SYSTEM>
    <VERSION VALUE="8"/>
    <ARCHITECTURE VALUE="x86_64"/>
    <NAME VALUE="Linux"/>
    <VENDOR VALUE="oracle"/>
    <GLIBC ATLEAST="2.17">
    </GLIBC>
    <PACKAGES>
 	<PACKAGE NAME="binutils" VERSION="2.23.52.0.1" />
 	<PACKAGE NAME="libcap" VERSION="2.25-9" />
 	<PACKAGE NAME="libstdc++" VERSION="8.2.1-3.5.0.1.el8"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libgcc" VERSION="4.8.2"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libstdc++-devel" VERSION="4.8.2"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="sysstat" VERSION="10.1.5" />
 	<PACKAGE NAME="gcc" VERSION="4.8.2" />
 	<PACKAGE NAME="gcc-c++" VERSION="4.8.2" />
 	<PACKAGE NAME="ksh" VERSION="..." />
 	<PACKAGE NAME="make" VERSION="3.82" />
 	<PACKAGE NAME="glibc" VERSION="2.17" ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="glibc-devel" VERSION="2.17"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libaio" VERSION="0.3.109"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libaio-devel" VERSION="0.3.109"  ARCHITECTURE="x86_64"/>
    </PACKAGES>
    <KERNEL>
	<PROPERTY NAME="VERSION" VALUE="3.8.0"/>
	<PROPERTY NAME="hardnofiles" VALUE="4096"/>
	<PROPERTY NAME="softnofiles" VALUE="4096"/>
    </KERNEL>
  </OPERATING_SYSTEM>

  <OPERATING_SYSTEM>
    <VERSION VALUE="8"/>
    <ARCHITECTURE VALUE="x86_64"/>
    <NAME VALUE="Linux"/>
    <VENDOR VALUE="redhat"/>
    <GLIBC ATLEAST="2.17">
    </GLIBC>
    <PACKAGES>
 	<PACKAGE NAME="binutils" VERSION="2.23.52.0.1" />
 	<PACKAGE NAME="libcap" VERSION="2.25-9" />
 	<PACKAGE NAME="libstdc++" VERSION="8.2.1-3.5.0.1.el8"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libgcc" VERSION="4.8.2"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libstdc++-devel" VERSION="4.8.2"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="sysstat" VERSION="10.1.5" />
 	<PACKAGE NAME="gcc" VERSION="4.8.2" />
 	<PACKAGE NAME="gcc-c++" VERSION="4.8.2" />
 	<PACKAGE NAME="ksh" VERSION="..." />
 	<PACKAGE NAME="make" VERSION="3.82" />
 	<PACKAGE NAME="glibc" VERSION="2.17"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="glibc-devel" VERSION="2.17"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libaio" VERSION="0.3.109"  ARCHITECTURE="x86_64"/>
 	<PACKAGE NAME="libaio-devel" VERSION="0.3.109"  ARCHITECTURE="x86_64"/>
    </PACKAGES>
    <KERNEL>
	<PROPERTY NAME="VERSION" VALUE="3.10.0"/>
	<PROPERTY NAME="hardnofiles" VALUE="4096"/>
	<PROPERTY NAME="softnofiles" VALUE="4096"/>
    </KERNEL>
  </OPERATING_SYSTEM>


Re-run Clone

perl adcfgclone.pl appsTier

✅ Clone should proceed successfully


Permanent Solution

The above fix is temporary. For a clean and future-proof setup, apply the patch on Production App Tier.


Apply Patch on Source (Linux 7)

unzip -d PATCH_TOP p33471111_111190_Generic.zip


Replace prereq Directory (Run & Patch FS)

cd /u01/8045_Iteration/ebiz/FMW_Home/webtier/inventory/Scripts

mv prereq OFF_TILL_LINUX_7_prereq

cp -r /u01/8045_Iteration/prereq .


Run Preclone Again

cd $ADMIN_SCRIPTS_HOME

perl adpreclone.pl appsTier


Take Fresh Backup

Create a new tar backup:

/u01/Prod/ebiz/fs1/EBSapps

Then:

  • Transfer to Linux 8 server
  • Extract
  • Run clone again

    Now cloning will work without any workaround

Conclusion

The CertifiedVersions failure during appsTier cloning happens due to outdated prereq scripts that do not recognize Linux 8.

Quick Fix:

Replace prereq directory on target

Permanent Fix:

Apply patch on source → run preclone → take fresh backup

Following the permanent solution ensures:

  • Clean cloning process
  • No repeated fixes
  • Compatibility with modern OS versions

Posted in Uncategorised | Leave a comment

How to solve JDK VERSION Mismatch during dbTechStack

Cloning an Oracle E-Business Suite (EBS) environment is a routine task for DBAs, but sometimes even a successful preclone can lead to unexpected failures during the dbTechStack configuration phase.

Toady we are facing JDK version mismatch, which results in the failure of:

perl adcfgclone.pl dbTechStack

In this blog, we will walk through a real-world issue, analyze the error, identify the root cause, and provide a step-by-step solution to fix the problem and successfully complete the cloning process.


Problem Statement

During execution, the clone fails at 0% with the following error:

RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR: Failed to execute adclone.pl

Error log reveals:

java.lang.UnsupportedClassVersionError:
Unsupported major.minor version 51.0

Analyze Log Files

Navigate to the logs directory:

cd /DBA/8010_JAN26/12.1.0/appsutil/logs
ls -lrt

Check the error log:

cat oraInstall*.err

Key Error:

Unsupported major.minor version 51.0

Verify Current JDK Version on Target

cd /DBA/8010_JAN26/12.1.0/jdk/bin
./java -version

Output:

java version "1.6.0_75"

Compare with Source / Working Environment

./java -version

Output:

java version "1.7.0_351"

Root Cause

The source production system was running on JDK 1.7, while the cloned environment contained JDK 1.6.

This mismatch caused the Java runtime to fail with:

Unsupported major.minor version 51.0

here is the logfile with the complete error:

Exception java.lang.UnsupportedClassVersionError: oracle/sysman/ccr/collector/install/InvalidValueException : Unsupported major.minor version 51.0 occurred..
java.lang.UnsupportedClassVersionError: oracle/sysman/ccr/collector/install/InvalidValueException : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at oracle.sysman.oii.oiif.oiifw.OiifwOCMInfoWCDE.(OiifwOCMInfoWCDE.java:103)
at oracle.sysman.oii.oiic.OiicCloneSession.getIterElements(OiicCloneSession.java:1133)
at oracle.sysman.oii.oiic.OiicPullSession.initialize(OiicPullSession.java:1423)
at oracle.sysman.oii.oiic.OiicSessionWrapper.initialize(OiicSessionWrapper.java:784)
at oracle.sysman.oii.oiic.OiicSessionWrapper.initialize(OiicSessionWrapper.java:768)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:568)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:969)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)


Classes compiled with Java 7 cannot run on Java 6.


Solution: Replace JDK with Correct Version

Backup Existing JDK

cd /DBA/8010_JAN26/12.1.0
mv jdk XX_jdk_16075

Copy Correct JDK from Source

cp -RH jdk /DBA/8010_JAN26/12.1.0/

Set Proper Ownership

chown -R ora8010:dba /DBA/8010_JAN26/12.1.0/jdk

Verify Updated JDK

cd /DBA/8010_JAN26/12.1.0/jdk/bin
./java -version

Expected Output:

java version "1.7.0_351"


Re-run Clone:

perl adcfgclone.pl dbTechStack

Final Outcome

After applying the fix:

  • ApplyDBTechStack completes successfully
  • No more Java version errors

Conclusion

JDK version mismatch is a subtle but critical issue that can break the Oracle EBS cloning process, even when everything else seems correct.

By carefully analyzing logs and ensuring Java version consistency, you can quickly resolve errors like:

Unsupported major.minor version 51.0

This approach not only fixes the issue but also helps build a more reliable and repeatable cloning process for future deployments.


Posted in Uncategorised | Leave a comment

How to Perform Basic Health Checks of Oracle E-Business Suite 12.2 Database from the Application Tier (No Direct DB Access Required)

As an Oracle EBS administrator, you may often find yourself in situations where you do not have direct SQL*Plus or SSH access to the database tier — especially in restricted production environments, cloud setups, or when working as an Apps DBA focused on the application tier.

The good news is that Oracle Applications Manager (OAM) in EBS 12.2 provides powerful built-in tools to perform essential database health checks directly from the application tier. This allows you to quickly verify instance status, tablespace usage, system alerts, and critical services like the Workflow Notification Mailer.

In this step-by-step guide, we’ll cover the most important basic health checks.

1. Log in to Oracle Applications Manager (OAM)

  1. Log in tou your EBS 12.2 instance as a user with System Administrator or Applications Manager responsibility ( e.g., SYSADMIN )
  2. Navigate to System Administrator > Oracle Applications Manager > Applications Dashboard.

This is your central hub for monitoring the entire EBS environment.

From the left navigation menu, you can directly access:

Drom the left navigation menu, you can directly access:

  • Database Status
  • Workflow
  • System Alerts
  • Concurrent Managers, etc.

2. Check Database Instance Status

Navigate to Database Status under the left menu ( or via Applications Dashboard > Site Map > Database Status ).

Key things to verify:

  • Instance Status: Should show Open with a green checkmark for PRIMARY_INSTANCE.
  • Startup Time: Note when the instance was last started.
  • Sessions: Active sessions ( high numbers may indicate load ).
  • Host and versions: Confirm you are on the expected database version ( e.g, 19.0.0.0 ).

In the example above:

  • Two RAC instances ( ERPPROD1 and ERPPROD2 ) are OPEN.
  • No shutdown is pending.
  • One instance has 165 sessions.

3. Check Tablespaces and Free Space (Critical for Database Health)

This is one of the most important checks when you can’t query DBA_TABLESPACES directly.

This is one of the most important checks when you can’t query DBA_TABLESPACES directly.

From the Database Status Details page, expand Tablaspaces and status.

What to look for:

  • %Free column: Ideally > 15-20% free space for most tablespaces.
  • Watchout for low free space in critical tablespaces like SYSTEM, SYSAUX, APPS_TS_TX_DATA, undo tablespaces, and temp tablespaces.
  • USED MB vs FREE MB.

In the provided view:

  • Most tablespaces show healthy free space ( e.g, APPS_TS_TX_DATA at 91% free ).
  • Pay special attention to any tablespace below 10% free.

Tip: If any tablespace is critically low, raise a ticket with the DB team immediately or request tablespace resize/ add datafile.

4. Check Overall Applications System Status

Go back to the Applications Dashboard (Overview tab).

Go back to the Applications Dashboard ( Overview tab ).

here you can see:

  • Host status for all application nodes.
  • Database status ( green checks = healthy )
  • Concurrent Processing status
  • Recent configuration changes
  • System Alerts and User Initiated Alerts

In a healthy system, you should see green checkmarks across the board.

5. Check Workflow Notification Mailer Status (Very Important!)

Many “system errors” in the worklist are related to Workflow. Notifications not reaching users is a common production issue.

Navigate to:
Workflow Administrator > Oracle Applications Manager > Workflow Manager > Service Components

or directly from the component search.

Verify:

  • Workflow Notification Mailer status = running ( green check ).
  • Type: Workflow Mailer.
  • Container: Oracle Applications GSM.

If the mailer is Down or Error, notifications will queue up and users won’t receive approval emails.

6. Additional Quick Checks from OAM

  • System Alerts: Review any new critical alerts.
  • Concurrent Request: Check for long-running or errored requests.
  • Patching and critical activities: ensure no pending patches or maintenance are blocking normal operaitions.
  • Worklist: Clear or investigate recurring “System Error” notifications ( often related to invalid approvers or workflow issues ).

Conclusion

You don’t always need direct database access to perform basic but essential health checks on your Oracle E-Business Suite 12.2 environment. Oracle Applications Manager gives you excellent visibility into database instance status, tablespace usage, overall system health, and Workflow services directly from the application tier.

Posted in Uncategorised | Leave a comment

How to fix Unable to locate ‘g++’ in Linux 8.10

While performing a database tier clone in Oracle E-Business Suite 12.2 on Linux 8.10, you may encounter a failure during the execution of:

perl adcfgclone.pl dbTechStack

The error that i am getting today is:

Unable to locate ‘g++’ utility in path

This issue occurs due to missing OS-level dependencies required for relinking binaries during the clone process.

In this blog, we will walk through a step-by-step solution to resolve this error quickly and efficiently.


Issue

During the execution of the DB TechStack clone, the system performs prerequisite checks for required utilities like gcc, g++, make, etc.

Even though some utilities are present, the process fails specifically due to missing g++.

Error Output

Checking for make… found – /usr/bin/make
Checking for ld… found – /usr/bin/ld
Checking for gcc… found – /usr/bin/gcc
Checking for g++…
Unable to locate ‘g++’ utility in path

Verification confirms that g++ is not installed:
which g++
/usr/bin/which: no g++ in PATH


Solution

To resolve the issue, install the required package using yum.

Install gcc-c++

yum install gcc-c++.x86_64

This command installs:

  • gcc-c++
  • Required dependencies (cpp, gcc, libgomp, etc.)

Verify Installation

After installation, confirm that g++ is available:

which g++

Expected output:

/usr/bin/g++


Re-run Clone

Now execute the clone command again:

perl adcfgclone.pl dbTechStack

This time, the process should proceed successfully:

Running: Context clone…


Conclusion

The “Unable to locate g++ utility in path” error is a straightforward but blocking issue during Oracle EBS DB Tier cloning.

By simply installing the gcc-c++ package, you can resolve the problem and continue your cloning activity without further interruptions.

Hope this helps.

Posted in Uncategorised | Leave a comment