0% found this document useful (0 votes)
14 views3 pages

Oracle EBS Path Configuration Issues

The document contains configuration details and environment variables for an Oracle E-Business Suite 12.2 database instance named ERPPROD. It includes the Oracle home directory, SID, and other configuration details needed to connect to and manage the database instance. It also includes solutions to common issues like startup failures and retrieving passwords. The document provides commands, URLs, and documentation for additional troubleshooting and management of the Oracle E-Business Suite implementation.

Uploaded by

maruthi631
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Oracle EBS Path Configuration Issues

The document contains configuration details and environment variables for an Oracle E-Business Suite 12.2 database instance named ERPPROD. It includes the Oracle home directory, SID, and other configuration details needed to connect to and manage the database instance. It also includes solutions to common issues like startup failures and retrieving passwords. The document provides commands, URLs, and documentation for additional troubleshooting and management of the Oracle E-Business Suite implementation.

Uploaded by

maruthi631
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

/u01/db/ERPPROD/tech_st/11.2.

0/

export ORACLE_BASE=/u01/db/ERPPROD/tech_st

export ORACLE_SID=ERPPROD
export ORACLE_HOME=/u01/db/ERPPROD/tech_st/11.2.0
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$ORACLE_HOME/OPatch:$PATH
export TNS_ADMIN=$ORACLE_HOME/network/admin/ERPPROD_stgerpapp01
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export ORA_NLS10=$ORACLE_HOME/nls/data/9idata
export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.:$ORACLE_HOME/perl/lib/site_perl/5.10.0
export OPATCH_HOME=$ORACLE_HOME/OPatch
export
ORA_TZFILE='/u01/db/ERPPROD/tech_st/11.2.0/oracore/zoneinfo/timezlrg_14.dat'
***********************************************************************************
****
export PATH=$PATH:$HOME/bin
export ORACLE_BASE=/u01/db/ERPPROD/tech_st
export ORACLE_SID=ERPPROD
export ORACLE_HOME=/u01/db/ERPPROD/tech_st/12.1.0/dbhome_1
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$ORACLE_HOME/OPatch:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export TNS_ADMIN=$ORACLE_HOME/network/admin/ERPPROD_stgerpapp01
export PERL5LIB=$ORACLE_HOME/perl/lib/5.8.3:$ORACLE_HOME/perl/lib/site_perl/5.8.3
export OPATCH_HOME=$ORACLE_HOME/OPatch

export ORA_TZFILE='/u01/db/ERPPROD/tech_st/11.2.0/oracore/zoneinfo/timezlrg_14.dat'
***********************************************************************************
****

issue:

ORA-01092: ORACLE instance terminated. Disconnection forced


ORA-00704: bootstrap process failure
ORA-00604: error occurred at recursive SQL level 2
ORA-00904: "I"."UNUSABLEBEGINNING#": invalid identifier
Process ID: 13900
Session ID: 201 Serial number: 13545

solution:
SQL> startup upgrade
********************************************************************************
issue:
How to retrieve SYSADMIN password in 11i/R12
solution:
STEP 1: Login to sqlplus APPS/<PASSWORD>

SQL> CREATE OR REPLACE PACKAGE APPS.XXARTO_GET_PWD AS


FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2)
RETURN VARCHAR2;
END XXARTO_GET_PWD;
/
Package created.

SQL> CREATE OR REPLACE PACKAGE BODY APPS.XXARTO_GET_PWD AS


FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2)
RETURN VARCHAR2 AS
LANGUAGE JAVA NAME '[Link]
([Link],[Link]) return [Link]';
END XXARTO_GET_PWD;
/
Package body created.

SQL> SELECT Usr.User_Name,


[Link],
XXARTO_GET_PWD.Decrypt (
(SELECT (SELECT XXARTO_GET_PWD.Decrypt (
Fnd_Web_Sec.Get_Guest_Username_Pwd,
Usertable.Encrypted_Foundation_Password)
FROM DUAL)
AS Apps_Password
FROM applsys.Fnd_User Usertable
WHERE Usertable.User_Name =
(SELECT SUBSTR (
Fnd_Web_Sec.Get_Guest_Username_Pwd,
1,
INSTR (Fnd_Web_Sec.Get_Guest_Username_Pwd,
'/')
- 1)
FROM DUAL)),
Usr.Encrypted_User_Password)
Password
FROM applsys.Fnd_User Usr
WHERE Usr.User_Name = '&User_Name';

Enter value for user_name: SYSADMIN


old 21: WHERE Usr.User_Name = '&User_Name'
new 21: WHERE Usr.User_Name = 'SYSADMIN'

USER_NAME DESCRIPTION PASSWORD


---------------- --------------------------
SYSADMIN System Administrator Welcome123
********************************************************************************
HOW TO FIND THE HOME_URL/LOGIN PAGE OF THE APPLICATIONS
following two methods can be used to find the HOME_URL/LOGIN PAGE
SQL> select home_url from icx_parameters;
$grep login_page $CONTEXT_FILE

HOW TO FIND THE WEBLOGIC URL FROM CONTEXT FILE


grep -i .wls_admin. $CONTEXT_FILE

