A BAB Upgrade11i-R12 v1.0

April 4, 2018 | Author: Mohammed Shoukat Ali | Category: Oracle Database, Sql, Databases, Data Management Software, Digital Technology


Comments



Description

ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 File: 265913685.doc Revision Number: 1.0 Distribution Control Revision Number Distribution 1.0 Bank Al Bilad & AOT Initial version People Involved in the Document Preparation Function Entity Name Technical Manager AOT Hassan Reda Project Manager AOT Ahmed Mansi Sr. Technical Consultant AOT Mohammed Vilayath Sr. Technical Consultant AOT Mostafa Simary Change Control History Version 1.0 07/04/2015 Date 15/05/2010 Author Advanced Operations Technology Revision Description Initial version Page 2 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 INTRODUCTION............................................................................................................................5 PREREQUISITES...........................................................................................................................6 Basic Checks..............................................................................................................................6 APPLY ADI PATCH........................................................................................................................7 Multiple Organization................................................................................................................7 Apply Patch AD.I.7....................................................................................................................9 Apply Patch AD.I.7 for NLS (Arabic)......................................................................................12 APPLY TUMS PATCH..................................................................................................................13 AD PREPARATION SCRIPTS – OATM....................................................................................14 INSTALL ORACLE SOFTWARE...............................................................................................16 INSTALL ORACLE COMPANION SOFTWARE.....................................................................23 INSTALL PATCH SET 3 (10.2.0.4)..............................................................................................28 CREATE NLS/DATA/9IDATA DIRECTORY............................................................................34 APPLY ADDITIONAL PATCHES 10.2.0.4 RDBMS PATCHES..............................................35 UPGRADE DATABASE 10G R2..................................................................................................36 Shutdown Application Server and database............................................................................36 Prepare Initialization Parameter File.....................................................................................36 Create 10g Listener.................................................................................................................37 Run Database Upgrade Assistant............................................................................................41 ADDITIONAL PATCHES AFTER THE DATABASE UPGRADE..........................................55 Patches.....................................................................................................................................55 INSTALL ORACLE DATA MINING AND OLAP.....................................................................59 FIX KOREAN LEXERS...............................................................................................................60 AUTO EXTEND TABLESPACES/DATAFILES........................................................................61 RUN RAPID INSTALL TO R12 CREATE FILE SYSTEM......................................................63 Staging.....................................................................................................................................63 Run Rapid Install.....................................................................................................................63 CTXSYS..........................................................................................................................................75 DROP MRC SCHEMA (CONDITIONAL).................................................................................76 BACKUP DATABASE & R12 FILE SYSTEM...........................................................................77 GATHER STATISTICS FOR SYS SCHEMA............................................................................78 UPDATE .PROFILE......................................................................................................................79 ENABLE MAINTENANCE MODE............................................................................................80 APPLY AD 12.1.1 UPGRADE DRIVER (REQUIRED) - PART 1...........................................81 07/04/2015 Page 3 of ....131 Arabic Reports Orientation Displaying Left-To-Right............................................118 Concurrent Request – REP-3000 Error...............................................................................106 RUN AUTOCONFIG ON THE DATABASE TIER NODES.....................................................................................1...................................133 PATCH R12.......................................................................................................149 APPENDIX C : 10G INITIALIZATION PARAMETER FILE......2.103 SET AND EXPORT ENVIRONMENT VARIABLES................................1 UPGRADE DRIVER (REQUIRED) ......................................................................................................................................................................................................110 INSTALL SAUDI HRMS GLOBALIZATION.........................................................94 CONFIGURE AND START SERVICES......................................................................................................................................109 START SERVICES................129 Cannot View Old Custom Notification.......................111 BACKUP DATABASE & R12 FILE SYSTEM..............................100 INSTALL JRE ON THE DATABASE TIER...........................................ADVANCED OPERATIONS TECHNOLOGY INC.... Box 136513 Jeddah 21313 K.....................................................................108 DELETE OBSOLETE FILE SYSTEM......1................................. 6514556 Fax......................................................................... 6531218 APPLY AD 12.....................................................................................................................B........................92 DISABLE MAINTENANCE MODE.....................................................................................................1 UPGRADE DRIVER – NLS PATCH FOR ARABIC............................................................................S.................................132 BACKUP DATABASE & R12 FILE SYSTEM............................................. 146883 Tel..........104 GENERATE A NEW DATABASE CONTEXT FILE.................................................................................HR_PF.......140 APPENDIX A: AD PREPARATION SCRIPT ADCRTBSP..............................................PART 2............................................................................................................................................116 PROBLEMS & SOLUTIONS – 01.......................PROFILE...........................O.................................118 Cannot able to upload pictures:..........................................................................DELTA........113 GATHER STATISTICS APPS & SYS.................129 View PAY_PRE_PAYMENTS_V hangs while SELECT............107 RUN AUTOCONFIG ON THE APPSTIER...............................153 APPENDIX E : RW-50004..........................................................................................A CR........127 Mass Information Exchange MIX....................................................142 APPENDIX B : DATABASE PATCH 6613550......................................................................................SQL.......151 APPENDIX D : ...........134 TOTAL UPGRADE HOURS............155 07/04/2015 Page 4 of .........................................................................................................................95 UPDATE THE RDBMS ORACLE_HOME FILE SYSTEM WITH AUTOCONFIG FILES ............................................122 Work Structure – Position Screen FRM-40735 and ORA-01840..............................112 UNABLE TO LOGIN – HTTP 500.......................84 APPLY AD 12..............102 CREATE A <CONTEXT_NAME> DIRECTORY UNDER........................................................................ P....................... 6514556 Fax.0.1.I 11i.10.A CR.10. The upgrade is based on the following Oracle Notes: 1. 146883 Tel.1 – March 3.1 10. Oracle E-Business Suite Upgrade Guide Release 11i to 12.5.ADVANCED OPERATIONS TECHNOLOGY INC.1 2. Box 136513 Jeddah 21313 K.2.1.S.8 Current AD.4 R12 (After the Upgrade) Description Operating System R12 version Database Version 07/04/2015 Values AIX 6100-02-00-0000 12. Interoperability Notes – Oracle E-Business Suite Release 11i with Oracle Database 10g Release 2 (10. as per our business requirement we have chosen the upgrade plan as “Upgrade Path A” (in one Phase) which will upgrade the whole EBS on one extended downtime rather splitting into two Phases.O.5.1).0) [ID 362203.2. Database Preparation Guidelines for an Oracle E-Business Suite Release 12.4 Comments Comments Page 5 of .1.I.1] – January 2010 11i Source Application Information Description Values Operating System AIX 5.1.3 11i Version 11. 2010 3. P.2 Database Version 9.2) to R12 (12.1 Upgrade – ID 761570.0. 6531218 Introduction This guide describes you step-by-step how to upgrade Oracle E-Business Suite from 11i (11.AD.2. 6531218 Prerequisites Please follow prerequisites document “AOT_EBS12.doc” which is supplied by AOT. 146883 Tel. 6514556 Fax. P.O.ADVANCED OPERATIONS TECHNOLOGY INC. Basic Checks Before Start upgrading please verify all the prerequisites as per the prerequisite document.A CR. 07/04/2015 Page 6 of .xOnAIX_Prereqs_v1.1.S. Box 136513 Jeddah 21313 K. Box 136513 Jeddah 21313 K. 6514556 Fax. P.I.S. 6531218 Apply ADI Patch Applying Patch 11i. 146883 Tel.1 – Patch 7429271 Prerequisites : Multiple Organization Define Operating Unit : Create an Operating Unit Configure Profile .AD.ADVANCED OPERATIONS TECHNOLOGY INC.O.MO:Default Operating Unit (Site Level AOL Profile) 07/04/2015 Page 7 of .A CR.7 Doc ID 233044. 07/04/2015 Page 8 of .O.ADVANCED OPERATIONS TECHNOLOGY INC.A CR. 146883 Tel. Maintain Applications Database Entities menu 6. P.sh apps/clone Keep the database & listener up sqlplus apps/clone SQL> Select multi_org_flag from fnd_product_groups. 6531218 Convert to multiple organization using adadmin # su – appldev $ cd /u01/oracle/prodcomn/admin/scripts/PREPROD_hrdev Stop concurrent manager before conversion $ . Box 136513 Jeddah 21313 K.S. 6514556 Fax./adstpall. M N //Run adadmin $ adadmin 4. you cannot convert back to a non-MultiOrg configuration. Convert to Multi-Org Once you convert to MultiOrg. drv".sql does not exist Review the messages above. then press [Return] to continue. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC.S.A CR.. 6531218 Before converting to MultiOrg.0/patch/115/sql/arhmgmul.7 Patch Name Patch Number Patch Document AD.5.O. sqlplus -s APPS/***** @/u01/oracle/prodappl/admin/PREPROD/out/orgcnvet.sql Running sub driver "admocnv. Are you certain you want to convert to MultiOrg now [No] ? y AD_DEFERRED_JOBS table dropped. P. you must first make sure that no one is accessing your Oracle Applications database.I..//scripts 07/04/2015 Page 9 of . 146883 Tel. Box 136513 Jeddah 21313 K. $ sqlplus apps/clone SQL> Select multi_org_flag from fnd_product_groups.. Warning: File /u01/oracle/prodappl/ar/11. and that the Concurrent Managers have been shut down.I. Re-enabling triggers in APPS. M -----Y <== Converted Time Take = ( 15 minutes ) Apply Patch AD..7 7429271 233044.1 Steps : # su – appldev $ cd /u02/patches unzip p7429271_11i_AIX //Stop application services $ cd $common_top/. BUG_NUMBER BUG_ID -----------------------------. P.5.bug_id.--------7429271 210260 10-APR-10 CREATION_ Time Taken = ( 30 minutes ) Post Patch Steps: # su – oradev 1 . Box 136513 Jeddah 21313 K. 6531218 .sql 10 1000 Done purging timing information for prior sessions.Grant privileges and create PL/SQL profiler objects A .ADVANCED OPERATIONS TECHNOLOGY INC.creation_date 2 from ad_bugs 3 where bug_number='7429271'. 07/04/2015 Page 10 of . 146883 Tel.A CR. Create $ORACLE_HOME/appsutil/admin on the database server.sh apps/clone & adcmctl stop apps/clone Enable Maintenance Mode cd /u02/patches/7429271 $ adpatch Purging timing information for prior sessions.S.log and in other log files in the same directory. 6514556 Fax. sqlplus -s APPS/***** @/u01/oracle/prodappl/ad/11.lgi Errors and warnings are listed in the log file /u01/oracle/prodappl/admin/PREPROD/log/u7429271./adstpall.---------APPLICATION_SHORT_NAME -------------------------------------------------. AutoPatch may have written informational messages to the file /u01/oracle/prodappl/admin/PREPROD/log/u7429271.application_short_name.O. AutoPatch is complete. You have mail in /usr/spool/mail/appldev SQL> select bug_number.0/admin/sql/adtpurge. Time Taken = ( 5 minutes ) 07/04/2015 Page 11 of . 6531218 $ mkdir dir $ORACLE_HOME/appsutil/admin cd /u02/oracle/proddb/9.0/appsutil/admin # chown oradev:dba adgrants.0/appsutil/admin 1.0 D .2. P.O. Copy adgrants.sql adgrants_old. 6514556 Fax. Use SQL*Plus to run the script: cd /u02/oracle/proddb/9. @adgrants.0/appsutil/admin cp -p adgrants.sql /u02/oracle/proddb/9. Box 136513 Jeddah 21313 K.sql -rwxr-xr-x 1 appldev dba 22083 Apr 10 06:03 adgrants.2. $ sqlplus "/ as sysdba" SQL>show user USER is “sys” 2. $ echo $ORACLE_HOME /u02/oracle/proddb/9.sql (UNIX) from $APPL_TOP/admin to $ORACLE_HOME/appsutil/admin # cd /u01/oracle/prodappl/admin # ls -l adgrants.0/appsutil/admin # cd /u02/oracle/proddb/9.sql B .2.ADVANCED OPERATIONS TECHNOLOGY INC.S.sql APPS PL/SQL procedure successfully completed.A CR.sql # cp -p adgrants. 146883 Tel.2. Set the environment to point to ORACLE_HOME on the database server.sql su – oradev C .2. log and in other log files in the same directory.zip # su – appldev $ chown -R appldev:dba 7429271_AR cd /u02/patches/7429271_AR $ adpatch Your default directory is '/u01/oracle/prodappl'.lgi Errors and warnings are listed in the log file /u01/oracle/prodappl/admin/PREPROD/log/adpatch_7429271. Box 136513 Jeddah 21313 K.O.A CR. Is this the correct APPL_TOP [Yes] ? y Filename [adpatch. P.log] : adpatch_7429271.ADVANCED OPERATIONS TECHNOLOGY INC. AutoPatch may have written informational messages to the file /u01/oracle/prodappl/admin/PREPROD/log/adpatch_7429271. 6514556 Fax.S. 146883 Tel. Time Taken = ( 15 minutes ) 07/04/2015 Page 12 of .drv Done purging timing information for prior sessions. 6531218 Apply Patch AD.log The default directory is [/u02/patches/7429271_AR] Please enter the name of your AutoPatch driver file : u7429271. AutoPatch is complete.I.7 for NLS (Arabic) Patch 7429271_AR for (NLS Arabic) # cd /u02/patches # chown –R appldev:dba unzip p7429271_11i_ar. ----------. Apply the following driver file using adpatch: u7705743.html will be created in the directory. /usr/tmp. Box 136513 Jeddah 21313 K. /u02/oracl e/proddb/9.-----------------------------utl_file_dir string /usr/tmp.html had not given us proper information to follow.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax.2. 146883 Tel. 6531218 Apply TUMS Patch Patch Name Patch Number Patch Document TUMS Report 7705743 Prerequisites: 1.sql /usr/tmp A report file called tumsr12. Time Taken = ( 30 minutes ) 07/04/2015 Page 13 of . This directory path must have been listed in the UTL_FILE_DIR parameter of your database. Generate the TUMS report by executing the following command: $ cd $AD_TOP/patch/115/sql $ sqlplus <APPS username>/<APPS password> @adtums. P. SQL> show parameter utl_file NAME TYPE VALUE -----------------------------------.O. /usr/tmp 2.sql <DIRECTORY> Eg:$ sqlplus apps/clone @adtums.drv (This is the unified driver) $ cd /patches/7705743 $ adpatch Post Patch Steps: 3.A CR. Note : report tumsr12.0/appsutil/outbou nd/PREPROD_hrdev. Ensure that the database parameter UTL_FILE_DIR is set to a writable directory <DIRECTORY> where the TUMS for R12 Upgrade report will be created. we ignored this report and continued following the upgrade documentations.S. example :sqlplus system/clone sql>@adcrtbsp.sql that is included in this zip file. 6531218 AD Preparation Scripts – OATM Patch Number: 7197489 Patch Name Patch Number Patch Document AD Preparation – OATM 7197489 Prerequisites: No Tasks AD Preparation scripts – OATM This patch should be used by upgrade customers from 11i to R12 to make OATM complaint.sql -NT Only) # cd patchtop # chmod appldev:dba p7197489_11i_GENERIC # su .S.sql to reflect your current tablespace information. Box 136513 Jeddah 21313 K. 146883 Tel.sql. adgncons.sql and adgrants.sql (adgrants_nt.sql to specify the path for new tablespaces -Change path of datafiles to “/u04/oracle/proddata” . # modify the adcrtbsp.Add autoextend on next 1m to create tablespaces syntax in this script.sql.appldev $ unzip p7197489_11i_GENERIC # cd 7197489 1) Run adgncons.O. P.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax.sql apps clone 2) Run adcrtbsp. Modify adcrtbsp.A CR. There are 2 files that need to be run manually. which is generated by adgncons.sql 07/04/2015 Page 14 of .sql apps apps $ cd /u02/patches/7197489 $ sqlplus apps/clone SQL>@adgncons. Usage:sqlplus <APPS username>/<APPS password> @adgncons. 6514556 Fax.sql”   3) Run the adgrants. 4. 146883 Tel. (in our case “admin” directory already existing) 2.A CR. # cd /u02/patches/7197489 # cp adgrants. P. Usage:1.S.sql script as a user that can connect as SYSDBA to grant privileges to selected SYS objects and create PL/SQL profiler objects.O.sql $ORACLE_HOME/appsutil/admin # chown oradev:dba $ORACLE_HOME/appsutil/admin/adgrants.sql (UNIX) from this patch directory to $ORACLE_HOME/appsutil/admin. Box 136513 Jeddah 21313 K.Copy adgrants.sql applsys Completed successfully Time Taken = ( 2 hours ) 07/04/2015 Page 15 of . 6531218 Please refer “APPENDIX A: AD Preparation Script adcrtbsp.Create $ORACLE_HOME/appsutil/admin on the database server. Use SQL*Plus to run the script: su – oradev $ sqlplus /nolog SQL> connect / as sysdba SQL> @$ORACLE_HOME/appsutil/admin/adgrants. Set the environment to point to ORACLE_HOME on the database server.sql 3.ADVANCED OPERATIONS TECHNOLOGY INC. 0.2.2.1)  Install Companion Software 10g R2 (10. 6531218 Install Oracle Software Installation Overview:  Install Oracle Software 10g R2 (10. Box 136513 Jeddah 21313 K. P.0 Verify xclock $ xclock Select Installation Method Advanced Oracle Home=/u02/oracle/proddb/10./runInstaller –ignoreSysPrereqs (same problem – so we continued with errors) 07/04/2015 Page 16 of .2.ADVANCED OPERATIONS TECHNOLOGY INC.ini Certification AIX=5100.S.1)  Install Patch set 3 (10.2.2.4) Unzip Oracle Software : mkdir software cd software mkdir 10g mkdir comp mkdir patchset $ gzip -d < ora10g2-CD1. 146883 Tel.2.0 Unix dba group : dba Choose Software only (Do Not Choose Create Database ) $ runInstaller & Note : Prerequisite Checks Failed Workaround : 1) vi oraparam.tgz | tar -xvf – $ gzip -d < ora10g2-CD2.0 $ export DISPLAY=IP:0.O. 6514556 Fax./runInstaller & ( Same Problem ) 2) .0 $ export ORACLE_HOME=/u02/oracle/proddb/10.0.tgz| tar -xvf – Installations: # su – oradev $ mkdir –p /u02/oracle/proddb/10.6100 .A CR.0. ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K. 6514556 Fax.S. P. 146883 Tel. 6531218 3) Refer : APPENDIX B : Database Patch 6613550  Welcome Screen o Choose “Advanced Installation”  Select Installation Enterprise Edition o Choose Enterprise Edition 07/04/2015 Page 17 of .A CR.O. ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218  Specify Home Details Oracle Home Patch : OUHome1 : /u02/oracle/proddb/10.2.0  Product-Specific Prerequisite Checks  We got an error at this stage we investigated , required to apply patch before start of this installation – Apply Patch 6613550 Refer : APPENDIX B : Database Patch 6613550 07/04/2015 Page 18 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218  Upgrade an Existing Database o Do you want to perform an upgrade now? <<No>>  Select Configuration Option o Install database Software only 07/04/2015 Page 19 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218  Summary o Click “Install” to continue installation.  Install 07/04/2015 Page 20 of Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.S. 07/04/2015 Page 21 of .sh as “root” user # /u02/oracle/proddb/10.O. Copying dbhome to /usr/local/bin .2..sh script.. Box 136513 Jeddah 21313 K.0/root.. 6514556 Fax. Copying coraenv to /usr/local/bin .sh Running Oracle10 root..0 Enter the full pathname of the local bin directory: [/usr/local/bin]: Creating /usr/local/bin directory.. The following environment variables are set as: ORACLE_OWNER= oradev ORACLE_HOME= /u02/oracle/proddb/10. 146883 Tel..2..A CR. P.sh script.. Now product-specific root actions will be performed.ADVANCED OPERATIONS TECHNOLOGY INC.. 6531218  Execute Configuration Scripts o Run root. Copying oraenv to /usr/local/bin .. O.ADVANCED OPERATIONS TECHNOLOGY INC. P. 6531218  End of Installation Time Taken ( 1 hour ) 07/04/2015 Page 22 of . 146883 Tel.A CR. Box 136513 Jeddah 21313 K.S. 6514556 Fax. Box 136513 Jeddah 21313 K. P.S.A CR. 146883 Tel./runInstaller –ignoreSysPrereqs  Run Installer 07/04/2015 Page 23 of .2. 6531218 Install Oracle Companion Software Install Companion CD # su – oradev $ export ORACLE_HOME=/u02/oracle/proddb/10.0 $ cd /u02/software/10g/ora1-2/mnt/companion $ . 6514556 Fax.O.ADVANCED OPERATIONS TECHNOLOGY INC. A CR.1.ADVANCED OPERATIONS TECHNOLOGY INC.2. 6514556 Fax.0 07/04/2015 Page 24 of .O. P. 146883 Tel. 6531218  Welcome Screen  Select a Product to Install o Oracle Database 10g Products 10. Box 136513 Jeddah 21313 K.0.S. 6514556 Fax. 6531218  Specify Home Details Name (ORACLE_HOME) : OUHome1 Path : /u02/oracle/proddb/10.0  Product-Specific Prerequisite Checks Ignore warnings and click <<Next>> 07/04/2015 Page 25 of .S. P.ADVANCED OPERATIONS TECHNOLOGY INC.2.O.A CR. 146883 Tel. Box 136513 Jeddah 21313 K. 6514556 Fax.A CR. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. P. 6531218  Product-Specific Prerequisite Checks Do you want to proceed? <<Yes>>  Summary 07/04/2015 Page 26 of .O.S. Box 136513 Jeddah 21313 K. Box 136513 Jeddah 21313 K. 6514556 Fax. 6531218  Install  End of Installation Time Taken = ( 40 minutes ) 07/04/2015 Page 27 of .O. P. 146883 Tel.A CR.ADVANCED OPERATIONS TECHNOLOGY INC.S. /runInstaller  runInstaller (OUI) 07/04/2015 Page 28 of .2 .4) Install Patch Set 3 (10.0/OPatch export LD_LIBRARY_PATH=$ORACLE_HOME/lib export PERL5LIB=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl export ORA_NLS10=$ORACLE_HOME/nls/data/9idata /u02/software/patchset/Disk1 Note : the above env. $ cd /u02/software/patchset/Disk1 $ . P.A CR.2.profile to exist permanently.2.0 export ORACLE_SID=PREPROD export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin: $PATH:/u02/oracle/proddb/10.0. 6514556 Fax. Box 136513 Jeddah 21313 K.4) $ su – oradev export ORACLE_HOME=/u02/oracle/proddb/10.2.0. 146883 Tel.S.ADVANCED OPERATIONS TECHNOLOGY INC.O. 6531218 Install Patch Set 3 (10. variables put in . ADVANCED OPERATIONS TECHNOLOGY INC.A CR. P. 6531218  runInstaller (OUI)  Welcome Screen 07/04/2015 Page 29 of . Box 136513 Jeddah 21313 K. 146883 Tel.S. 6514556 Fax.O. O. 146883 Tel.0  Product-Specific Prerequisite Checks 07/04/2015 Page 30 of . P. 6531218  Specify Home Details Name (ORACLE_HOME) : OUIHome1 Path : /u02/oracle/proddb/10.ADVANCED OPERATIONS TECHNOLOGY INC.A CR.S. Box 136513 Jeddah 21313 K.2. 6514556 Fax. 6514556 Fax. 146883 Tel. Box 136513 Jeddah 21313 K. P.O. 6531218  Oracle Configuration Manager Registration  Summary 07/04/2015 Page 31 of .ADVANCED OPERATIONS TECHNOLOGY INC.S.A CR. P.2.0/root.sh Running Oracle10 root.A CR. Box 136513 Jeddah 21313 K...O.sh script. The following environment variables are set as: ORACLE_OWNER= oradev 07/04/2015 Page 32 of .S. 146883 Tel. 6514556 Fax. 6531218  Install  Execute Configuration Scripts # /u02/oracle/proddb/10.ADVANCED OPERATIONS TECHNOLOGY INC. ... Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin . The file "oraenv" already exists in /usr/local/bin. Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.ADVANCED OPERATIONS TECHNOLOGY INC.2.  End of Installation Time Taken = ( 30 minutes ) 07/04/2015 Page 33 of . Now product-specific root actions will be performed.S.sh script. 6514556 Fax.0 Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. The file "coraenv" already exists in /usr/local/bin.A CR. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin .O. 146883 Tel. Box 136513 Jeddah 21313 K. 6531218 ORACLE_HOME= /u02/oracle/proddb/10.. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin ... P. Create nls/data/9idata directory  Login as oracle on database server node su .oradev export ORACLE_HOME=/d01/oracle/singlenode/testdb/10.O.pl This will create directory as : $ORACLE_HOME/nls/data/9idata Check ORACLE_HOME/nls/data/9idata is created and is non-empty. 6514556 Fax. Box 136513 Jeddah 21313 K. P. 146883 Tel.A CR.ADVANCED OPERATIONS TECHNOLOGY INC.2.0 export ORACLE_SID=PREPROD  Run $ perl $ORACLE_HOME/nls/data/old/cr9idata.S. 6531218 Create nls/data/9idata directory 1.  Set ORA_NLS10 export ORA_NLS10=$ORACLE_HOME/nls/data/9idata (Check whether files exist in $ORACLE_HOME/nls/data/9idata) Time Taken = ( 15 minutes ) 07/04/2015 Page 34 of . S. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC.4 RDBMS patches Apply additional 10.0.4 RDBMS patches Apply the following patches: For all UNIX/Linux platforms. Box 136513 Jeddah 21313 K.2. 6531218 Apply additional patches 10.2. P.A CR.O.0. 6521934 6600051 7441176 7496636 Patch 6880880 : $ cd /u02/patches/ $ unzip p6880880_102000_AIX64-5L $ cd $ORACLE_HOME mv OPatch Opatch_old cd /u02/patches/dbpatches/6880880 mv OPatch $ORACLE_HOME or cp –r OPatch $ORACLE_HOME Opatch version (Add OPatch Path to $PATH) Patch 6600051: $ cd /u02/patches/dbpatches $ unzip p6600051_10204_AIX5L $ cd /u02/patches/dbpatches/6600051 $ opatch apply --error – incomplete .zip $ cd 7496636 $ export OBJECT_MODE=32_64 $ opatch apply Time Taken = ( 1 hour ) 07/04/2015 Page 35 of . 6514556 Fax.Skipped Patch 7441176 : $ cd /u02/patches/dbpatches $ unzip p7441176_10204_AIX5L $ cd /u02/patches/dbpatches/7441176 $ export OBJECT_MODE=32_64 $ opatch apply Patch 7496636 : $ cd /u02/patches/dbpatches $ unzip p7496636_10204_AIX5L. apply RDBMS patches: 6880880 or the latest Opatch version. level 1’ then remove from init. 07/04/2015 Page 36 of .0/admin/PREPROD_hrdev/cdump /u02/oracle/proddb/10.0/admin/PREPROD_hrdev/udump u03/oracle/proddata /u04/oracle/proddata /u03/oracle/proddata /usr/tmp /usr/tmp /u02/oracle/proddb/10.2. 146883 Tel.ora” if not exists create it : /u02/oracle/proddb/10.A CR.1.2.ora $ORACLE_HOME= /u02/oracle/proddb/10.0/admin/PREPROD_hrdev/bdump /u02/oracle/proddb/10.S. 6531218 Upgrade Database 10g R2 Shutdown Application Server and database Shutdown application server and database listener of old Oracle Home.2/nls/data/9idata // the above lines add in .0/dbs Verify all the directories as per “initPREPROD. no old environment files should be point to new ORACLE HOME $ export ORACLE_HOME= /u06/oracle/apps/tech_st/10.profile in “oradev” user for permanently Prepare Initialization Parameter File  Prepare Initialization Parameter File Refer : APPENDIX C : 10g Initialization Parameter File $ cp initPREPROD. 6514556 Fax.ora Unset TNS_ADMIN environment variable.2.2) If event=’38004’ trace name context forever.1. The application is not available till all the remaining tasks.2. Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC. P.0/appsutil/outbound/PREPROD_hrdev  Prepare to upgrade Refer Chap 2 of Oracle Database Upgrade Guide 10g R2 (10.2. Stop 9i listener $ lsnrctl stop PREPROD Note : comment lines in .profile so that .2 $ export ORA_NLS10= /u06/oracle/apps/tech_st/10.O. 1. Box 136513 Jeddah 21313 K. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. 6531218 Create 10g Listener Create 10g Listener using new ORACLE HOME Make sure to use the same database port as old database 9i while creating 10g listener.1.O.2/nls/data/9idata $ cd $ORACLE_HOME/bin $ netca  Net Configuration Assistant – Welcome Screen 07/04/2015 Page 37 of .S.A CR. comment all old reference in .profile and login su – oradev $ export ORACLE_HOME= /u06/oracle/apps/tech_st/10. P.2 $ export ORA_NLS10= /u06/oracle/apps/tech_st/10. Box 136513 Jeddah 21313 K. 6531218  Net Configuration Assistant – Add  Listener Name – “LISTENER” Same name as old one 07/04/2015 Page 38 of . 146883 Tel. 6514556 Fax. P.A CR.O.ADVANCED OPERATIONS TECHNOLOGY INC.S. S. P.ADVANCED OPERATIONS TECHNOLOGY INC.O. 6514556 Fax. 146883 Tel.A CR. Box 136513 Jeddah 21313 K. 6531218  TCP Protocol  TCP/IP Protocol 07/04/2015 Page 39 of . 6531218  More Listeners? – <<No>>  Listener Configuration Complete 07/04/2015 Page 40 of .ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax.S. Box 136513 Jeddah 21313 K. P.A CR.O. 146883 Tel. ora compatible=10.2.2. Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC.2 $cd $ORACLE_HOME $vi initPREPROD.4 Verify udump/bdump/cdump etc // check control file path // undo tablespace $ dbua 07/04/2015 Page 41 of .1.O.0 optimizer_features_enable =10. 146883 Tel. P. 6514556 Fax.0. 6531218  Click “Finish” to create listener Run Database Upgrade Assistant $echo $ORACLE_HOME /u06/oracle/apps/tech_st/10.A CR.S. ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K. 146883 Tel. P.O. 6514556 Fax. 6531218  Database Upgrade Assistant – Welcome Screen 07/04/2015 Page 42 of .A CR.S. P.A CR. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K.O. 6531218  DBUA – Database  DBUA – Database 07/04/2015 Page 43 of . 6514556 Fax.S. S. Box 136513 Jeddah 21313 K.A CR. 146883 Tel. P.O. 6531218  DBUA – Database Do you want to continue with upgrade? <<Yes>>  DBUA – Move Database Files o Do Not Move Database Files as Part of Upgrade 07/04/2015 Page 44 of .ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218  DBUA – SYSAUX Tablespace  DBUA – Recompile Invalid Objects 07/04/2015 Page 45 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218  DBUA – Backup  DBUA – Management Options 07/04/2015 Page 46 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218  DBUA – Recovery Configuration  DBUA – Database Credentials Note : Password : aot123 ( after upgrade, it took the old passwords) 07/04/2015 Page 47 of P.A CR.S. 146883 Tel. 6514556 Fax. 6531218  Database Upgrade Summary  DBUA – Progress 07/04/2015 Page 48 of . Box 136513 Jeddah 21313 K.O.ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K. 6514556 Fax. 146883 Tel.A CR.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218  DBUA – Progress  Upgrade Results 07/04/2015 Page 49 of .S. A CR. Box 136513 Jeddah 21313 K.O. P. 6531218  DBUA – Upgrade Results  DBUA – Upgrade Results 07/04/2015 Page 50 of . 146883 Tel.S. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax.S.O. P.A CR. Box 136513 Jeddah 21313 K. 6531218  DBUA – Upgrade Results  DBUA – Upgrade Results 07/04/2015 Page 51 of .ADVANCED OPERATIONS TECHNOLOGY INC. 146883 Tel. 6514556 Fax.O.ADVANCED OPERATIONS TECHNOLOGY INC. 146883 Tel.A CR.S. 6531218  DBUA – Upgrade Results – Obsolete Parameters Removed  DBUA – Upgrade Results – Obsolete Parameters Removed 07/04/2015 Page 52 of . Box 136513 Jeddah 21313 K. P. 2. 6514556 Fax. 6531218  DBUA – Password Management  DBUA – Password Management DBUA failed to upgrade the database or some of its components. it because you are not using RAC>> 07/04/2015 Page 53 of .html <<Ignore above message.2. Box 136513 Jeddah 21313 K. 146883 Tel.0/cfgtoollogs/dbua/PREPROD/upgrade for more details. See /u02/oracle/proddb/10.S.0/assistants/dbua/doc/help/DefaultBehaviorChangesin10g.A CR.O.ADVANCED OPERATIONS TECHNOLOGY INC. Executing ** cmd **:=netscape /u02/oracle/proddb/10. P. 0 VALID 11-APR-2010 19:52:41 XDB Oracle XML Database 10.2.version.0.0.dbf.4.0.A CR. 146883 Tel.modified 2* from dba_registry COMP_ID COMP_NAME VERSION STATUS MODIFIED CATALOG Oracle Database Catalog Views 10.4.0 VALID 11-APR-2010 19:52:39 XML Oracle XDK 10.name. 6531218  Verify DBA_REGISTRY Sqlplus “/ as sysdba” SQL> select comp_id.0.2.0.bytes 2* from v$tempfile SQL> / FILE# ---------1 NAME BYTES --------------------------------------/u03/oracle/proddata/temp01.2.0 VALID 11-APR-2010 19:52:38 CATPROC Oracle Database Packages and Types 10.4. P.4.4.0.status.0.0.2.0 VALID 11-APR-2010 19:52:40 SDO Spatial 10.0 VALID 11-APR-2010 19:52:40 RAC Oracle Real Application Clusters 10.0 VALID 11-APR-2010 19:52:39 CATJAVA Oracle Database Java Packages 10. Box 136513 Jeddah 21313 K. /u04/oracle/proddata/cntrl02.0 INVALID 11-APR-2010 19:52:40 ORDIM Oracle interMedia 10.4.0 VALID 11-APR-2010 19:52:45 EM Oracle Enterprise Manager 10.4.dbf 5242880000 Time Taken = ( 12 hours ) 07/04/2015 Page 54 of .0 VALID 11-APR-2010 09:06:57 11 rows selected.0.2.4. 6514556 Fax.2.0 VALID 11-APR-2010 19:52:40 CONTEXT Oracle Text 10. /u03/oracle/proddata/cntrl03.2.2.O.dbf.4.4.2.2.dbf SQL> select file#.2.0.0 VALID 11-APR-2010 19:52:38 JAVAVM JServer JAVA Vi rtual Machine 10.comp_name.0.ADVANCED OPERATIONS TECHNOLOGY INC.S. SQL> show parameter control NAME -----------------------------------control_file_record_keep_time control_files TYPE ----------integer string VALUE -----------------------------7 /u03/oracle/proddata/cntrl01.4. ADVANCED OPERATIONS TECHNOLOGY INC. # 07/04/2015 Page 55 of .S.zip $ cd 7497678 $ opatch apply ###### We skipped below steps (create user olapsys) Startup the Oracle Services.sql # > @?/olap/admin/xoqrelod.sql # # Connect as olapsys user # > conn olapsys/<pw> # > @?/olap/admin/olapodm.A CR.plb # > spool off Time Taken = ( 30 minutes ) Patch 4247037 : $ echo $ORACLE_HOME /u02/oracle/proddb/10.log # > @?/olap/admin/apsrelod. you must # first deinstall from the database the previous patch be it the 18th of Dec # OR Eariler before installing this patch. 146883 Tel. P. 6514556 Fax. # > sqlplus '/ as sysdba' # > spool post_install.0 $ cd /u02/patches/dbpatches $ unzip p7497678_10204_AIX5L.2. 6531218 Additional Patches after the Database Upgrade Patches Patch 7497678 : $ echo $ORACLE_HOME /u02/oracle/proddb/10. Box 136513 Jeddah 21313 K.0 $ cd /u02/patches/dbpatches $ unzip p4247037_10204_Generic.2.O.zip # Patch Special Instructions: # --------------------------# Note There was an incorrect SCHEMA name change from mgdsys to mgdapp # in the patch issued on the 2007-DEC-18 # # If you have a previous version of the patch installed. S. Deinstall an older version of this patch use connect to the database using sqlplus connect as / as sysdba sqlplus> @catnomgdidcode this will drop the old mgdsys or mgdapp user and their objects once complete you can check everything has been removed with the script patchset_mgd*_validity..ADVANCED OPERATIONS TECHNOLOGY INC.A CR.sql which should resolve any issues. 6531218 # # # # # # # # # # # # # # # # # # # # # # # # # # # You can use the deinstallation script supplied in the previous version to deinstall the previous patch. Post Install Instructions : connect to the database using sqlplus connect as / as sysdba sqlplus> @catmgdidcode If checking with patchset_mgdapp_validity. 146883 Tel. before using opatch to deinstall the patch.sql Time Taken = ( 15 minutes ) 07/04/2015 Page 56 of . 6514556 Fax..sql you find invalid objects please run $ORACLE_HOME/rdbms/admin/utlrp. the files are located in $ORACLE_HOME/md/admin # and $ORACLE_HOME/md/support for patchset_mgdsys_validity.O. The patchset_mgdsys_validity.sql located in /md/support this should show no objects.sql script in support was written by BDE engineer to check the status of the build not by development $ cd 4247037 $ opatch apply Once applied with opatch. P. Box 136513 Jeddah 21313 K. P.A CR. 6514556 Fax.0 $ cd /u02/patches/dbpatches $ unzip p6870937_10204_AIX5L.zip Shutdown all database services $ cd 6084656 $ opatch apply Time Taken = (5 minutes) Patch 6870937 : $ echo $ORACLE_HOME /u02/oracle/proddb/10.0 $ perl –v (v5.ADVANCED OPERATIONS TECHNOLOGY INC.zip $ cd 6991626 $ export OBJECT_MODE=32_64 $ opatch apply $ cd $ORACLE_HOME/bin $ relink all Time Taken = (10 minutes ) 07/04/2015 Page 57 of . 146883 Tel.O.2.S.3) $ cd /u02/patches/dbpatches $ unzip p6084656_10204_AIX5L. Box 136513 Jeddah 21313 K.2.zip $ cd 6870937 $ opatch apply Time Taken = ( 5 minutes ) Patch 6991626 : $ echo $ORACLE_HOME /u02/oracle/proddb/10.8.0 $ cd /u02/patches/dbpatches $ unzip p6991626_10204_AIX5L. 6531218 Patch 6084656 : $ echo $ORACLE_HOME /u02/oracle/proddb/10.2. ADVANCED OPERATIONS TECHNOLOGY INC.O. 6531218 Patch 7014646 : 7014646 (no need to apply this patch) 07/04/2015 Page 58 of . 6514556 Fax.A CR. P. Box 136513 Jeddah 21313 K.S. 146883 Tel. ADVANCED OPERATIONS TECHNOLOGY INC. SQL> @$ORACLE_HOME/rdbms/admin/dminst. use SQL*Plus to connect to the database as SYSDBA and run the following command: SQL> connect / as sysdba. P. then you do not have Oracle Data Mining installed.A CR. SQL> @$ORACLE_HOME/olap/admin/olap.sql SYSAUX TEMP (we run this dminst.sql ) If the query does not return AMD. use SQL*Plus to connect to the database as SYSDBA and run the following command: SQL> connect / as sysdba.S. 6531218 Install Oracle Data Mining and OLAP Install Oracle Data Mining and OLAP Verify that Oracle Data Mining and OLAP are installed in your database by using SQL*Plus to connect to the database as SYSDBA and running the following command: SQL> connect / as sysdba.O. If the query does not return ODM. 6514556 Fax. then you do not have OLAP installed. Box 136513 Jeddah 21313 K. To install OLAP. To install Data Mining. SQL> select comp_id from dba_registry where comp_id='ODM' or comp_id='AMD'. 146883 Tel.sql SYSAUX TEMP Time Taken = ( 30 minutes ) 07/04/2015 Page 59 of . Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC.sql using the following command: $ sqlplus "/ as sysdba" @$ORACLE_HOME/ctx/sample/script/drkorean. 6531218 Fix Korean lexers Use SQL*Plus to connect to the database as SYSDBA. P.S.O.sql Time Taken = ( 30 minutes ) 07/04/2015 Page 60 of . 6514556 Fax. and run drkorean. 146883 Tel.A CR. AUTOEXTENSIBLE.O.tablespace_name.A CR.bytes from dba_temp_files.---------/u03/oracle/proddata/temp01.----------. Box 136513 Jeddah 21313 K. TABLESPACE_NAME INITIAL_EXTENT NEXT_EXTENT STATUS CONTENTS -----------------------------.tablespace_name.ADVANCED OPERATIONS TECHNOLOGY INC.bytes/(1024*1024) size_mb From dba_data_files Where tablespace_name = ‘APPS_UNDOTS1’ FILE_NAME -------------------------------------------------------------------------------TABLESPACE_NAME AUT SIZE_MB -----------------------------. 6514556 Fax.--------.undo files SQL> select file_name.STATUS.dbf TEMP 5242880000 select tablespace_name. 6531218 Auto Extend Tablespaces/Datafiles Make all you datafiles autoextend before upgrade starts For example :SQL>desc dba_data_files Select file_name. AUTOEXTENSIBLE. 146883 Tel.dbf APPS_UNDOTS1 YES 4100 /u03/oracle/proddata/rbs01.S.bytes/(1024*1024) size_mb From dba_data_files Where AUTOEXTENSIBLE <> ‘YES’ Order by tablespace_name SQL> alter database datafile ‘file_name’ autoextend on next 5m Verify temp.INITIAL_EXTENT.--.CONTENTS from dba_tablespaces where tablespace_name like '%UNDO%'. FILE_NAME -------------------------------------------------------------------------------TABLESPACE_NAME BYTES -----------------------------.-------------. P.---------/u03/oracle/proddata/rbs02.NEXT_EXTENT.dbf APPS_UNDOTS1 YES 07/04/2015 2000 Page 61 of .tablespace_name.--------APPS_UNDOTS1 65536 ONLINE UNDO Select file_name. ROUND (NVL (fs.dbf' resize 750m.ADVANCED OPERATIONS TECHNOLOGY INC. Example :SQL> alter tablespace APPLSYSX add datafile '/u03/oracle/proddata/applsysx07. P. Box 136513 Jeddah 21313 K.dbf' size 500m. SUM (BYTES) total_bytes FROM dba_data_files GROUP BY tablespace_name) df. 0) / df. 0) / 1024 / 1024) free_mb.free_bytes.free_bytes.S.total_bytes <= (20 / 100).O.dbf' size 5000m. 146883 Tel.A CR. We are adding some datafiles who size is bigger SELECT df. 6514556 Fax. SQL> alter tablespace HRX add datafile '/u03/oracle/proddata/hrx02. SUM (BYTES) free_bytes FROM dba_free_space GROUP BY tablespace_name) fs WHERE df. 1) percent_empty FROM (SELECT tablespace_name.total_bytes.tablespace_name. 0) / df. 6531218 Here we did not change temp file and undo tablespaces. ROUND (df. SQL> alter database datafile '/u03/oracle/proddata/icxd01.tablespace_name(+) AND NVL (fs. ROUND (100 * NVL (fs.free_bytes. (SELECT tablespace_name.dbf' resize 400m.tablespace_name = fs.total_bytes / 1024 / 1024) total_mb. Time Taken = ( 30 minutes ) 07/04/2015 Page 62 of . SQL> alter database datafile '/u04/oracle/proddata/icxx01. O.A CR.0 $ xclock $ cd /stage/StageR12/startCD/Disk1/rapidwiz $ .9 (c) Copyright 2000-2006 Oracle Corporation. P. 146883 Tel. 07/04/2015 Page 63 of . 6531218 Run Rapid Install to R12 Create File System Staging # cd StageR12 # pwd /stage/StageR12 # ls -ltr total 24 drwxr-xr-x 3 drwxr-xr-x 11 drwxr-xr-x 53 drwxr-xr-x 7 drwxr-xr-x 18 root root root root root system system system system system 256 4096 4096 256 4096 Apr 13 05:16 Apr 13 07:49 Apr 14 03:09 Apr 14 03:24 Apr 14 05:20 startCD oraDB oraAppDB oraAS oraApps # chown –R appldev:dba /stage Time Taken = ( 20 minutes ) #chown –R appldev:dba /u06/oracle #chown –R 755 /u06/oracle Time Taken = ( 20 minutes ) Run Rapid Install # mkdir –p /u06/oracle # chown –R appldev/oracle # chmod –R 775 /u06/oracle # su . Box 136513 Jeddah 21313 K.S.1.1.appldev [YOU HAVE NEW MAIL] $ id uid=206(appldev) gid=201(dba) groups=1(staff) $ export DISPLAY=<Your PC IP>:0. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC. All rights reserved./RapidWizVersion Oracle Applications Rapid Install Wizard Version 12. .. 6531218 $ ...... Box 136513 Jeddah 21313 K. 146883 Tel.S.O.. 6514556 Fax.1 07/04/2015 Page 64 of .ADVANCED OPERATIONS TECHNOLOGY INC./rapidwiz Rapid Install Wizard is validating your file system.1.A CR.  Welcome Screen  Select Wizard Operations o Upgrade To Oracle Applications Release 12. 4 dvd labels found Rapid Install Wizard will now launch the Java Interface. P.. P.O.S. Box 136513 Jeddah 21313 K. 146883 Tel.A CR.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218  Oracle Configuration Manager Details  Select Upgrade Action o Create Upgrade File System 07/04/2015 Page 65 of . 6514556 Fax. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax.A CR. Box 136513 Jeddah 21313 K.O. 6531218  Global System Settings  Database Node Configuration 07/04/2015 Page 66 of .S. P. Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC. 146883 Tel.A CR. 6514556 Fax. 6531218  Review Application User Information  Select Internationalization Settings 07/04/2015 Page 67 of .O. P.S. 6531218  Select Internationalizations Settings  Primary Application Node Configuration 07/04/2015 Page 68 of . P.S. 146883 Tel.A CR. Box 136513 Jeddah 21313 K.O.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. 146883 Tel. P. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218  Node Information  Pre Install Checks 07/04/2015 Page 69 of .A CR.O.S. Box 136513 Jeddah 21313 K. Box 136513 Jeddah 21313 K.S. 146883 Tel.O. 6531218  Component Installation Review  Component Installation Review o Do you want to begin the installation now? <<Yes>> 07/04/2015 Page 70 of . 6514556 Fax. P.A CR.ADVANCED OPERATIONS TECHNOLOGY INC. <<Retry>> I click <<Retry>> the interface continue. Box 136513 Jeddah 21313 K. Error Log File : APPENDIX E : RW-50004 07/04/2015 Page 71 of . this error is for cloning so safely you can ignore and continue. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC.S. P. 146883 Tel. 6531218  Install in progress  Install in progress RW-50004 .O.A CR. Box 136513 Jeddah 21313 K.O.ADVANCED OPERATIONS TECHNOLOGY INC.S. 6514556 Fax. 6531218  Install in progress  Post Install Checks 07/04/2015 Page 72 of . P.A CR. 146883 Tel. S.1. P.ADVANCED OPERATIONS TECHNOLOGY INC.env TNSNames SQL*Net file passes instantiated variables test: File = /u06/oracle/db/tech_st/11.1. 6514556 Fax. 6531218  System Check Details Upgrade File Database ORACLE_HOME environment file passes instantiated variables test: File = /u06/oracle/db/tech_st/11.O. Box 136513 Jeddah 21313 K. 146883 Tel.0/PREPROD_hrdev.ora APPL_TOP environment file passes instantiated variables test: File = /u06/oracle/apps/apps_st/appl/PREPROD_hrdev.A CR.env APPSCONFIG passes instantiated variables test: File = /u06/oracle/apps/apps_st/appl/admin/adconfig.txt 07/04/2015 Page 73 of .0/network/admin/PREPROD_hrdev/tnsnames.env ADOVARS environment file passes instantiated variables test: File = /u06/oracle/apps/apps_st/appl/admin/adovars. log Appltop logfile .1.0/appsutil/log/PREPROD_hrdev/04170202.log Appltop logfile . 146883 Tel.0/appsutil/conf_PREPROD.A CR. P./u06/oracle/inst/apps/PREPROD_hrdev/logs/04170202./u06/oracle/inst/apps/PREPROD_hrdev/logs/04170202.1. 6514556 Fax. Box 136513 Jeddah 21313 K.txt Database logfile /u06/oracle/db/tech_st/11.ADVANCED OPERATIONS TECHNOLOGY INC.S.log Time Taken = ( 2 hours ) 07/04/2015 Page 74 of . 6531218  Install Oracle Application – Finish o Click <<Finish>> Configuration file written to: /u06/oracle/inst/apps/PREPROD_hrdev/conf_PREPROD.O.txt Configuration file written to: /u06/oracle/db/tech_st/11. logon denied Warning: You are no longer connected to ORACLE. PL/SQL procedure successfully completed.0 .sql clone CTXSYS  “clone” is system user password Time Taken = ( 20 minutes ) 07/04/2015 Page 75 of . 6514556 Fax.sql \CTXSYS $ su – oradev SQL> alter user apps account unlock. use the R12 version of the file.0/patch/115/sql/adctxprv.sql from the administration server node to the database server node.0. Data Mining and Real Application Testing options Note : adctxprv. User altered.4. Commit complete.A CR. OLAP.S.2.0. SQL> conn apps/clone Connected. 146883 Tel. SQL> @/u06/oracle/apps/apps_st/appl/ad/12. SQL> @/u06/oracle/apps/apps_st/appl/ad/12. Use SQL*Plus to connect to the database as APPS and run the script using the following command: $ sqlplus apps/ @adctxprv. P. Connected. Disconnected from Oracle Database 10g Enterprise Edition Release 10.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 CTXSYS Grant creates procedure privilege on CTXSYS (???) Copy $AD_TOP/patch/115/sql/adctxprv. Box 136513 Jeddah 21313 K.0/patch/115/sql/adctxprv.sql CTXSYS SQL> conn apps/apps.O. SQL> conn apps/clone.0. If you are upgrading to R12. ERROR: ORA-01017: invalid username/password.sql clone CTXSYS Connecting to SYSTEM Connected.64bit Production With the Partitioning. 2..O. 6531218 Drop MRC schema (conditional) Drop MRC schema (conditional) Applies to 11i release level: All TUMS step key: N/A All programs and reports now use the APPS schema. dropping it frees space and reduces processing overhead during the upgrade.64bit Production With the Partitioning.A CR. Box 136513 Jeddah 21313 K. So I ignored and continued with other steps) 07/04/2015 Page 76 of .sql <APPLSYS username> FORCE Example :sqlplus system/clone SQL> show user USER is "SYSTEM" SQL> @/u06/oracle/apps/apps_st/appl/admin/addrpmrc.4..sql DESCRIPTION Drop MRC schema if release >= 11. Data Mining and Real Application Testing options ( Since MRC schema name not registered. OLAP. 146883 Tel. drop the MRC schema now.0 . P. so I think there is no point of dropping.5.0. ============================================================= Getting the name of the MRC schema. begin * ERROR at line 1: ORA-20000: MRC schema name not registered in FND_ORACLE_USERID ORA-06512: at line 11 Disconnected from Oracle Database 10g Enterprise Edition Release 10.S.10. 6514556 Fax. If you have not previously done so. $ cd APPL_TOP/admin $ sqlplus <SYSTEM username>/<SYSTEM password> @addrpmrc.ADVANCED OPERATIONS TECHNOLOGY INC.sql APPLSYS FORCE Output : NAME addrpmrc. Because the MRC_APPS schema is no longer needed.. Backup File System : /u02/oracle/proddb/10.S.ADVANCED OPERATIONS TECHNOLOGY INC.2. 6531218 Backup Database & R12 File System Must shutdown normal before backup SQL> shutdown immediate. Database dismounted. SQL> shutdown normal.0 /u03/oracle/proddata /u04/oracle/proddata /u06/oracle Time Taken = ( 5 hours ) 07/04/2015 Page 77 of . SQL> startup. Box 136513 Jeddah 21313 K.O. Database closed. 146883 Tel. Database dismounted. 6514556 Fax.A CR. P. ORACLE instance shut down. Database closed. ORACLE instance shut down. S. 146883 Tel. -------------------------------------------------.sql ended at 2010-04-18 01:40:07 --SQL>shutdown normal.adstats. 6531218 Gather Statistics for SYS schema Sqlplus “/ as sysdba” SQL> shutdown normal. SQL> @/u06/oracle/apps/apps_st/appl/admin/adstats. Database opened. ORACLE instance shut down. Commit complete. Database dismounted. SQL> startup restrict. Database closed. 6514556 Fax. PL/SQL procedure successfully completed. P. Time Taken = ( 20 minutes ) 07/04/2015 Page 78 of . Total System Global Area 612368384 bytes Fixed Size 2085912 bytes Variable Size 427822056 bytes Database Buffers 167772160 bytes Redo Buffers 14688256 bytes Database mounted.O.A CR.ADVANCED OPERATIONS TECHNOLOGY INC. ORACLE instance started.sql. Box 136513 Jeddah 21313 K. O. Box 136513 Jeddah 21313 K.profile Time Taken = ( 10 minutes ) 07/04/2015 Page 79 of .ADVANCED OPERATIONS TECHNOLOGY INC. 146883 Tel.profile Set Environment Variables for Database and Application Tier Database environment profile and application environment profile Refer : APPENDIX D : . 6514556 Fax. P.S.A CR. 6531218 Update . P. 146883 Tel.S. Change Maintenance Mode 1. 6514556 Fax. Enabled Maintenance Mode ( Here Maintenance Mode already enabled – we did before ) Time Taken = ( 5 minutes ) 07/04/2015 Page 80 of .A CR.O.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Enable Maintenance Mode $ su – appldev $ adadmin 5. Box 136513 Jeddah 21313 K. 1 APPL_TOP. Copy adgrants.1. Set the environment to point to ORACLE_HOME on the database server.1 upgrade driver (required) Applies to 11i release level: All TUMS step key: N/A Download and unzip the AD Upgrade Driver for 12. 2.O.sql (UNIX) from this patch directory to $ORACLE_HOME/appsutil/admin.1. 6514556 Fax.zip # chmod 755 p7461070_R12_AIX64-5L. $ su – appldev $ cd /u02/patches/7461070 $ adpatch Enter the directory where your Oracle Applications patch has been unloaded The default directory is [/u02/patches/7461070] : Please enter the name of your AutoPatch driver file : u7461070. 3.S. 6531218 Apply AD 12.sql (Windows) from this patch directory to %ORACLE_HOME%\appsutil\admin. Create $ORACLE_HOME/appsutil/admin on the database server. copy adgrants_nt.A CR. Or. $ cd /u02/patches # chown appldev:dba p7461070_R12_AIX64-5L.1 upgrade driver (required) .Part 1 Apply AD 12.drv ========== 07/04/2015 Page 81 of .1 (patch 7461070).zip # chown -R appldev:dba /u02/patches/7461070 # chmod -R 755 /u02/patches/7461070 Pre-installation: Usage: 1. Use AutoPatch to run it on all application tier server nodes on your Release 12.1.ADVANCED OPERATIONS TECHNOLOGY INC.1. 146883 Tel. Box 136513 Jeddah 21313 K. P. Box 136513 Jeddah 21313 K. FAILED: file adappsgs. logon denied Solution : I open the script afpub.0/patch/115/sql/af pub. Post Patch : Run adadmin -> Maintain Applications Database Entities menu -> Re-create grants and synonyms for APPS schema.log and in other log files in the same directory. 6531218 Patch Errors and Solution : ERROR-01 : ATTENTION: All workers either have failed or are waiting: FAILED: file afpub.O.ADVANCED OPERATIONS TECHNOLOGY INC. sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/fnd/12. ERROR: ORA-01017: invalid username/password.pls on worker 1. AutoPatch is complete. 6514556 Fax. 146883 Tel. ATTENTION: All workers either have failed or are waiting: FAILED: file adappsgs. 07/04/2015 Page 82 of .0. P.pls on worker 2. applpub is wrong REM Connect to applpub/pub REM connect &3/&&4 connect applsyspub/clone and restry from adctrl Done purging timing information for prior sessions.lgi Errors and warnings are listed in the log file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_7461070.A CR.sql &un_apps &pw_apps &un_pub &pw_pub PL/SQL procedure successfully completed.sql on worker 1.sql and hardcorded applsyspub connect string. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_7461070.S. APPLSYS.'&4'.O.'APP S'. Box 136513 Jeddah 21313 K.'FALSE'). 6531218 //adworker001.S.CK_LOG. 6514556 Fax.'APPLSYS'.APPS): In Synonyms Loop:create_synonym(APPLSYS. begin * ERROR at line 1: ORA-20000: ORA-00955: name is already used by an existing object:create_grants_and_synonyms(1.APPLSYS. P.0.pls &systempwd 1 APPLSYS APPLSYS APPS TRUE FALSE TRUE Connected.log sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/ad/12.APPS.APPS): create_base_gs(APPLSYS.CK_LOG): do_apps_ddl(APPS.'&3'.A CR. old 2: ad_apps_private.'APPLSYS'.create_grants_and_synonyms(&2.'FALSE') .ADVANCED OPERATIONS TECHNOLOGY INC.'&5'. new 2: ad_apps_private.create_grants_and_synonyms(1."CK_LOG"): ORA-06512: at line 5 Solution : As an apps user: SQL> alter table cl_log rename to cl_log_bkp Run again “adadmin” Time Taken = ( 5 hours ) 07/04/2015 Page 83 of . 146883 Tel.0/patch/115/sql/ada ppsgs.CREATE SYNONYM "CK_LOG" FOR APPLSYS. AutoPatch error: Unable to allocate memory in procedure aiumab().1.1 level.nogenerateportion Patch Errors and Solution : ERROR-01: Determining which SQL and EXEC commands to run.1. You should check the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/6678700.Part 2 Run the American English upgrade patch driver (required) Applies to 11i release level: All TUMS step key: N/A To bring your database to the full Oracle E-Business Suite Release 12.. 6514556 Fax. Run the driver on the administration server node on your Release 12. It is located in $AU_TOP/patch/115/driver.nogenerateportion ========== $ su – appldev $ cd /u06/oracle/apps/apps_st/appl/au/12.1.ADVANCED OPERATIONS TECHNOLOGY INC.S.O. use AutoPatch to run the (American English) unified driver (u6678700.0.1 APPL_TOP using the following commands: $ adpatch options=nocopyportion. Do you wish to continue with your previous AutoPatch session [Yes] ? 07/04/2015 Page 84 of .drv).1 upgrade driver (required) . P. Box 136513 Jeddah 21313 K.0/patch/115/driver $ adpatch options=nocopyportion. 146883 Tel..log Solution: Restart again from the point of failer Your previous AutoPatch session did not run to completion. 6531218 Apply AD 12.A CR. . 6514556 Fax. 07/04/2015 Page 85 of .log Solution : Increase db_cache_size and shared_pool_size to 1GB Create pfile=’$OH/dbs/pfile_17_Apr. P. Restarted: file hrl2limg..sql on worker 1 for product per username HR. Create spfile from pfile=’$OH/dbs/pfile_17_Apr..sql on worker 1.A CR. ATTENTION: Please fix the above failed worker(s) so the manager can continue.O.S. 6531218 ERROR-02 : Number of invalid objects: 49 Running SQL scripts and EXEC commands. 146883 Tel. FAILED: file hrl2limg.. ATTENTION: All workers either have failed or are waiting: FAILED: file hrl2limg. Determining which SQL and EXEC commands to run. Error allocating map record in adptrd() You should check the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/6678700.ADVANCED OPERATIONS TECHNOLOGY INC.sql on worker 1 for product per username HR.ora’ from spfile. Fixed: file hrl2limg.ora’ ERROR-03 Same error Solution : we rebooted the server again we start adpatch from the scratch $ su – appldev $ export LDR_CNTRL=MAXDATA=0x40000000 Then run adpatch again ( After this LDR_CNTRL – this patch continued from the point of failure and applied patch successfully) ERROR-04 : ATTENTION: Please fix the above failed worker(s) so the manager can continue. Box 136513 Jeddah 21313 K.sql on worker 1 for product per username HR. log AD Worker error: The following ORACLE error: ORA-01630: max # extents (1005) reached in temp segment in tablespace HRD occurred while executing the SQL statement: //In Alert log file Mon Apr 19 02:27:40 2010 07/04/2015 Page 86 of . So Use hidden option to skip Enter your choice [1] : 8 Enter the worker number(s)/range(s) or 'all' for all workers. then press [Return] to continue. or press [Return] to go back to the menu : 1 Status changed to 'Skip & restart' for worker 1. ORA-06512: at line 188 Solution : When Applying Patch 4440000 : hrl2limg. P. skip any error on hrl2limg. //adworker001.O. ERROR-04 : ATTENTION: All workers either have failed or are waiting: FAILED: file perteng.sql has been obsoleted and is no longer needed. [ID 549726. 6514556 Fax.0/patch/115/sql/hr l2limg.To implement the solution.sql and ignore the errors on that script. 146883 Tel.sql DECLARE * ERROR at line 1: ORA-20001: Exception in migration of long data to clob data. Therefore when you apply the patch.1] -. Box 136513 Jeddah 21313 K.0. please execute the following steps:: Te file hrl2limg.A CR. Review the messages above.sql ORA-20001: Exception in migration of long data to clob data.S.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Start time for file is: Mon Apr 19 2010 01:27:42 sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/per/12.odf on worker 1. Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC. P.max_extents.----------.CONTENTS.A CR.PCT_INCREASE. Max_extents from dba_tablespaces where tablespace_name = 'HRD'.--------EXTENT_MAN ---------HRD 40960 40960 2147483645 PERMANENT LOCAL 07/04/2015 Page 87 of .O.-------------.-------------.----------.CONTENTS. SQL> get x1 1 select TABLESPACE_NAME.NEXT_EXTENT.-----------.----------. EXTENT_MANAGEMENT .NEXT_EXTENT.--------EXTENT_MAN max_extents ---------HRD 40960 40960 0 PERMANENT LOCAL 505 SQL> alter tablespace hrd default storage (maxextents unlimited). 6514556 Fax.INITIAL_EXTENT. 6531218 ORA-1630: max # extents 1005 reached in temp segment for tablespace HRD Mon Apr 19 02:29:34 2010 Solution : Select TABLESPACE_NAME. 146883 Tel. Tablespace altered.S. TABLESPACE_NAME INITIAL_EXTENT NEXT_EXTENT PCT_INCREASE CONTENTS -----------------------------.EXT ENT_MANAGEMENT from dba_tablespaces 2* where tablespace_name like 'HRD' SQL> / TABLESPACE_NAME INITIAL_EXTENT NEXT_EXTENT MAX_EXTENTS CONTENTS -----------------------------.INITIAL_EXTENT. xdf on worker 1.odf2.-------------------------. Updating task with status 1 AD Worker error: Solution : skipped with 8 option and later run manully adjava -mx512m -nojit oracle. Control Worker Code Context Filename Status -----.-------------1 Run AutoPatch R120 pl icx_transactions. Index ICX_TRANSACTIONS_U1 does not exist in ICX. P.S. 6531218 ERROR-05: ATTENTION: All workers either have failed or are waiting: FAILED: file icx_transactions."ICX_TRANSACTIONS_U1" ON "ICX". CREATE UNIQUE INDEX "ICX". No alteration necessary.ICX_TRANSACTIONS_U1 NOPARALLEL LOGGING Start time for statement above is Mon Apr 19 03:59:09 CDT 2010 Start time for statement above is Mon Apr 19 03:59:10 CDT 2010 ORA-12801 error occured during Index creation. Box 136513 Jeddah 21313 K.O.-------.ADVANCED OPERATIONS TECHNOLOGY INC.A CR.xdf $FND_TOP/patch/115/xdf/xsl 07/04/2015 Page 88 of .apps. 6514556 Fax.xdf FAILED Checking for differences Column_name and Uniqueness match for both file and DB Indexes The Index in xdf-file and db match perfectly.fnd. Index ICX_TRANSACTIONS_N1 exists under ICX schema."ICX_TRANSACTIONS" ("TR ANSACTION_ID") PCTFREE 10 INITRANS 11 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 16384 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT) TABLESPACE "APPS_TS_TX_IDX" PARALLEL NOLOGGING ALTER INDEX ICX. 146883 Tel.----------------.FndXdfCmp icx clone apps clone thin hrdev:1521:PREPROD all icx_transactions. -------------------------."PO_VENDORS_OBS_F1" ON "PO".PO_VENDORS_F1.xdf FAILED Index PO_VENDORS_OBS_F1 does not exist in PO.odf2.appldev adjava -mx512m -nojit oracle. Box 136513 Jeddah 21313 K."PO_VENDORS_OBS" (NVL("END_DATE_AC TIVE".TO_DATE('9999-12-31 00:00:00'. 6531218 ERROR-06 : Control Worker Code Context Filename Status -----.fnd.1 Upgrade Patch 6678700 [ID 859556. Solution : Creation of Index PO_VENDORS_OBS_F1 Failed When Applying 12. P.apps.ADVANCED OPERATIONS TECHNOLOGY INC.1.xdf $FND_TOP/patch/115/xdf/xsl 07/04/2015 Page 89 of . please execute the following steps: 1) Drop index PO_VENDORS_F1 You can use command similar as: SQL> drop index PO. CREATE INDEX "PO". Or Skip the worker processes using 8 option and do manually as : SQL> drop index PO_VERDORS_F1 Su .1] To implement the solution. 146883 Tel.O.S.FndXdfCmp po clone apps clone thin hrdev:1521:PREPROD all PO_VENDORS_OBS_F1. 2) Restart the failed worker. 6514556 Fax.----------------. 'yyyy-mm-dd hh24:mi:ss'))) PCTFREE 10 INITRANS 11 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 16384 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT) TABLESPACE "APPS_TS_TX_IDX" Start time for statement above is Mon Apr 19 04:05:06 CDT 2010 A Differnt index with same column name exists Updating task with status 1 AD Worker error: The utility FndXdfCmp returned error for the above task.A CR.-------------1 Run AutoPatch R120 pl PO_VENDORS_OBS_F1.-------. sql on worker 1.ADVANCED OPERATIONS TECHNOLOGY INC.-------------1 Run AutoPatch R120 pl zpbremcwm. column 4: PLS-00904: insufficient privilege to access object OLAPSYS.1] Grant the following privileges to the user APPS: grant execute on OLAPSYS.0/patch/115/sql/zpbremcwm.name).sql cwm2_olap_cube. column 6: PLS-00904: insufficient privilege to access object OLAPSYS. 6531218 ERROR-07 : ATTENTION: All workers either have failed or are waiting: FAILED: file zpbremcwm. 146883 Tel.SQL Returns Error: PLS-00904: Insufficient Privilege To Access Object [ID 744973. column 6: PL/SQL: Statement ignored ORA-06550: line 247.CWM2_OLAP_CATALOG to apps. 07/04/2015 Page 90 of .CWM2_OLAP_CATALOG ORA-06550: line 243.drop_cube(G_SCHEMA.CWM2_OLAP_DIMENSION ORA-06550: line 239. grant execute on OLAPSYS.A CR. 6514556 Fax. column 6: PLS-00904: insufficient privilege to access object OLAPSYS.-------. grant execute on OLAPSYS. * ERROR at line 235: ORA-06550: line 235. column 6: PL/SQL: Statement ignored ORA-06550: line 243. column 6: PL/SQL: Statement ignored ORA-06550: line 239.CWM2_OLAP_METADATA_REFRESH ORA-06550: line 247.1 ZPBREMCWM. column 4: PL/SQL: Statement ignored Solution : As per article 744973. v_cube.CWM2_OLAP_DIMENSION to apps.CWM2_OLAP_CUBE ORA-06550: line 235.O. Box 136513 Jeddah 21313 K.----------------.0.S. P.CWM2_OLAP_METADATA_REFRESH to apps. column 6: PLS-00904: insufficient privilege to access object OLAPSYS. Control Worker Code Context Filename Status -----.-------------------------.sql FAILED 2 Run AutoPatch R120 pl Wait 3 Run AutoPatch R120 pl Wait //adworker001 sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/zpb/12. 1 Try to start application tier $ adstrtal. You should check the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/out/adt05358.lst for details.lgi Errors and warnings are listed in the log file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/6678700_5.log and in other log files in the same directory. SQL> select release_name from apps. Box 136513 Jeddah 21313 K. RELEASE_NAME -------------------------------------------------12.O. Purging timing information for prior sessions. 146883 Tel. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/6678700_5.0.S. sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/ad/12. P.sql 10 1000 Done purging timing information for prior sessions. AutoPatch is complete.sh It should start all the services except concurrent manager Time Taken = (more than 24 hours) 07/04/2015 Page 91 of .A CR.fnd_product_groups.1.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 grant execute on OLAPSYS.CWM2_OLAP_CUBE to apps. 6514556 Fax.0/sql/adtpurge. 1.1 NLS PATCHING PERFORMANCE FIX Make sure ftp as bin $ cd /stage unzip 8576725 cd /stage/8576725 adpatch Time Taken = (30 minutes) Apply NLS Patch u6678700. P.1.com http://edelivery. 146883 Tel.drv for Arabic Oracle E-Business Suite NLS Release 12. Box 136513 Jeddah 21313 K.oracle.1 upgrade driver – NLS Patch for Arabic  Download patch 6678700_AR from edelivery.oracle.1 (with NLS Supplement) Media Pack for IBM AIX Based Systems (64-bit) Prerequisites: 1) Patch 8576725: 12.O.S.1.1. 6514556 Fax.A CR.drv 07/04/2015 Page 92 of .1 – Arabic – V16151 ftp as bin cd /u02/patches $ unzip V16151-01. 6531218 Apply AD 12.ADVANCED OPERATIONS TECHNOLOGY INC.com/EPD/Download/get_form?egroup_aru_number=11250156 Oracle E-Business Suite Release 12.zip $ cd /u02/patches/6678700_AR $ adpatch Enter the directory where your Oracle Applications patch has been unloaded The default directory is [/u02/patches/6678700_AR] : Please enter the name of your AutoPatch driver file : u6678700. Time Taken = ( 2 hours) 07/04/2015 Page 93 of . AutoPatch is complete.0. 146883 Tel.lgi Errors and warnings are listed in the log file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/u6678700.A CR.sql 10 1000 Done purging timing information for prior sessions.0/sql/adtpurge. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/u6678700.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. 6531218 sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/ad/12. P.O.log and in other log files in the same directory. Box 136513 Jeddah 21313 K.S. Change Maintenance Mode 2. 6514556 Fax.S. Disabled Maintenance Mode Time Taken = ( 5 minutes ) 07/04/2015 Page 94 of . Box 136513 Jeddah 21313 K.O. P. 6531218 Disable Maintenance Mode $ adadmin 5. 146883 Tel.A CR.ADVANCED OPERATIONS TECHNOLOGY INC. .sh version 120. .3 Checking for FNDFS executable.end std out.log Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adopmnctl. Box 136513 Jeddah 21313 K. 6531218 Configure and Start Services # su – appldev $ ..sh start script returned: **************************************************** adalnctl.S. adalnctl.15 The logfile for this session is located at /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adstrtal..sh apps/clone You are running adstrtal.sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adopmnctl.sh: exiting with status 0 adopmnctl. P.6 Starting Oracle Process Manager (OPMN) . .sh version 120.sh: exiting with status 1 adalnctl.sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adalnctl.sh start script returned: **************************************************** You are running adopmnctl.txt for more information .ADVANCED OPERATIONS TECHNOLOGY INC. 07/04/2015 Page 95 of .A CR./adstrtal.. **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adalnctl. Starting listener process APPS_PREPROD. adopmnctl.txt for more information .O. 6514556 Fax.end err out..sh version 120. 146883 Tel.. .end err out. adoacorectl..2/network/admin/listener.sh: exiting with status 0 adapcctl.O.sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adapcctl...13 Starting OPMN managed OACORE OC4J instance .end std out.txt for more information ..A CR. 07/04/2015 Page 96 of .ADVANCED OPERATIONS TECHNOLOGY INC. 146883 Tel.txt for more information .1.sh start script returned: **************************************************** You are running adoacorectl.end err out. Box 136513 Jeddah 21313 K.sh start script returned: **************************************************** You are running adapcctl.ora.S.. P. 6514556 Fax..12010000. adapcctl.sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adoacorectl. .end std out.sh version 120. . **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adapcctl.7.2 Starting OPMN managed Oracle HTTP Server (OHS) instance .sh: exiting with status 0 adoacorectl. **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adoacorectl. 6531218 . grep: 0652-033 Cannot open /u06/oracle/inst/apps/PREPROD_hrdev/ora/10..sh version 120.. 8 Starting OPMN managed OAFM OC4J instance .sh start script returned: **************************************************** You are running adformsctl.end std out. adformsctl.end err out.sh: exiting with status 0 adoafmctl.. adoafmctl. .16 Starting OPMN managed FORMS OC4J instance . 6531218 ..sh start script returned: **************************************************** You are running adoafmctl.txt for more information .sh version 120...txt for more information .sh version 120. 146883 Tel.end err out..O.. .S. P. **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adformsctl. . 07/04/2015 Page 97 of .ADVANCED OPERATIONS TECHNOLOGY INC.sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adoafmctl. 6514556 Fax. .sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adformsctl..A CR.end std out.end std out..sh: exiting with status 0 adformsctl. Box 136513 Jeddah 21313 K. **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adoafmctl. .end err out. S..17. .sh start script returned: **************************************************** You are running adcmctl.A CR.sh: exiting with status 0 adcmctl.ADVANCED OPERATIONS TECHNOLOGY INC.3 Validating Fulfillment patch level via /u06/oracle/apps/apps_st/comn/java/classes Fulfillment patch level validated... .. P.end err out.end std out.sh version 120.end std out. **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/jtffmctl. **************************************************** 07/04/2015 Page 98 of . 6531218 **************************************************** Executing service control script: /u06/oracle/inst/apps/PREPROD_hrdev/admin/scripts/adcmctl... Box 136513 Jeddah 21313 K.12010000. jtffmctl.sh start script returned: **************************************************** You are running jtffmctl. Starting PREPROD_0421@PREPROD Internal Concurrent Manager Default printer is noprint adcmctl.3 Starting concurrent manager for PREPROD . 6514556 Fax. .sh: exiting with status 0 .sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adcmctl. 146883 Tel.txt for more information .sh version 120.end err out. Starting Fulfillment Server for PREPROD on port 9300 .O. S.A CR. 6531218 adstrtal.O.log for more information .sh: check the logfile /u06/oracle/inst/apps/PREPROD_hrdev/logs/appl/admin/log/adstrtal. 146883 Tel. P. Time Taken = ( 10 minutes ) 07/04/2015 Page 99 of . 6514556 Fax. Box 136513 Jeddah 21313 K.sh: Exiting with status 1 adstrtal...ADVANCED OPERATIONS TECHNOLOGY INC. A CR.O. 146883 Tel.zip $ id uid=206(appldev) gid=201(dba) groups=1(staff) $ cd $AD_TOP $ pwd /u06/oracle/apps/apps_st/appl/ad/12.0.S. $ cd $INST_TOP $ cd admin/out $ ls -l appsutil. log on to the APPL_TOP environment (source the environment file) and run this Perl script to create appsutil.2.zip -rw-r--r-. Update the RDBMS ORACLE_HOME file system with AutoConfig files.0 # ls -l appsutil. 6531218 Update the RDBMS ORACLE_HOME file system with Autoconfig files Update the RDBMS ORACLE_HOME file system with AutoConfig files.0 $ cd $ perl /u06/oracle/apps/apps_st/appl/ad/12.0.zip $ pwd /u06/oracle/inst/apps/PREPROD_hrdev/admin/out # cd /u06/oracle/inst/apps/PREPROD_hrdev/admin/out # cp appsutil. 6514556 Fax.1 appldev dba 2683705 Apr 21 01:43 appsutil.zip 07/04/2015 Page 100 of . P.1 root system 2683705 Apr 21 01:47 appsutil.zip file to the <RDBMS ORACLE_HOME> and unzip the file. Change directory to RDBMS Oracle Home as follows: cd <RDBMS ORACLE_HOME> Unzip the file with the following command: unzip -0 appsutil.log output located at /u06/oracle/inst/apps/PREPROD_hrdev/admin/out/appsutil. perl <AD_TOP>/bin/admkappsutil.zip -rw-r--r-.zip in <INST_TOP>/admin/out.zip MakeAppsUtil completed successfully.ADVANCED OPERATIONS TECHNOLOGY INC.pl Starting the generation of appsutil.pl On the database tier (as the ORACLE user).0 # cd /u02/oracle/proddb/10.zip # chown oradev:dba appsutill. copy or FTP the appsutil.zip /u02/oracle/proddb/10. Box 136513 Jeddah 21313 K.0/bin/admkappsutil. On the application tier (as the APPLMGR user).2.zip Log file located at /u06/oracle/inst/apps/PREPROD_hrdev/admin/log/MakeAppsUtil_04210142. zip -rwxr-xr-x 1 oradev dba 2683705 Apr 21 01:47 appsutil.S.ADVANCED OPERATIONS TECHNOLOGY INC.gif inflating: appsutil/media/chsd.zip $unzip -o appsutil.gif inflating: appsutil/media/chsu. Box 136513 Jeddah 21313 K.0 $ ls -l appsutil.O.zip # chmod 755 appsutil. 6514556 Fax. 6531218 chown: appsutill.zip creating: appsutil/media/ inflating: appsutil/media/FNDSSCORP. 146883 Tel.2.gif inflating: appsutil/media/eyeglasses_transparent. P.zip $ su – oradev $ pwd /u02/oracle/proddb/10.zip: A file or directory in the path name does not exist.gif $ cd appsutil $ ls admin bin html java media perl sql template Time Taken = ( 15 minutes ) 07/04/2015 Page 101 of .A CR. # chown oradev:dba appsutil. 20071121_015015_bHdSMR JIT .0 IBM J9 2.2.6.20071118_01 # pwd /u06/oracle/db/tech_st/11.0/appsutil # cd /u02/oracle/proddb/10. 6531218 Install JRE on the database tier Install JRE on the database tier. I copied jre from 11g as which R12 files system created $ cd /u06/oracle/db/tech_st/11.0/appsutil/jre/bin $ . 146883 Tel. If you are using a "database tier only" platform.6.4 AIX ppc-32 jvmap3260-20071121_15015 (JIT enabled) J9VM .6. refer to My Oracle Support(Doc ID: 456197.0" Java(TM) SE Runtime Environment (build pap3260-20071123_01) IBM J9 VM (build 2. J2RE 1.20071121_015015_bHdSMR JIT .A CR./java -version java version "1.1.6.20071031_AA) JCL .r9_20071121_1330 GC .0 IBM J9 2.4.0/appsutil # cp -r jre /u02/oracle/proddb/10. Install JRE on the database tier to ensure that the application tier and the database tier match: If you are using a "fully certified" platform./java -version java version "1.ADVANCED OPERATIONS TECHNOLOGY INC.1. J2RE 1.0" Java(TM) SE Runtime Environment (build pap3260-20071123_01) IBM J9 VM (build 2.20071118_01 Time Taken = ( 15 minutes ) 07/04/2015 Page 102 of .2.S.1) to install JRE under the <RDBMS_ORACLE_HOME>/appsutil directory. Box 136513 Jeddah 21313 K.0/appsutil/jre/bin # . refer to My Oracle Support (Doc ID: 418664.r9_20071121_1330 GC .2.0/appsutil # chown -R oradev:dba jre # chmod -R 755 jre # pwd /u02/oracle/proddb/10.4 AIX ppc-32 jvmap3260-20071121_15015 (JIT enabled) J9VM .1) to install JRE under the <RDBMS_ORACLE_HOME>/appsutil directory. 6514556 Fax. P.4.O.20071031_AA) JCL . ora .0/network/admin/PREPROD_hrdev $ ls -ltr total 16 -rw-r--r--rw-r--r-- 1 oradev dba 1 oradev dba 493 Apr 21 03:11 listener.ora 530 Apr 21 03:11 tnsnames. P. Copy listener. 6514556 Fax.2.ora and tnsnames. 146883 Tel.A CR. 6531218 Create a <CONTEXT_NAME> directory under Create a <CONTEXT_NAME> directory under $ORACLE_HOME/network/admin.ora Time Taken = ( 5 minutes ) 07/04/2015 Page 103 of . $ cd $ORACLE_HOME/network/admin $ mkdir PREPROD_hrdev $ cp listener./PREPROD_hrdev $ cp tnsnames./PREPROD_hrdev $ pwd /u02/oracle/proddb/10.S.ADVANCED OPERATIONS TECHNOLOGY INC.ora . where CONTEXT_NAME is <ORACLE_SID>_<DB_hostname>.ora from the $ORACLE_HOME/network/admin directory to the $ORACLE_HOME/network/admin/<CONTEXT_NAME> directory. Box 136513 Jeddah 21313 K.O. 0 #export ORACLE_SID=DEV #.A CR.0/ctx/lib $ echo $ORACLE_SID PREPROD $ echo $PATH / u02/oracle/proddb/10. 6514556 Fax.S.0/bin:/u02/oracle/proddb/10.0 $ echo $LD_LIBRARY_PATH /u02/oracle/proddb/10. In normal then echo "$MAILMSG" # operation.2.0/appsutil/scripts/PREPROD_hrdev #export SCRIPTS #================TSM entry======== #export LD_LIBRARY_PATH=$ORACLE_HOME/lib #export ORACLE_BDUMP=/u02/oracle/proddb/9.2.0/lib:/u02/oracle/proddb/10.0/perl/bin:/usr/bin:/etc:/usr/vac/bin:/ usr/sbin:/usr/ucb:/home/oradev/bin:/usr/bin/X11:/sbin:. /u02/oracle/proddb/9.0/network/admin/PREPROD_hrdev $vi .2. 6531218 Set and export environment variables Set and export the following environment variables: ORACLE_HOME=<RDBMS_ORACLE_HOME> LD_LIBRARY_PATH = $ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib ORACLE_SID = <instance name for current database node> PATH = $PATH:$ORACLE_HOME/bin TNS_ADMIN = $ORACLE_HOME/network/admin/<CONTEXT_NAME> (TNS_ADMIN=/u02/oracle/proddb/10.0/OPatch $ echo $TNS_ADMIN /u02/oracle/proddb/10.2.2.0/network/admin/PREPROD_hrdev) $ echo $ORACLE_HOME /u02/oracle/proddb/10.ADVANCED OPERATIONS TECHNOLOGY INC.O.profile PATH=/usr/bin:/etc:/usr/vac/bin:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin: . P.2.0/PREPROD_hrdev.2. 146883 Tel. the Shell checks 07/04/2015 Page 104 of .2.2.env #SCRIPTS=/u02/oracle/proddb/9.2.0/admin/PREPROD_hrdev/bdump if [ -s "$MAIL" ] # This is at Shell startup. export PATH set -o vi #export ORACLE_HOME=/u02/oracle/proddb/9. Box 136513 Jeddah 21313 K.:/u02/oracle/proddb/10.2.2. Box 136513 Jeddah 21313 K.0 export ORACLE_SID=PREPROD export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin: $PATH:/u02/oracle/proddb/10. 6531218 fi # periodically.profile Time Taken = ( 20 minutes ) 07/04/2015 Page 105 of .S.2 .0/OPatch export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib export PERL5LIB=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl export ORA_NLS10=$ORACLE_HOME/nls/data/9idata export TNS_ADMIN=$ORACLE_HOME/network/admin/PREPROD_hrdev Refer : APPENDIX D : .A CR.ADVANCED OPERATIONS TECHNOLOGY INC.2.O. P. export ORACLE_HOME=/u02/oracle/proddb/10. 6514556 Fax. 146883 Tel. xml $ Time Taken = ( 30 minutes ) 07/04/2015 Page 106 of .pl Starting context file generation for db tier. Box 136513 Jeddah 21313 K.0/appsutil/PREPROD_hrdev. P.A CR. reenter the value for Display Variable: 0.2. 6531218 Generate a new Database context file Generate a new Database context file as follows: UNIX: $ su – oradev $ cd <RDBMS ORACLE_HOME>/appsutil/bin $ perl adbldxml.2..S.ADVANCED OPERATIONS TECHNOLOGY INC..2. 146883 Tel. Using JVM from /u02/oracle/proddb/10.log AC-00013: Error: File: /u02/oracle/proddb/10. APPS Password: clone The log file for this adbldxml session is located at: /u02/oracle/proddb/10.0/appsutil/jre/bin/java to execute java p rograms.2. Please answer the Q uestions below Enter Hostname of Database server: hrdev Enter Port of Database server: 1521 Enter SID of Database server: PREPROD Enter the value for Display Variable: Invalid input.O.0/appsutil/log/adbldxml_04210331. 6514556 Fax.0 The context file has been created at: /u02/oracle/proddb/10.ora is not a valid file as database SID could not be found for connect str ing: PREPROD Could not Connect to the Database with the above parameters.0/network/admin/PREPROD_hrdev/lis tener. AutoConfig completed successfully..log AutoConfig is configuring the Database environment.2.2. 6514556 Fax... 146883 Tel.jar:/u02/oracle/proddb /10.2.0/appsutil/PREPROD Context Value Management will now update the Context file Updating Context file.sh contextfile=/u02/oracle/proddb/10.O.0/appsutil/java:/u02/oracle/proddb/10..0/appsutil/ log/PREPROD_hrdev/04210334/adconfig.ADVANCED OPERATIONS TECHNOLOGY INC.jar:/u02/oracle/proddb/10.0/appsutil/java/xmlparserv2. 6531218 Run AutoConfig on the database tier nodes Run AutoConfig on the database tier nodes.COMPLETED Attempting upload of Context file and templates to database.COMPLETED Updating rdbms version in Context file to db102 Updating rdbms type in Context file to 64 bits Configuring templates from ORACLE_HOME .2.2.S.A CR. P..xml Output : ============= $ adconfig.2. AutoConfig will consider the custom templates if present.2. UNIX: <RDBMS ORACLE_HOME>>/appsutil/bin/adconfig.0/jdbc/lib/ojdbc1 4.2..2..sh contextfile=<context file created in step 29> $ cd $ORACLE_HOME/appsutil/bin $adconfig.sh contextfile= /u02/oracle/proddb/10.xml : /u02/oracle/proddb/10.0/jlib/netcfg. Using ORACLE_HOME location : /u02/oracle/proddb/10.0/appsutil/PREPROD_hrdev.jar:/u02/oracle/prod db/10. Box 136513 Jeddah 21313 K.0 Classpath : :/u02/oracle/proddb/10.xml Enter the APPS user password: The log file for this session is located at: /u02/oracle/proddb/10.jar Using Context file _hrdev.0/appsutil/PREPROD_hrdev.0/jlib/ldapjclnt10.2.. Time Taken = (10 minutes) 07/04/2015 Page 107 of . Box 136513 Jeddah 21313 K. 146883 Tel. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC.S.O.sh Autoconfig is completed successfully Time Taken = (15 minutes) 07/04/2015 Page 108 of . P.A CR. 6531218 Run AutoConfig on the AppsTier This is step is not mention in our document. we are just running to make sure. $ su – appldev $ cd $INST_TOP/admin/scripts $ adautocfg. Box 136513 Jeddah 21313 K.2.S. 6531218 Delete Obsolete File System Delete Obsolete file # cd /u01 # ls app oraInventory oracle lost+found oraInventory_bkp # cd oracle # ls old_prodappl old_prodcomn old_prodora patches 10.0 # pwd /u02/oracle/proddb Time Taken = ( 5 minutes ) 07/04/2015 Page 109 of .1. P.ADVANCED OPERATIONS TECHNOLOGY INC.0 old_9.2.0 10. 146883 Tel. 6514556 Fax.O.A CR. Box 136513 Jeddah 21313 K.A CR.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Start Services $ cd $INST_TOP/admin/scripts $adstpal. 6514556 Fax.sh All status should be 0 Ps –ef | grep FNDLIBR Ps –ef | grep FND Adapcctl.sh apps/clone $ adstaral. 146883 Tel.sh status =========== Problem Description : At this stage we try to login the EBS but Login Page is not coming up giving HTTP 500 We stopped all the services and rebooted the server Workaround : At this stage we did not find any workaround 07/04/2015 Page 110 of .S. P.O. drv $ cd $PER_TOP/patch/115/driver $ adpatch ( Patch “hrglobal.per. Data? ---------Installed Installed Action ------------Install Install Localisation College Data? Action -------------.DataInstall apps clone thin hrdev:1521:PREPROD Choose option 1 and select Saudi Arabia 42 Saudi Arabia 43 Saudi Arabia Human Resources Installed Payroll Installed After Select. P. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC.------------.S.drv ) TimeTaken = ( 30 minutes ) 07/04/2015 Page 111 of .------------. Exit with save “Y” The following actions will be performed: Localisation -------------------Saudi Arabia Saudi Arabia Product(s) -----------------------Human Resources Payroll Leg. 6531218 Install Saudi HRMS Globalization $ su – appldev java oracle.------------JIT/Geocode Oracle Time and Labor (OTL) Once you selected apply hrglobal patch Apply $PER_TOP/patch/115/driver/hrglobal.------------United Kingdom United States Option Data? Action -----------------------------. 146883 Tel.A CR. Box 136513 Jeddah 21313 K.O.apps. we tried whole day and then finally we requested for the backup . Database dismounted. Database closed. Database dismounted.O. Server Name : HRDEV File System : /u02/oracle/proddb/10.A CR. Box 136513 Jeddah 21313 K.0 /u03/oracle/proddata /u04/oracle/proddata /u06/oracle Time Taken = ( 5 hours ) 07/04/2015 Page 112 of .2.ADVANCED OPERATIONS TECHNOLOGY INC.S. SQL> startup. ORACLE instance shut down. 6531218 Backup Database & R12 File System Backup on Which Stage : We requested backup on 25th April 2010 We were trying to solve login problem. P. so at this stage our Application is facing – Unable to Login problem – HTTP 500 Must shutdown normal before backup SQL> shutdown immediate. ORACLE instance shut down. SQL> shutdown normal. 146883 Tel. 6514556 Fax. Database closed. albilad.O. 6531218 Unable To Login – HTTP 500 Troubleshooting & Resolving HTTP 500 Issue: http://hrdev.albilad. P. Box 136513 Jeddah 21313 K. 6514556 Fax.S.A CR.com:8000/ Browser giving 500 HTTP Error We tried to get below link using Professional Link : http://hrdev. 146883 Tel. Then Try to login again http://hrdev.com:8000/forms/frmservlet It gave error APP-FND-01516 User Name : APPLSYSPUB (Incorrect password) Tried Conn applsyspub/pub Invalid password Conn applsyspub/clone Connected In FND_TOP/secure/ GWYUID=APPLSYSPUB/PUB So we tried to use fncpass but it didn’t worked FNDCPASS 0 y apps/<pwd> system/manager USER applsyspub pub // didn’t worked Finally I changed to Alter user applsyspub identified by pub.albilad.ADVANCED OPERATIONS TECHNOLOGY INC.xml Before Change : <appserverid_authentication oa_var="s_appserverid_authentication">SECURE</ appserverid_authentication> <dbc_params> 07/04/2015 Page 113 of .com:8000/forms/frmservlet This time we got another error APP-FND-01542 $cd /u06/oracle/inst/apps/PREPROD_hrdev/appl/admin vi PREPROD_hrdev. S. 6531218 Change to : <appserverid_authentication oa_var="s_appserverid_authentication">OFF</ appserverid_authentication> <dbc_params> Stop the application tier services and run autoconfig on apps tier It Solved out Login Page HTTP 500 Problem.A CR.now Time Taken = ( 15 minutes ) Concurrent FNDLIBR issue : $ pf –ef | grep FNDLIBR only one FNDLIBR process. 146883 Tel.O. suppose to be more To Fix Concurrent Manager Goto Adminsiter Click <<Fixed >> button And check ps –ef | grep FNDLIBR // you will see more than one FNDLIBR Increased Standard Manager Workshifts Once the upgrade finished and Concurrent Manager is up it processes lot of concurrent requests implicitly to update R12 objects.ADVANCED OPERATIONS TECHNOLOGY INC. to speed up the concurrent requests we increased Standard Manager WorkShifts from 3 to 9. 07/04/2015 Page 114 of . P. Box 136513 Jeddah 21313 K. I can login. 6514556 Fax. 6514556 Fax.S. P.O. Box 136513 Jeddah 21313 K. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Time Taken = ( 5 minutes ) 07/04/2015 Page 115 of .A CR. and indexes (conditional) >> Customer responsibility 4. Drop obsolete columns (recommended) Concurrent manager implicitly submitted concurrent request to all drop obsolete programs automatically. constraints. P. Integrate custom objects and schemas (conditional) >> customer Responsibility 3.ADVANCED OPERATIONS TECHNOLOGY INC. just remove print option from the program Again we run after removing print option – it’s Okay 07/04/2015 Page 116 of . Reapply Customization >>> customer responsibility 2. 6531218 Gather Statistics Apps & Sys 1. Gather Statistics for SYS schema It gave error while taking Gather Statistics. Re-enable custom triggers.O. 5.A CR. 6514556 Fax. So no manual work needed.S. 146883 Tel. Box 136513 Jeddah 21313 K. SQL> startup restrict. SQL> @adstats.sql SQL> shutdown normal.S. P. SQL> startup.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Now take one more sys statistics again Shutdown all application tier $ sqlplus "/ as sysdba" SQL> shutdown normal. Box 136513 Jeddah 21313 K. Start the application and test Time Taken = ( 15 minutes ) 07/04/2015 Page 117 of .O. SQL> exit. 6514556 Fax.A CR. 146883 Tel. xml <oa_environment type="generic_service"> <DISPLAY oa_var="s_display" osd="unix">hrdev:0.23. 146883 Tel.S. 6531218 Problems & Solutions – 01 Concurrent Request – REP-3000 Error Problem Description: All Concurrent Request Submit Request like “Active User” and others are reporting REP3000 Solution : Step 1: XDiplay Server Port : 10.0</DISPLAY> <java_awt_headless oa_var="s_java_awt_headless"> true </java_awt_headle ss> </oa_environment> And run autoconfig 07/04/2015 Page 118 of . P.A CR. Box 136513 Jeddah 21313 K.0</DISPLAY> <java_awt_headless oa_var="s_java_awt_headless"> true </java_awt_headle ss> </oa_environment> <oa_environment type="generic_service"> <DISPLAY oa_var="s_display" osd="unix">10.0</DISPLAY> <java_awt_headless oa_var="s_java_awt_headless"> true </java_awt_headle ss> </oa_environment> Change To : <oa_environment type="generic_service"> <DISPLAY oa_var="s_display" osd="unix">10. 6514556 Fax.23.128 : 6000 Request Network People to open the port 6000 for Application Server “hrdev” Mention this IP in Appliction CONTEXT FILE – s_display variable as : vi /u06/oracle/inst/apps/PREPROD_hrdev/appl/admin/PREPROD_hrdev.128:0.16.16.ADVANCED OPERATIONS TECHNOLOGY INC.23.O.128:0.16. 2/guicommon/tk/admin/Tk2Motif_AL32U TF8. 6531218 Step 2: REP-3000 When Character Set is AL32UTF8 [ID 729585. Modify $APPL_TOP/${CONTEXT_NAME}.S. Box 136513 Jeddah 21313 K.rgb" export XENVIRONMENT fi 2.O.rgb Open both the above files(Tk2Motif. cd $ORACLE_HOME/guicommon/tk/admin cp Tk2Motif.1.A CR.env Before Change # Set XENVIRONMENT variable in a UTF8 env if test "UTF8" = "AL32UTF8". 146883 Tel. 6514556 Fax.2/guicommon/tk/admin/Tk2Motif_UTF8.rgb file.rgb Tk2Motif_AL32UTF8.rgb) and look for the line !Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2 Add a line below to this with AL32UTF8 entry.1} Solution To implement the solution.1. please execute the following steps : 1.ADVANCED OPERATIONS TECHNOLOGY INC. Add font Mapping entry in Tk2Motif. then XENVIRONMENT="/r12/crp1/apps/tech_st/10. then XENVIRONMENT="/r12/crp1/apps/tech_st/10. like below 07/04/2015 Page 119 of .rgb Tk2Motif_AL32UTF8.r gb" export XENVIRONMENT fi After Change # Set XENVIRONMENT variable in a UTF8 env if test "AL32UTF8" = "AL32UTF8". P. 2/reports/Tk2Motif _AL32UTF8.1.S.1. 6531218 !Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2 Tk2Motif*fontMapCs: iso8859-1=AL32UTF8 save file Tk2Motif_AL32UTF8. 6514556 Fax.env Before Change : # Set XENVIRONMENT variable in a UTF8 and AL32UTF8 env if test "UTF8" = "AR8MSWIN1256".2/reports/Tk2Motif _AL32UTF8. then XENVIRONMENT="/u06/oracle/inst/apps/PREPROD_hrdev/ora/10.ADVANCED OPERATIONS TECHNOLOGY INC.O. Restart the application services << This worked >> ================== After working 3 days we rebooted the server again we got same problem rep-3000 Vi $APPL_TOP/PREPROD_hrdev.rgb" export XENVIRONMENT fi After Change: # Set XENVIRONMENT variable in a UTF8 and AL32UTF8 env if test "AL32UTF8" = "AL32UTF8".2/guicommon/tk/admin/Tk2Motif_UTF 8.2/guicommon/tk/admin/Tk2Motif_AL3 2UTF8. P. then XENVIRONMENT="/u06/oracle/apps/tech_st/10.A CR. then XENVIRONMENT="/u06/oracle/inst/apps/PREPROD_hrdev/ora/10. 146883 Tel.1.rgb" export XENVIRONMENT fi if test "AL32UTF8" = "AR8MSWIN1256".rgb" export XENVIRONMENT fi if test "AL32UTF8" = "AR8MSWIN1256".rgb.rgb" 07/04/2015 Page 120 of .1. then XENVIRONMENT="/u06/oracle/apps/tech_st/10. Box 136513 Jeddah 21313 K. 3. Box 136513 Jeddah 21313 K. 6531218 export XENVIRONMENT fi // Tk2Motif_AL32UTF8.S. P.rgb !Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2 !Tk2Motif*fontMapCs: iso8859-1=AL32UTF8 Tk2Motif*fontMapCs: iso8859-1=AR8MSWIN1256 Su – appldev $ echo $XENVIRONMENT /u06/oracle/apps/tech_st/10.A CR.2/guicommon/tk/admin/Tk2Motif_AL32UTF8.1.ADVANCED OPERATIONS TECHNOLOGY INC.O.rgb cd /u06/oracle/apps/tech_st/10.rgb Finally this changed worked Tk2Motif*fontMapCs: iso8859-1=AR8MSWIN1256 Time Taken = ( 30 minutes ) 07/04/2015 Page 121 of . 6514556 Fax.2/guicommon/tk/admin vi Tk2Motif_AL32UTF8.1. 146883 Tel. A CR. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Cannot able to upload pictures: Problem Description: Navigation : Saudi HRMS Manager > Enter and Maintain Click <<Find>> 07/04/2015 Page 122 of . 6514556 Fax.S. Box 136513 Jeddah 21313 K. P.O. fnd.java:538) at oracle.framework.processFormRequest(OAPageBean.fnd.fnd. 146883 Tel.webui.OAWebBeanHelper.ADVANCED OPERATIONS TECHNOLOGY INC.java:848) at oracle.fnd.OAWebBeanContainerHelper.?.O.framework.webui.fnd.wrapperException(OAException.webui.java:711) at oracle.framework.java:382) at oracle.processFormRequestChildren(OAWebBeanHelper.java:426) at _OA.webui.beans.OAPageBean.OAException.fnd.apps.TABLE_NAME.OAWebBeanHelper.preparePage(OAPageBean.apps.framework.fnd.OAException: oracle.java:993) at oracle.webui.java:382) at oracle.OAWebBeanHelper.OAWebBeanHelper.framework.PARENT_ID.preparePage(OAPageBean.OAPageBean.apps. 6514556 Fax.?)".java:848) at oracle.apps.processFormRequestChildren(OAWebBeanHelper.webui.java:2863) at oracle.beans.?.processFormRequest(OAWebBeanContainerHelper.webui.OADBTransactionImpl.framework.fnd. oracle.apps.fnd.processFormRequest(OAWebBeanHelper.java:993) at oracle.OAWebBeanContainerHelper.layout.OAPageLayoutHelper.apps.jbo.OAWebBeanHelper.webui.webui.OAPageLayoutBean.fnd.webui.framework.java:382) at oracle.webui.commit(OADBTransactionImpl.OAWebBeanHelper.OAWebBeanHelper.apps.java:212) 07/04/2015 Page 123 of .apps.fnd. Box 136513 Jeddah 21313 K. 6531218 Click <<Picture>> and try to upload any image Exception Details.java:1840) at oracle.processFormRequest(OAWebBeanHelper.java:1027) at oracle.apps.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO PER_IMAGES(IMAGE_ID.framework.webui.apps.fnd.processFormRequest(PerImageCO.beans.form.framework.java:1579) at oracle.fnd.processFormRequest(OAWebBeanContainerHelper.processFormRequest(OABodyBean.framework. at oracle.OAPageBean.webui.processFormRequestChildren(OAWebBeanHelper.webui.OAPageBean.processFormRequest(OAWebBeanContainerHelper.perimage.PerImageCO.apps.fnd.apps.processFormRequest(OAFormBean.fnd.processFormRequestChildren(OAWebBeanHelper.framework.java:815) at oracle.apps.preparePage(OAPageBean. P.framework.apps.fnd.apps.java:242) at oracle.processFormRequest(OAWebBeanHelper.java:1027) at oracle.OABodyBean.framework.fnd.apps.OAFormBean.A CR.per.apps.webui.apps.webui.webui.apps.framework.OAWebBeanContainerHelper.webui.framework.framework.framework.webui.fnd.processFormRequest(OAPageLayoutBean.apps.fnd.fnd.framework.fnd.java:395) at oracle._jspService(_OA.java:363) at oracle.framework.S.framework.apps.framework.java:896) at oracle.java:1189) at oracle.server.IMAGE) VALUES (?.processFormRequest(OAPageLayoutHelper.apps. ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:735) ## Detail 0 ## java.sql.SQLException: ORA-01502: index 'HR.PER_IMAGES_PK' or partition of such index is in unusable state at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1225) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3468) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427) at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:5811) at oracle.apps.fnd.framework.server.OAEntityImpl.doDMLWithLOBs(OAEntityImpl.java:1792) at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5744) at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539) at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(OAEntityImpl.java:1759) at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996) at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807) at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971) at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173) at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(OADBTransactionImpl.java:690) at oracle.apps.per.perimage.webui.PerImageCO.processFormRequest(PerImageCO.java:242) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) 07/04/2015 Page 124 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:735) java.sql.SQLException: ORA-01502: index 'HR.PER_IMAGES_PK' or partition of such index is in unusable state at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1225) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3468) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427) at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:5811) at oracle.apps.fnd.framework.server.OAEntityImpl.doDMLWithLOBs(OAEntityImpl.java:1792) at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5744) at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539) at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(OAEntityImpl.java:1759) at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996) at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807) at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971) at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173) at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(OADBTransactionImpl.java:690) at oracle.apps.per.perimage.webui.PerImageCO.processFormRequest(PerImageCO.java:242) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) 07/04/2015 Page 125 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:735) Solution : java.sql.SQLException: ORA-01502: index 'HR.PER_IMAGES_PK' or partition of such index is in unusable state The error basically reporting that some indexes are in “unusable” state SQL> alter index hr.per_images_pk rebuild online ; Index altered. SQL> select owner,index_name,status from dba_indexes where status = 'UNUSABLE'; 2 OWNER INDEX_NAME STATUS ------------------------------ ------------------------------ -------HR PER_IMAGES_UK2 UNUSABLE SQL> alter index hr.PER_IMAGES_UK2 rebuild online ; Index altered. SQL> SQL> SQL> select owner,index_name,status from dba_indexes where status = 'UNUSABLE'; 2 no rows selected Time Taken = ( 10 minutes ) 07/04/2015 Page 126 of 146883 Tel.A CR. 6531218 Work Structure – Position Screen FRM-40735 and ORA-01840 Problem Description: Navigation: Saudi HRMS Manager > Work Structures > Position > Description Click “Description” Click <<Find>> button Click “Hiring Information” 07/04/2015 Page 127 of .S.ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K.O. P. 6514556 Fax. B_R12_GENERIC.0 $ cd $INST_TOP/admin/scripts $ . Finally Oracle Support has given one-off Patch “9691080” p9691080_R12[1].sh apps/clone $ adadmin – Enable Maintenance Mode $ cd /u02/patches/9691080 $ adpatch 07/04/2015 Page 128 of ./adstpall.O.PER.zip Steps to Apply Patch : # su .A CR.0. 6531218 In “FTE” field changed to any value for example 2 and try to save Click “Update” button You should not get error : FRM-40735: ON UPDATE trigger raised unhandled exception ORA-01840 Solution : Oracle Support is going to provide us with one-off patch – we are waiting to get this one.appldev /u02/patches $ echo $PER_TOP /u06/oracle/apps/apps_st/appl/per/12. 6514556 Fax. P.ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K. 146883 Tel.S. sh apps/clone 07/04/2015 Page 129 of .S. 146883 Tel. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_9691080. P.A CR./adstrtal. 6531218 The default directory is [/u02/patches/9691080] : Please enter the name of your AutoPatch driver file : u9691080.drv Done purging timing information for prior sessions. Box 136513 Jeddah 21313 K.lgi Errors and warnings are listed in the log file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_9691080.O. AutoPatch is complete.log and in other log files in the same directory. $ adadmin – Disable Maintenance Mode $ .ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. O. P. Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC.S.A CR. 146883 Tel. 6531218 Now I can update – Solved this problem after applying one-off patch 9691080. 6514556 Fax. 07/04/2015 Page 130 of . 6531218 Mass Information Exchange MIX Problem Description : Navigation: Saudi HRMS Manager > Mass Information Exchange MIX > Batch Element Entry Query on %1933 and press Element Line Select “Salary Bonus Element and try to enter in assignment number 1933 – it gives errors Solution : Apply Patch 8666759 Apply Patch 8666759 (NLS) Time Taken = ( 30 minutes ) Cannot View Old Custom Notification Problem Description : Login as 002739 Click the first link Overtime Request for khaled Abdulalim Abdulrhman Ahmad requires approval 07/04/2015 Page 131 of . P.A CR.S.O. Box 136513 Jeddah 21313 K. 6514556 Fax. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. Workaround : BAB team has found some customized workaround. 6514556 Fax.O.S. P. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC.A CR. Box 136513 Jeddah 21313 K. 6531218 Click “View Action” Solution : Oracle Support not assisting this issue because they say it is customized – need to sort out this problem. 07/04/2015 Page 132 of . B. 6514556 Fax. it is working taking average 3. Comments: It means we need to apply patch R12.2” Patch 8337373 And I tested after that this query worked fine.O. 6531218 View PAY_PRE_PAYMENTS_V hangs while SELECT Problem Description: When we try to use customize sql query which is using PAY_PRE_PAYMENTS_V .DELTA.A CR. P.ADVANCED OPERATIONS TECHNOLOGY INC. the query is hanging Solution : I run the query supplied by client. Box 136513 Jeddah 21313 K.HR_PF. 146883 Tel.2 07/04/2015 Page 133 of .18 minutes First this query was hanged later we applied “R12.HR_PF.B.DELTA.S. 1] Time Taken = ( 1 hour ) 07/04/2015 Page 134 of . 6531218 Arabic Reports Orientation Displaying Left-To-Right Problem Description: After the upgrade all Arabic Reports orientation are displaying from Left-To-Right Solution: Follow below document: Arabic Is Printing in Reversed Order [ID 552977.O. Box 136513 Jeddah 21313 K. 6514556 Fax.A CR.S. P.ADVANCED OPERATIONS TECHNOLOGY INC. 146883 Tel. 0 /u03/oracle/proddata /u04/oracle/proddata /u06/oracle Time Taken = ( 5 hours ) 07/04/2015 Page 135 of . SQL> startup. Database closed. Database dismounted. Box 136513 Jeddah 21313 K. Database closed. ORACLE instance shut down.2.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. Backup File System : /u02/oracle/proddb/10.S. SQL> shutdown normal. ORACLE instance shut down. 6531218 Backup Database & R12 File System Must shutdown normal before backup SQL> shutdown immediate. 146883 Tel. Database dismounted.A CR.O. P. Compile/Reload Applications Database Entities menu.Enable $ cd 8502056 $ adpatch 2) Apply Patch 9015132 – Enable Invokers Processing 3) Patch 7651091 (R12.A CR.DELTA.B.O.2 PATCH 8337373 (Main Patch) – Doc ID 949437.S.B.B.sql apps clone Maintenance Mode . 6531218 Patch R12.1 (R12.B.ATG_PF. P.1 ORACLE HUMAN RESOURCE MANAGEMENT SYSTEM RELEASE UPDATE PACK 2 FOR 12.2) Prerequisites: Check Readme $cd admin $cp adgrants. 146883 Tel.DELTA.Compile Apps Schema Time Taken = (3 hours) 4) Patch 7651091 for NLS – AR $ cd /u02/patches/7651091_AR $ adpatch Maintenance Mode – Disable Time Taken = (10 minutes ) 07/04/2015 Page 136 of .AD.2) Prerequisites Patches : 1) Apply Patch 8502056 (R12.2 – Document ID : 845809. 6514556 Fax.ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K.sql to <rdbms Oh>/appsutil/admin $su – oradev SQL>@rdbms/appsutil/admin/adgrants.delta.HR_PF.HR_PF. 1.1 ) $ adpatch options=nocompiledb Time Taken = (3 hours) $ adadmin 3.delta. .zip # chmod 775 appsutil. Database tier: cd <RDBMS ORACLE_HOME> .pl Starting the generation of appsutil.zip /u02/oracle/proddb/10. Using ORACLE_HOME location : /u02/oracle/proddb/10. 6514556 Fax.2. Box 136513 Jeddah 21313 K.0/appsutil/log/PREPROD_hrdev/05091549/adconfig.0/appsutil/scripts/PREPROD_hrdev $ . $ cd /u02/oracle/proddb/10.S.0 07/04/2015 Page 137 of .log output located at /u06/oracle/inst/apps/PREPROD_hrdev/admin/out/appsutil. AutoConfig will consider the custom templates if present.2. P../<APPL_TOP>/APPS<CONTEXT_NAME>. .env $ cd $INST_TOP/admin/out $ pwd /u06/oracle/inst/apps/PREPROD_hrdev/admin/out $ perl $AD_TOP/bin/admkappsutil.O.zip cd <ORACLE_HOME> unzip -o appsutil. o Uncompress appsutil.zip Log file located at /u06/oracle/inst/apps/PREPROD_hrdev/admin/log/MakeAppsUtil_05091531.2./<RDBMS ORACLE_HOME>/<CONTEXT_NAME>..sh Enter the APPS user password: The log file for this session is located at: /u02/oracle/proddb/10.0 # chown oradev:dba appsutil.log AutoConfig is configuring the Database environment./adautocfg. $ su – oradev $ cd $ORACLE_HOME $ cp –r appsutil /home/oradev/vil # cd /u06/oracle/inst/apps/PREPROD_hrdev/admin/out # cp appsutil.env o Copy or FTP the appsutil.zip MakeAppsUtil completed successfully.2.A CR.zip under the <RDBMS ORACLE_HOME .zip Run AutoConfig on the <RDBMS ORACLE_HOME>.zip file to the <RDBMS ORACLE_HOME>.ADVANCED OPERATIONS TECHNOLOGY INC. 6531218 Post Installation Steps: . 146883 Tel. 0/jlib/netcfg./adautocfg.. UNIX $ cd $APPL_TOP $ cp PREPROD_hrdev.xml Context Value Management will now update the Context file Updating Context file.0/appsutil/java:/u02/oracle/proddb/10.zip:/u06/oracle/apps/app s_st/comn/java/classes Using Context file : /u06/oracle/inst/apps/PREPROD_hrdev/appl/admin/PREPROD_hrdev.0/jdbc/lib/ojdbc14. Box 136513 Jeddah 21313 K. 6514556 Fax. // I just shutdown the database and startup – optional  Run AutoConfig on all nodes with an Appl_Top. 6531218 Classpath : :/u02/oracle/proddb/10.jar:/u02/oracle/proddb/10..sh Enter the APPS user password: The log file for this session is located at: /u06/oracle/inst/apps/PREPROD_hrdev/admin/log/05091555/adconfig.COMPLETED Attempting upload of Context file and templates to database.jar:/u02/oracle/proddb/10.. This is frequently referred to as the applications tier or non-database nodes. Using CONFIG_HOME location : /u06/oracle/inst/apps/PREPROD_hrdev Classpath : /u06/oracle/apps/apps_st/comn/java/lib/appsborg2. AutoConfig completed successfully..0/jlib/ldapjclnt10.2.0/appsutil/j ava/xmlparserv2.jar:/u02/oracle/proddb/10.A CR.2. P..xml 07/04/2015 Page 138 of .0/appsutil/PREPROD_hrdev.2.. AutoConfig will consider the custom templates if present.log AutoConfig is configuring the Applications environment..2. 2.ADVANCED OPERATIONS TECHNOLOGY INC.2.env PREPROD_hrdev.O.jar Using Context file : /u02/oracle/proddb/10.COMPLETED Updating rdbms version in Context file to db102 Updating rdbms type in Context file to 64 bits Configuring templates from ORACLE_HOME . 146883 Tel.env_08May2010 $ cd $INST_TOP/admin/scripts $ ..S. 2/guicommon/tk/admin/Tk2Moti f_AL32UTF8. then XENVIRONMENT="/u06/oracle/apps/tech_st/10..drv sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/ad/12.ADVANCED OPERATIONS TECHNOLOGY INC.1.0.000 invalid objects and compiled all the objects 07/04/2015 Page 139 of . Box 136513 Jeddah 21313 K.sql 10 1000 Done purging timing information for prior sessions..A CR. ### After running autoconfig make sure env file $ vi /u06/oracle/apps/apps_st/appl/PREPROD_hrdev..0/sql/adtpurge..lgi // This patch made 24. AutoPatch is complete. 6514556 Fax.O. 6531218 Context Value Management will now update the Context file Configuring IGC_TOP...rgb" export XENVIRONMENT fi Time Taken ( 30 minutes ) << restart and verify the application >> 5) Patch 8337373 ( Finally Main Patch) Enable Maintenance Mode Stop Application Tier services $ cd /u02/patches/8337373 $ adpatch Enter the directory where your Oracle Applications patch has been unloaded The default directory is [/u02/patches/8337373] : Please enter the name of your AutoPatch driver file : u8337373. 146883 Tel.COMPLETED AutoConfig completed successfully.S. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_8337373.env # Set XENVIRONMENT variable in a UTF8 and AL32UTF8 env if test "AL32UTF8" = "AL32UTF8". P. apps.B.HR_PF. Data? ---------Installed Installed Action ------------Install Install Page 140 of .lgi Errors and warnings are listed in the log file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_8337373_AR. 146883 Tel. Box 136513 Jeddah 21313 K.O.A CR.2) NOTE: This is applicable for HR Legislative customers only. 6531218 // Time Taken = ( 3 hours ) APPLY PATCH 8337373 NLS Arabic Patch $ cd /u02/patches/8337373_AR $ adpatch The default directory is [/u02/patches/8337373_AR] : Please enter the name of your AutoPatch driver file : u8337373. AutoPatch is complete.DataInstall apps clone thin hrdev:1521:PREPROD Choose option and select Saudi Arabia 42 Saudi Arabia 43 Saudi Arabia Human Resources Payroll Installed Installed Once you select apply hrglobal patch The following actions will be performed: Localisation -------------------Saudi Arabia Saudi Arabia 07/04/2015 Product(s) -----------------------Human Resources Payroll Leg.per.S. P.drv sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/ad/12.DELTA. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_8337373_AR. $ su – appldev $ java oracle. 6514556 Fax.log Time Taken = ( 20 minutes ) Post Installation Tasks: for (R12.sql 10 1000 Done purging timing information for prior sessions.ADVANCED OPERATIONS TECHNOLOGY INC.0/sql/adtpurge.0. A CR.O. Disable Maintenance Mode Time Taken = ( 30 minutes ) 07/04/2015 Page 141 of .S. AutoPatch is complete. 6514556 Fax.------------.------------JIT/Geocode Oracle Time and Labor (OTL) Apply $PER_TOP/patch/115/driver/hrglobal. Box 136513 Jeddah 21313 K.log and in other log files in the same directory.drv $ cd $PER_TOP/patch/115/driver/hrglobal.drv $ adpatch Purging timing information for prior sessions. P.------------.ADVANCED OPERATIONS TECHNOLOGY INC.0. sqlplus -s APPS/***** @/u06/oracle/apps/apps_st/appl/ad/12. AutoPatch may have written informational messages to the file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_hrglobal.lgi Errors and warnings are listed in the log file /u06/oracle/apps/apps_st/appl/admin/PREPROD/log/adpatch_hrglobal.0/sql/adtpurge.sql 10 1000 Done purging timing information for prior sessions. 146883 Tel.------------United Kingdom United States Option Data? Action -----------------------------. 6531218 Localisation College Data? Action -------------. 6531218 Total Upgrade Hours 07/04/2015 Page 142 of .ADVANCED OPERATIONS TECHNOLOGY INC.O. Box 136513 Jeddah 21313 K.A CR. 6514556 Fax.S. P. 146883 Tel. 7 – NLS (AR) 00:15:00 5.4 – RDBMS Patches 01:00:00 12. Upgrade Database 10g R2 12:00:00 13. Gather Statistics for SYS Schema 00:20:00 22.I.hrdev (hh:mm:si) 1. Backup Database & R12 File System 05:00:00 21. Run Rapid Install to Create R12 File System 02:00:00 18. Additional Patches after the Database Upgrade 01:10:00 14. AD Preparation Scripts – OATM 02:00:00 7. Auto Extend Tablespaces/datafiles 00:30:00 17. P. Install Oracle Software 01:00:00 8. Create nls/data/9idata directory 00:15:00 11. Install Oracle Companion Software 00:40:00 9.1 upgrade driver – Part 2 24:00:00 07/04/2015 Time Taken on UAT .7 00:30:00 3.2. Box 136513 Jeddah 21313 K.ADVANCED OPERATIONS TECHNOLOGY INC. Apply Patch AD. 146883 Tel. Apply TUMS Patch 00:30:00 6. Install Patch Set 3 00:30:00 10. CTXSYS 00:20:00 19. Enable Maintenace Mode 00:05:00 24.7 – Post Patch 00:05:00 4.I.No Steps Time Taken on TEST . Apply AD 12. Fix Korean Lexers 00:30:00 16. Update .0.S.profile 00:10:00 23.hrdev (hh:mm:si) Page 143 of . Multiple Organization 00:15:00 2.1.A CR. 6531218 S. Drop MRC 00:05:00 20. Apply Patch AD. Install Oracle Data Mining and OLAP 00:30:00 15. Apply additional patches 10. Apply AD 12. 6514556 Fax.I.O.1. Apply Patch AD.1 upgrade driver – Part 1 05:00:00 25. O. Delete Obsolete File System 00:05:00 37. Apply AD 12. Patch R12.HR_PF. Set and Export Environment 00:20:00 33. Update the RDBMS Oracle Home file system with autoconfig files 00:15:00 30. Start Services 00:10:00 38. Generate a new Database context file 00:30:00 34. Install JRE on the database tier 00:15:00 31.DELTA. Install Saudi HRMS Globalization 00:30:00 39. Configure and Start Services 00:10:00 29. Cannot able to upload pictures 00:10:00 43. Backup Database & R12 File System 05:00:00 47. Concurrent Request – REP-3000 00:30:00 42. 6514556 Fax. 146883 Tel. Disable Maintenance Mode 00:05:00 28.ADVANCED OPERATIONS TECHNOLOGY INC.B.1 upgrade driver – NLS Patch for Arabic 02:30:00 27.A CR.S. Gather Statistics Apps & SYS 00:15:00 41.2 07:30:00 Total Hours >>> 83:55 :00 Note : Backup Database 5 hours * 3 = 15 hours 07/04/2015 Page 144 of . Arabic Reports Orientation – Follow Note 552977. Create CONTEXT_NAME directory 00:05:00 32.1. Backup Database & R12 File System 05:00:00 40. P. Mass information Exchange – Patch 00:30:00 45.1 01:00:00 46. Box 136513 Jeddah 21313 K. Work Structures – Position Screen 00:00:00 44. 6531218 26. Run Autoconfig on the Apps Tier 00:15:00 36. Run AutoConfig on the database tier 00:10:00 35. A CR. ALTER TABLESPACE APPS_TS_TX_DATA 07/04/2015 Page 145 of . 6531218 APPENDIX A: AD Preparation Script adcrtbsp. P.S. ALTER TABLESPACE APPS_TS_TX_DATA add DATAFILE '/u04/oracle/proddata/transaction_table_2.O.sql REM REM =========================================================== SET VERIFY OFF WHENEVER SQLERROR EXIT FAILURE ROLLBACK ACCEPT SYSTEM_PWD PROMPT 'Enter password for SYSTEM: ' HIDE connect system/&&SYSTEM_PWD REM !mv adcrttbs.sql REM REM DESCRIPTION REM Generated from adgncons.dbf' SIZE 1000 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . Box 136513 Jeddah 21313 K. REM REM sqlplus <SYSTEM/SYSTEM PASSWORD> @adcrtbsp.sql Modified : In this script we added “autoextend on next 1m” to create tablespaces commands and changed the patch of all datafiles.ADVANCED OPERATIONS TECHNOLOGY INC.log adcrttbs.dbf' SIZE 1000 M autoextend on next 1m.logO spool adcrtbsp.log CREATE TABLESPACE APPS_TS_TX_DATA DATAFILE '/u04/oracle/proddata/transaction_table. 6514556 Fax. REM =========================================================== REM adcrtbsp.sql REM REM USAGE REM REM This script creates tablespaces required for REM consolidated tablespace model and increases tablespaces which REM are below a minimum size.sql Script : adcrtbsp. 146883 Tel. CREATE TABLESPACE APPS_TS_INTERFACE DATAFILE '/u04/oracle/proddata/interface. 6531218 add DATAFILE '/u04/oracle/proddata/transaction_table_3.dbf' SIZE 1000 M autoextend on next 1m. ALTER TABLESPACE APPS_TS_TX_IDX add DATAFILE '/u04/oracle/proddata/transaction_index_2.S. CREATE TABLESPACE APPS_TS_SEED DATAFILE '/u04/oracle/proddata/reference. 6514556 Fax. CREATE TABLESPACE APPS_TS_TX_IDX DATAFILE '/u04/oracle/proddata/transaction_index.dbf' SIZE 1000 M autoextend on next 1m. 07/04/2015 Page 146 of . ALTER TABLESPACE APPS_TS_SEED add DATAFILE '/u04/oracle/proddata/reference_2. ALTER TABLESPACE APPS_TS_TX_IDX add DATAFILE '/u04/oracle/proddata/transaction_index_3.dbf' SIZE 400 M autoextend on next 1m.dbf' SIZE 1000 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . 146883 Tel.dbf' SIZE 1000 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . ALTER TABLESPACE APPS_TS_TX_IDX add DATAFILE '/u04/oracle/proddata/transaction_index_4.dbf' SIZE 500 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO .O.A CR.dbf' SIZE 1000 M autoextend on next 1m. Box 136513 Jeddah 21313 K.dbf' SIZE 1000 M autoextend on next 1m. P.ADVANCED OPERATIONS TECHNOLOGY INC. CREATE TABLESPACE APPS_TS_QUEUES DATAFILE '/u04/oracle/proddata/aq.S. 146883 Tel. 6514556 Fax.dbf' SIZE 500 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . CREATE TABLESPACE APPS_TS_ARCHIVE DATAFILE '/u04/oracle/proddata/archive.dbf' SIZE 650 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . CREATE TABLESPACE APPS_TS_MEDIA DATAFILE '/u04/oracle/proddata/media. P.dbf' SIZE 500 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO .ADVANCED OPERATIONS TECHNOLOGY INC. Box 136513 Jeddah 21313 K. declare cursor check_ftpi is select 1 from dba_tables where owner ='APPLSYS' and table_name ='FND_TS_PROD_INSTS'.dbf' SIZE 10 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . 6531218 CREATE TABLESPACE APPS_TS_SUMMARY DATAFILE '/u04/oracle/proddata/summary.dbf' SIZE 70 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . l_dummy number.dbf' SIZE 50 M REUSE autoextend on next 1m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K SEGMENT SPACE MANAGEMENT AUTO . begin 07/04/2015 Page 147 of .A CR. l_stmt varchar2(1500). CREATE TABLESPACE APPS_TS_NOLOGGING DATAFILE '/u04/oracle/proddata/nologging. CREATE TABLESPACE APPS_TS_TOOLS DATAFILE '/u04/oracle/proddata/tools.O. fnd_product_installations. TEMPORARY_TABLESPACE) select APPLICATION_ID. oracle_id.fnd_ts_prod_insts where rownum < 2. Box 136513 Jeddah 21313 K. 'A'. ORACLE_ID. ' || 'index_tablespace. 'U') ORDER by oracle_username.fnd_product_installations'. END. TABLESPACE. INDEX_TABLESPACE. CURSOR txn_ind_tsp_csr IS SELECT tablespace 07/04/2015 Page 148 of . ORACLE_ID. P.A CR. 'Error in creating table fnd_ts_prod_insts'). INDEX_TABLESPACE. begin execute immediate l_stmt. 6514556 Fax. begin select 1 into l_dummy from APPLSYS. if check_ftpi%notfound then l_stmt := 'create table APPLSYS. temporary_tablespace ' || 'from apps. 6531218 open check_ftpi.fnd_ts_prod_insts as ' || 'select application_id. TABLESPACE. end.S. CURSOR txn_tsp_csr IS SELECT tablespace FROM apps.O. close check_ftpi.fnd_tablespaces WHERE tablespace_type = 'TRANSACTION_TABLES'. / DECLARE l_dummy number. tablespace. fetch check_ftpi into l_dummy. 146883 Tel.fnd_oracle_userid WHERE read_only_flag in ('E'.fnd_ts_prod_insts (APPLICATION_ID. / DECLARE CURSOR usr_csr IS SELECT oracle_id. oracle_username FROM apps.ADVANCED OPERATIONS TECHNOLOGY INC. TEMPORARY_TABLESPACE from apps. exception when NO_DATA_FOUND then insert into APPLSYS. exception when others then raise_application_error(-20000. end. end if. '). l_string VARCHAR2(4000). select count(*) into l_count_tab_spc_rows from dba_tablespaces where TABLESPACE_NAME=l_txn_ind_tablespace. FETCH txn_tsp_csr INTO l_txn_tablespace.tablespace FROM apps.O. if l_count_tab_spc_rows <= 0 then raise_application_error(-20001. end if. end if. OPEN txn_ind_tsp_csr. BEGIN OPEN txn_tsp_csr.ADVANCED OPERATIONS TECHNOLOGY INC. select count(*) into l_count_tab_spc_rows from dba_tablespaces where TABLESPACE_NAME=l_txn_tablespace.A CR. FETCH txn_ind_tsp_csr INTO l_txn_ind_tablespace.fnd_tablespaces ft. 6514556 Fax.fnd_tablespaces WHERE tablespace_type = 'TRANSACTION_INDEXES' . end if. if txn_tsp_csr%NOTFOUND then raise_application_error(-20001. l_txn_tablespace VARCHAR2(30). CLOSE txn_ind_tsp_csr.'). end if. 'Error: Tablespace ' ||l_txn_ind_tablespace||' does not exist. l_txn_ind_tablespace VARCHAR2(30). 'Tablespace of type TRANSACTION_INDEXES is not present in FND_TABLESPACES table. 'Error: Tablespace '||l_txn_tablespace||' does not exist. Box 136513 Jeddah 21313 K.'). FOR usr_rec IN usr_csr LOOP 07/04/2015 Page 149 of .S. CURSOR tsp_csr IS SELECT ft. if l_count_tab_spc_rows <= 0 then raise_application_error(-20001. 'Tablespace of type TRANSACTION_TABLES is n ot present in FND_TABLESPACES table. if txn_ind_tsp_csr%NOTFOUND then raise_application_error(-20001. 146883 Tel. CLOSE txn_tsp_csr. P.'). l_count_tab_spc_rows number. 6531218 FROM apps. ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 l_string := 'ALTER USER '||usr_rec.oracle_username||' DEFAULT TABLESPACE '||l_txn_tablespace; EXECUTE IMMEDIATE l_string; END LOOP; UPDATE apps.fnd_product_installations SET tablespace = l_txn_tablespace, index_tablespace = l_txn_ind_tablespace; END; / DECLARE cursor fnd_ins_cur is select distinct fou.oracle_username, ft.tablespace from apps.fnd_oracle_userid fou, apps.fnd_tablespaces ft where read_only_flag in ('E', 'A', 'U') order by fou.oracle_username; l_fnd_tb apps.FND_TABLESPACES.TABLESPACE%type; l_count number; stmt varchar2(4000); begin select count(*) into l_count from apps.fnd_tablespaces; if l_count =0 then raise_application_error(-20001, 'No data in FND_TABLSPACES. Please make sure all priious scripts have been run.'); end if; for fnd_ins_rec in fnd_ins_cur loop stmt := 'ALTER USER '||fnd_ins_rec.oracle_username|| ' QUOTA UNLIMITED ON '||fnd_ins_rec.tablespace; execute immediate stmt; end loop; exception when no_data_found then raise_application_error(-20001, 'No data in FND_TABLSPACES.'); when others then raise_application_error(-20000, sqlerrm || 'Error while '|| 'altering user to grant unlimited quota.'); end; 07/04/2015 Page 150 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 / spool off DECLARE upd_fpg varchar2(300); col_not_exist exception; pragma exception_init(col_not_exist, -904); begin UPDATE apps.fnd_product_groups SET is_new_ts_mode = 'Y'; exception when col_not_exist then raise_application_error(-20000, sqlerrm || ' :Your DB is missing is_new_ts_mode column in fnd_product_groups'|| ' table. You must be on AD.I or later version of AD.'); when others then raise_application_error(-20000, sqlerrm || ' :Error updating FPG column'); end; / commit; exit 07/04/2015 Page 151 of ADVANCED OPERATIONS TECHNOLOGY INC. P.O. Box 136513 Jeddah 21313 K.S.A CR. 146883 Tel. 6514556 Fax. 6531218 APPENDIX B : Database Patch 6613550 Installing Oracle Database on AIX 6.1 You must install Oracle Database Patch 6613550, Oracle Database 10.2.0.1, and Oracle Database Patch set 10.2.0.3 to proceed with the installation on AIX 6L. The following section lists all the installation steps: 1. Download patch 6613550: a. Log on to OracleMetaLink. You must have a valid OracleMetaLink Support Identifier (CSI) for it. Refer to https://metalink.oracle.com/ for more information. b. Enter 6613550 in the Quick Find field, click Go. c. Download patch 6613550 into a temporary directory on your computer. d. Switch user to root: e. $ su f. password: g. # h. Unzip the files of this patch into /temp folder: i. cd /temp j. Run the rootpre.sh script as follows: k. # ./rootpre.sh 2. 3. Set the LANG parameter to C for the remaining steps, as follows: o Bourne shell (sh), or Korn shell (ksh), or Bash shell (bash): o $LANG=C o C shell (csh): o % setenv LANG C Install Oracle Database 10.2.0.1: . Run Oracle Universal Installer with -ignoreSysPrereqs option: a. $ ./runInstaller -ignoreSysPrereqs 07/04/2015 Page 152 of O. check the following errors as user specified to continue with the installation:  Checking operating system requirements  Checking recommended operating system patches d. select Enterprise Edition installation type. 07/04/2015 Page 153 of .S. 4.0. select Install Database Software only option. Refer to metalink note 316900. In the Select Installation Type screen. $ .A CR. 6531218 b. and other known issues. install. 146883 Tel.ADVANCED OPERATIONS TECHNOLOGY INC. 6514556 Fax. c.3. P. To install Patch Set Release 10.2./runInstaller -ignoreSysPrereqs You must refer to patch set release note for preinstall. In the Select Configuration Option screen. Box 136513 Jeddah 21313 K. In the Product-specific Prerequisites Checks page. run Oracle Universal Installer with -ignoreSysPrereqs option as follows: 5.1 for more information. postinstall. A CR.nls_territory='america' *.parallel_min_servers=0 *.java_pool_size=67108864 *.query_rewrite_enabled='true' *.0/admin/PREPROD_hrdev/bdump' *.2.optimizer_features_enable='10. P.nls_date_format='DD-MON-RR' *.session_max_open_files=20 *. 146883 Tel.2.2.log_checkpoint_timeout=1200 *.O7_DICTIONARY_ACCESSIBILITY=TRUE *.db_block_checking='FALSE' *.dml_locks=10000 *.dbf'.nls_comp='binary' *.control_files='/u03/oracle/proddata/cntrl01.ora *.cursor_sharing='EXACT' *.dbf'.db_block_size=8192 *.'/u04/oracle/proddata/cntrl02.nls_length_semantics='BYTE' *.shared_pool_reserved_size=30000000 *..sessions=400 *.nls_numeric_characters='.large_pool_size=8388608 *.db_block_checksum='TRUE' *.0/admin/PREPROD_hrdev/cdump' *.dbf' *.nls_language='american' *.'/u03/or acle/proddata/cntrl03.ADVANCED OPERATIONS TECHNOLOGY INC.shared_pool_size=301989888 *.db_cache_size=167772160 *.background_dump_dest='/u02/oracle/proddb/10.4' *.processes=200 *.db_name='PREPROD' *.session_cached_cursors=200 *.db_files=512 *.open_cursors=600 *. 6514556 Fax.log_checkpoint_interval=100000 *.db_file_multiblock_read_count=8 *.' *.S.job_queue_processes=2 *.aq_tm_processes=1 *.olap_page_pool_size=4194304 *.2.core_dump_dest='/u02/oracle/proddb/10. Box 136513 Jeddah 21313 K. 6531218 APPENDIX C : 10g Initialization Parameter File //initPREPROD.streams_pool_size=50331648 07/04/2015 Page 154 of .max_dump_file_size='20480' *.parallel_max_servers=8 *.log_checkpoints_to_alert=TRUE *.compatible='10.log_buffer=10485760 *.0' *.0.O.nls_sort='binary' *.pga_aggregate_target=1073741824 *. A CR.undo_tablespace='APPS_UNDOTS1' *.'/usr/tmp'. Box 136513 Jeddah 21313 K.O.S.2.undo_management='AUTO' *.timed_statistics=TRUE *.0/admin/PREPROD_hrdev/udump' *.'/u02/oracle/proddb/10.user_dump_dest='/u02/oracle/proddb/10.ADVANCED OPERATIONS TECHNOLOGY INC.workarea_size_policy='AUTO' 07/04/2015 Page 155 of .undo_retention=1800 *. 146883 Tel.'/usr/tmp' *.2. P.utl_file_dir='/usr/tmp'.0/appsutil/outbound/PREPROD _hrdev'. 6514556 Fax. 6531218 *. 2.0/PREPROD_hrdev.S.2 . 6531218 APPENDIX D : . export ORACLE_HOME=/u02/oracle/proddb/10.O.2.0/admin/PREPROD_hrdev/bdump .profile Database . /u02/oracle/proddb/9. In normal then echo "$MAILMSG" # operation. the Shell checks fi # periodically.0/appsutil/scripts/PREPROD_hrdev #export SCRIPTS #================TSM entry======== #export LD_LIBRARY_PATH=$ORACLE_HOME/lib #export ORACLE_BDUMP=/u02/oracle/proddb/9. 146883 Tel.0/OPatch export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib export PERL5LIB=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl export ORA_NLS10=$ORACLE_HOME/nls/data/9idata export TNS_ADMIN=$ORACLE_HOME/network/admin/PREPROD_hrdev 07/04/2015 Page 156 of .0 #export ORACLE_SID=DEV #.profile $ su – oradev $ vi .profile PATH=/usr/bin:/etc:/usr/vac/bin:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin: .2. Box 136513 Jeddah 21313 K.env if [ -s "$MAIL" ] # This is at Shell startup.2.0 export ORACLE_SID=PREPROD export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin: $PATH:/u02/oracle/proddb/10.env #SCRIPTS=/u02/oracle/proddb/9.ADVANCED OPERATIONS TECHNOLOGY INC. P. /u02/oracle/proddb/10.0/PREPROD_hrdev.2. 6514556 Fax.A CR.2. export PATH set -o vi #export ORACLE_HOME=/u02/oracle/proddb/9. /u06/oracle/apps/apps_st/appl/APPSPREPROD_hrdev.16.23.0 if [ -s "$MAIL" ] # This is at Shell startup. 6514556 Fax. In normal then echo "$MAILMSG" # operation.profile PATH=/usr/bin:/etc:/usr/vac/bin:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin: .ADVANCED OPERATIONS TECHNOLOGY INC. 07/04/2015 Page 157 of .env #SCRIPTS=/u01/oracle/prodcomn/admin/scripts/PREPROD_hrdev #export SCRIPTS #export APACHE_ERROR_LOG=/u01/oracle/prodora/iAS/Apache/Apache/logs #export ORACLE_BDUMP=/u02/oracle/proddb/9.A CR.2. 6531218 Application Tier . /u01/oracle/prodappl/APPSORA.0/admin/DEV_fincl1clone/bdump #export iAS_ORACLE_HOME=/u01/oracle/prodora/iAS alias rm='rm -i' . the Shell checks fi # periodically.S. 146883 Tel.O. set -o vi export PATH set -o vi #. Box 136513 Jeddah 21313 K.env export LDR_CTRNL=MAXDATA=0x40000000 #export DISPLAY=10.128:0. P. A CR.drv Cannot execute registration of Applications Techstack RW-50010: Error: . Box 136513 Jeddah 21313 K. 6531218 APPENDIX E : RW-50004 RW-50004 $ vi /u06/oracle/inst/apps/PREPROD_hrdev/logs/04170202.script has returned an error: 1 RW-50004: Error code received when running external process. 6514556 Fax.log 6% completed RC-50004: Fatal: Error occurred in ApplyAppsTechStack: RC-50013: Fatal: Failed to instantiate driver /u06/oracle/apps/tech_st/10.2/appsutil/driver/regclone.1. P. 146883 Tel.log 07/04/2015 Page 158 of .ADVANCED OPERATIONS TECHNOLOGY INC.S. Check log file for details. Running APPL_TOP Install Driver for PREPROD instance Please refer to the remaining logs on applications node at /u06/oracle/inst/apps/PREPROD_hrdev/logs/04170202.O.
Copyright © 2024 DOKUMEN.SITE Inc.