Thursday, October 19, 2017
How do you know if you are using spfile or pfile
This shows database was started by
spfile
SQL> show parameter spfile;
NAME TYPE VALUE
---- ---- ----------------------------------------------------------
spfile string /root/apps/oracle/10g/dbs/spfile<DB_NAME>.ora
No values returned means its started by
pfile
Wednesday, October 18, 2017
How to Check Oracle Fusion Middleware 11g and WebLogic Component Versions
For Weblogic
cat $FMW_HOME/wlserver_10.3/.product.properties | grep WLS_PRODUCT_VERSION
For Fusion Middleware
$ORACLE_HOME/OPatch/opatch lsinventory -detail
Monday, October 9, 2017
EBS + Remove Personalize Table Layout
I have this annoying problem where our page would look like this.
Normally the highlighted areas should not be there. If like me you want to turn it off then go ahead and follow this navigation.
System Administrator > Profile > System >
Type "FND: Personalization Region Link Enabled" and then update it to "No".
Logout and then Login.
It should be back to normal.
Normally the highlighted areas should not be there. If like me you want to turn it off then go ahead and follow this navigation.
System Administrator > Profile > System >
Type "FND: Personalization Region Link Enabled" and then update it to "No".
Logout and then Login.
It should be back to normal.
Sunday, October 8, 2017
How to Check if a Patch has been applied
To check if patch 22246751 has been applied
select ad_patch.is_patch_applied('R12',-1,22246751) from dual;
select ad_patch.is_patch_applied('R12',-1,22246751) from dual;
Thursday, October 5, 2017
Error txkADOPValidation during adop phase=fs_clone
I was going to apply a patch on our EBS R12 and the first step was to run ' adop phase=fs_clone' to sync the run files system with the patch file system.
==================================
Inside _eliminateAbandonNodes()...
==================================
Node Status
----------------------------------------------
miasma RUN and PATCH context file entries are valid
Nodes with context files in the FND_OAM_CONTEXT_FILES table on both run and patc h file systems: miasma
Nodes without context files in the FND_OAM_CONTEXT_FILES table on either/or run and patch file systems: NONE
================================
Inside _validateJDKTop()...
================================
I got this error
=============================
Inside getAbandonedNodes()...
=============================
SQL Command: SELECT AD_ZD_ADOP.GET_ABANDONED_NODES('ABANDONED')||',' FROM DUAL
tempAbandonedNodes:
==================================
Inside _eliminateAbandonNodes()...
==================================
Node Status
----------------------------------------------
miasma PATCH context file is missing
ERROR:
Nodes with context files in the FND_OAM_CONTEXT_FILES table on both run and patch file systems: NONE
Nodes without context files in the FND_OAM_CONTEXT_FILES table on either/or run and patch file systems: miasma
Corrective Action:
- If the run file system context file for a node is missing, run AutoConfig on the run file system of that node to sync with the value with the database.
- If the patch file system context file of a node is missing, run AutoConfig on the patch file system of that node with the -syncctx option as follows to sync with the value with the database.
On UNIX:
sh <AD_TOP>/bin/adconfig.sh contextfile=<CONTEXT_FILE> -syncctx
On Windows:
<AD_TOP>\bin\adconfig.cmd contextfile=<CONTEXT_FILE> -syncctx
Exiting validations as further tests will break.
From this log file we see that it reports that the context file for the patch file system is missing.
Although when I checked at the OS level it is there.
SOLUTION:
My environment
E-Business Suite Environment Information
----------------------------------------
RUN File System : /upgrade/R12_R12D1/fs2/EBSapps/appl
PATCH File System : /upgrade/R12_R12D1/fs1/EBSapps/appl
Non-Editioned File System : /upgrade/R12_R12D1/fs_ne
1. source the patch file system by doing "/upgrade/R12_R12D1/EBSapps.env patch"
2. get your contextfile by echo $CONTEXT_FILE
3. The contextfile you need is for patch system. For example my $CONTEX_FILE is
$ echo $CONTEXT_FILE
/upgrade/R12_R12D1/fs2/inst/apps/R12D1_miasma/appl/admin/R12D1_miasma.xml
so I will replace fs2 with fs1 so the context file I will put in would be
/upgrade/R12_R12D1/fs1/inst/apps/R12D1_miasma/appl/admin/R12D1_miasma.xml
4. Then run $AD_TOP/bin/adconfig.sh contextfile=/upgrade/R12_R12D1/fs1/inst/apps/R12D1_miasma/appl/admin/R12D1_miasma.xml -syncctx
5. Retry the adop phase=fs_clone.
YOU DONE IT!!
Inside _eliminateAbandonNodes()...
==================================
Node Status
----------------------------------------------
miasma RUN and PATCH context file entries are valid
Nodes with context files in the FND_OAM_CONTEXT_FILES table on both run and patc h file systems: miasma
Nodes without context files in the FND_OAM_CONTEXT_FILES table on either/or run and patch file systems: NONE
================================
Inside _validateJDKTop()...
================================
How To Source Run or Patch Filesystem on EBS 12.2.*
/upgrade/R12_R12D1/EBSapps.env run
/upgrade/R12_R12D1/EBSapps.env patch
/upgrade/R12_R12D1/EBSapps.env patch
txkSetConfig.pl
When autoconfig on EBS keeps on failing
******FATAL ERROR*******
PROGRAM : (/orastg/orastg3/oracle/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl)
TIME : Wed Oct 15 13:30:02 2014
FUNCTION: [ Level 1 ]
ERRORMSG: *******FATAL ERROR*******
PROGRAM : (/orastg/orastg3/oracle/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl)
TIME : Wed Oct 15 13:30:02 2014
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Solution:
Register ORACLE_HOME's in the central inventory
$FMW_HOME/oracle_common/oui/bin/attachHome.sh
$FMW_HOME/webtier/oui/bin/attachHome.sh
$FMW_HOME/Oracle_EBS-app1/oui/bin/attachHome.sh
$FMW_HOME/Oracle_OAMWebGate1/oui/bin/attachHome.sh - might fail without OAM/SSO
$IAS_ORACLE_HOME/oui/bin/attachHome.sh
$ORACLE_HOME/oui/bin/attachHome.sh
******FATAL ERROR*******
PROGRAM : (/orastg/orastg3/oracle/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl)
TIME : Wed Oct 15 13:30:02 2014
FUNCTION: [ Level 1 ]
ERRORMSG: *******FATAL ERROR*******
PROGRAM : (/orastg/orastg3/oracle/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetConfig.pl)
TIME : Wed Oct 15 13:30:02 2014
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Solution:
Register ORACLE_HOME's in the central inventory
$FMW_HOME/oracle_common/oui/bin/attachHome.sh
$FMW_HOME/webtier/oui/bin/attachHome.sh
$FMW_HOME/Oracle_EBS-app1/oui/bin/attachHome.sh
$FMW_HOME/Oracle_OAMWebGate1/oui/bin/attachHome.sh - might fail without OAM/SSO
$IAS_ORACLE_HOME/oui/bin/attachHome.sh
$ORACLE_HOME/oui/bin/attachHome.sh
Wednesday, October 4, 2017
How to change passwords in EBS R12
One of the main duties of an App DBA is cloning EBS from Prod to Dev. It is recommended that we change the passwords of a user on a DEV environment so that they would not be able to access the PROD.
DO NOT Change passwords on the DB level. Instead use FNDCPASS.
In this example we would change the FNDCPASS of SYSADMIN on our newly cloned EBS.
Steps
Subscribe to:
Posts (Atom)