********************************************************************************
linux commands
find its used for searching a file in the directories
grep
********************************************************************************
[Link]
_afrLoop=157083814060881&parent=EXTERNAL_SEARCH&sourceId=BULLETIN&id=1057802.1&_afr
WindowMode=0&_adf.ctrl-state=1dftudmz6r_53
[Link]
_afrLoop=157085974609448&parent=EXTERNAL_SEARCH&sourceId=TROUBLESHOOTING&id=104452.
1&_afrWindowMode=0&_adf.ctrl-state=1dftudmz6r_94
[Link]
_afrLoop=157116244339599&parent=EXTERNAL_SEARCH&sourceId=FAQ&id=105133.1&_afrWindow
Mode=0&_adf.ctrl-state=1dftudmz6r_151
[Link]
_afrLoop=157568566001536&parent=DOCUMENT&sourceId=105133.1&id=1304305.1&_afrWindowM
ode=0&_adf.ctrl-state=1dftudmz6r_249
[Link]
_afrLoop=157229694417345&parent=EXTERNAL_SEARCH&sourceId=HOWTO&id=343575.1&_afrWind
owMode=0&_adf.ctrl-state=1dftudmz6r_200
Getting Started with Oracle E-Business Suite on Oracle Cloud Infrastructure (Doc ID
2517025.1) Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (Doc ID
1383621.1)

********************************************************************************
$ echo $FILE_EDITION
<shows which file edition you are using, run or patch>
$ echo $RUN_BASE
<shows absolute path to run file system>
$ echo $PATCH_BASE
<shows absolute path to patch file system>
$ echo $NE_BASE
<shows absolute path to non-edition file system>
$ echo $APPL_TOP_NE
<non-editioned appl_top path. Equivalent to $NE_BASE/EBSapps/appl>
$ echo $LOG_HOME
<Application Instance Specific Log Directory>
$ echo $ADOP_LOG_HOME
<Online patching Specific Log Directory. Equivalent to $NE_BASE/EBSapps/log/adop>
$ echo $IAS_ORACLE_HOME
<FMW Web Tier Home Directory>
$ echo $ORACLE_HOME
< 10.1.2 ORACLE_HOME>
$ echo $CONTEXT_FILE
<Source for information populating template files (autoconfig)>
$ echo $EBS_DOMAIN_HOME
<WLS Deployment of Oracle E-Business Suite 12.2 Domain (instance specific)>
$ echo $ADMIN_SCRIPTS_HOME
<Shell scripts to control processes associated to the Applications Instance>
$ echo $EBS_ORACLE_HOME
<Oracle E-Business Suite 12.2 FMW Deployment directory>
$ echo $RW
<10.1.2 reports directory>
$ echo $HOSTNAME
<hostname without domain name>
$ echo $APPS_VERSION
<to get the EBS version>

Common questions

Powered by AI

To retrieve the SYSADMIN password in Oracle E-Business Suite 11i/R12, one can execute a series of SQL commands creating a package 'XXARTO_GET_PWD' to use the 'decrypt' function, which utilizes Java code integration. This involves logging into SQL*Plus with the 'APPS' user and selecting decrypted passwords from the 'applsys.Fnd_User' table for the specified 'SYSADMIN' user .

The PERL5LIB variable is important in Oracle applications as it establishes the path for the Perl interpreter to locate additional module libraries. This configuration is vital for running Perl scripts essential in database maintenance, patching, and other administrative tasks. Accurate setting of this variable ensures the seamless execution of scripts that automate and simplify complex administrative processes, enhancing efficiency and reducing downtime .

The environment variables set for the Oracle ERPPROD database include ORACLE_BASE, ORACLE_SID, ORACLE_HOME, PATH, TNS_ADMIN, LD_LIBRARY_PATH, ORA_NLS10, PERL5LIB, OPATCH_HOME, and ORA_TZFILE. These variables configure paths to essential directories and libraries, establish database connection settings, and define locales and language settings. For example, ORACLE_HOME points to the database installation directory, crucial for locating binaries and configurations, while TNS_ADMIN specifies the location of the network configuration files .

To resolve an ORA-00904 'invalid identifier' error, first review the SQL queries for syntax errors or typos in column names. Verify that the specified identifier is correct and exists in the database schema. Check recent changes in the database objects or user permissions that might affect the visibility of identifiers. Also, examine application logs where the error surfaced to get context, and ensure compatibility and correctness in aliases used within queries .

Determining file system paths such as RUN_BASE or PATCH_BASE in Oracle E-Business Suite involves using environment variables like '$echo $RUN_BASE' and '$echo $PATCH_BASE'. These paths are essential for understanding the directory structure for runtime and patch environments, respectively, aiding in effective system management and troubleshooting by clearly delineating where code and data reside .

The ORA_TZFILE environment variable specifies the path to an Oracle timezone file. It affects the database operation by defining time zone data that influences SQL operations involving time zones. Correctly setting this variable ensures the database accurately handles time-sensitive operations, supports global applications, and maintains consistency across different server time zones .

LD_LIBRARY_PATH is a crucial environment variable in Oracle database setups, specifying the directory paths where the system looks for dynamic libraries. Proper configuration is essential as it enables the execution of Oracle binaries and utilities by advising the system where to find the necessary runtime libraries, thereby preventing runtime errors and ensuring stable database operations .

Setting and exporting multiple ORACLE_HOMEs allows for managing different database or middleware versions and instances within a single environment. This configuration supports complex deployments where applications might rely on varying Oracle product versions, enabling upgrade testing or legacy support. However, it requires careful management to avoid conflicts, ensure consistent PATH and library dependencies, and maintain correct operational alignments for each instance .

Context files in Oracle applications serve as a centralized repository for configuration data, crucial for retrieving URLs and web-related settings. These files allow for consistency and ease of management across different environments. For example, users can execute specific commands to efficiently extract the HOME_URL or WebLogic URL. This approach ensures reliability and reduces errors by maintaining up-to-date configuration data in a single location .

An ORA-01092 error indicates an Oracle instance termination due to various underlying issues such as ORA-00704 (bootstrap process failure). The solution involves starting the Oracle instance in 'upgrade' mode as indicated by executing 'SQL> startup upgrade'. This approach is typically employed when database dictionary changes are required due to upgrade inconsistencies .

You might also like