Documente Academic
Documente Profesional
Documente Cultură
1 / 54
2 / 54
3 / 54
4 / 54
5 / 54
6 / 54
7 / 54
8 / 54
ii) Patch 5495695 : APPSST9208: SQL*PLUS EXITS WITH O/S MESSAGE: NO SUCH FILE
OR DIRECTORY
% cd 5495695
% opatch apply
% mv $ORACLE_HOME/sqlplus/lib/sqlplus $ORACLE_HOME/bin/sqlplus
9 / 54
10 / 54
$ ./adstpal.sh apps/apps
Step 2: Install the Developer 6i Patch 6194129
The patch will be applied to 8.0.6 ORACLE_HOME.
$ echo $ORACLE_HOME
/u01/app/oracle/testdbora/8.0.6
Prepend $ORACLE_HOME/bin to the *beginning* of PATH
$ export PATH=/u01/app/oracle/testdbora/8.0.6/bin:$PATH
Prepend $ORACLE_HOME/lib to the *beginning* of LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=/u01/app/oracle/testdbora/8.0.6/lib:$LD_LIBRARY_PATH
Copy the files in this patch to your $ORACLE_HOME.
Unzip the patch using unzip on Unix.
Run the install script contained in the patch:
cd $ORACLE_HOME/developer6i_patch19
./patch_install.sh 2>&1 | tee patch_install_p19.log
Check patch_install_p19.log for errors.
Relink Procedure Builder, Forms, Graphics and Reports:
cd $ORACLE_HOME/procbuilder60/lib; make -f ins_procbuilder.mk install
cd $ORACLE_HOME/forms60/lib; make -f ins_forms60w.mk install
cd $ORACLE_HOME/graphics60/lib; make -f ins_graphics60w.mk install
Reports has both link-time and run-time dependency with libjava.so so you need to append
$ORACLE_HOME/network/jre11/lib/linux/native_threads in $LD_LIBRARY_PATH before linking
Reports.
The same $LD_LIBRARY_PATH should be used at run-time.
cd $ORACLE_HOME/reports60/lib; make -f ins_reports60w.mk install
Step 3: Install the Additional Developer 6i Patches
Patch 16699473
Copy the patch file within your 6i ORACLE_HOME and unzip this file
within it to create a new subdirectory. You will be able to see the
folder 16699473 which contains the actual one-off files.
%cd $ORACLE_HOME
%unzip p16699473_60828_LINUX.zip
Install the patch
%cd 16699473
% sh patch.sh
11 / 54
Unzip the java class files and regenerate your JAR files
Please run below script to take backup of the class files.
%cd $ORACLE_HOME/16699473
% sh backup.sh
Please run below script to copy all files to $ORACLE_HOME with respective location.
%cd $ORACLE_HOME/16699473
% sh copy_files.sh
For ewt3.jar please follow these additional steps:
i. Backup the Forms java subtree and extract the changed files
% cd $ORACLE_HOME/forms60/java
% cp -r oracle/ewt oracle/ewt.PREBUG16699473
% jar -xvf $ORACLE_HOME/16699473/ewt3.jar
% rm META-INF/MANIFEST.MF
% rmdir META-INF
ii. Verify that the EWT version has been updated under the
$ORACLE_HOME/forms60/java directory.
For example:
% ls -la oracle/ewt | grep 3_4_49
iii. Now regenerate jar files using adadmin.
Run adrelink.
E.g. to relink f60webmx for Oracle Applications:
% adrelink.sh force=y "fnd f60webmx"
Patch 9094950 may also be required if not applied previously
Patch 3830807
% cd 3830807
Add execute permission to the script supplied in this patch
% chmod u+x patch.sh
Check the value of LD_LIBRARY_PATH.
#
# This patch will relink reports60 binaries.
#
# Reports has both link-time and run-time dependency with libjava.so
# so you need to include
# $ORACLE_HOME/
network/jre11/lib/linux/native_threads OR
# $ORACLE_HOME/network/jre11/lib/i686/native_threads
12 / 54
Now INSTALL
13 / 54
14 / 54
15 / 54
16 / 54
17 / 54
PRE-STEP:
1. Create $ORACLE_HOME/appsutil/admin on the database server.
2. Copy adgrants.sql (UNIX) from this patch directory to
$ORACLE_HOME/appsutil/admin.
Or, copy adgrants_nt.sql (Windows) from this patch directory to
%ORACLE_HOME%\appsutil\admin.
3. Set the environment to point to ORACLE_HOME on the database server.
4. Use SQL*Plus to run the script:
UNIX:
$ sqlplus /nolog
SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql
Now apply patch using adpatch
5) 6241631: Oracle Applications Technology 11i.ATG_PF.H.delta.7 (RUP 7)
PRE-STEPS
Requires 9iR2 (terminal patchset only, 9.2.0.8) already done.
latest version of AD minipack I.7 already done
required below pre-req mini pack patches:
3218526 - BNE: Patch 11i.BNE.D
4206794 - FRM: Patch 11i.FRM.
5.1) 3218526 - BNE: Patch 11i.BNE.D
Pre-Steps
Patch 3757164: INPUT FILTERING ONE-OFF FOR FND
Patch 2278688: Oracle Self Service Framework Version 5.6E
Patch 3358500: SSO Pre-Req for Applications Products Rollup E
Patch 2565888: AOL Java rollup patch H.1 to replace rollup H
Patch 2666624: FNDJAR.DEP Pre-req needed for changes to JAR files: FNDSEC.JAR and
FNDCCT.JAR
Patch 4252319: LANGUAGE FILE SETUP FOR BNE.D Patch 3218526
All patches except 4252319 are ALREADY APPLIED
5.1.1) Patch 4291053: LANGUAGE FILE SETUP FOR BNE.D(3218526)
4252319 is superseded by this patch.
Apply using adpatch
Post Steps:
Run AD Administration on the administration server node. From the Maintain
Application Database Objects menu, perform the following.,
a. Compile APPS schema(s)
b. Compile flexfield data in AOL tables
Now apply base patch 3218526
Use AutoPatch to apply the u3218526.drv driver file
18 / 54
Post Steps
Run AD Administration on the administration server node. From the Maintain Application
Database Objects menu, perform the following:
a. Compile APPS schema(s).
b. Compile flexfield data in AOL tables.
Some other functional steps as mentioned in "WebADI - About Web Applications Desktop
Integrator Mini-pack 11i.BNE.D (Doc ID 287080.1)"
5.2) 4206794 - FRM: Patch 11i.FRM.H
PRE-STEPS
4125550 - ATG 11.5.10 CU2 for ATG Product family
3218526 - BNE Patch 11i.BNE.D
3761838 - FRM Patch 11i.FRM.G
3761838 need to be applied.
Note: Although Oracle Report Manager Minipack 11i.FRM.H also contains the changes included
in Oracle Report Manager Minipack 11i.FRM.G, for confirmation purposes Oracle recommends
applying 11i.FRM.G as a prerequisite before applying 11i.FRM.H. If you have already installed
11i.FRM.G, do not remove it; instead, apply 11i.FRM.H on top of 11i.FRM.G.
5.2.1) 3761838 - FRM Patch 11i.FRM.G
PRE-REQ PATCHES
5.2.1.1) RG-3854951: FSG XML PUBLISHER DELIVERY
No pre req or post req steps. Apply using adpatch.
Now apply base patch 3761838
Post steps
you must then do the following using the adadmin utility, in the order listed below.
Generate message files
Compile APPS schema(s)
Compile flexfield data
Recreate grants and synonyms for APPS schema(s)
Remove image cache files within directory "$OA_HTML/cabo/images/cache" and style sheet
cache files within directory "$OA_HTML/cabo/styles/cache" after the patch is successfully
applied.
IMPORTANT: Change the permissions to 777 on the directories and $OA_HTML/cabo/styles,
so that they are writable by the user who owns the apache process.
Now apply base patch 4206794
Use AutoPatch to apply the u4206794.drv driver file
POST STEPS:
19 / 54
After applying the unified driver, use AD Administration (adadmin) to compile menu information.
In all cases, next you must do the following using the adadmin utility, in the order listed below.
Generate message files
Compile APPS schema(s)
Compile flexfield data
Recreate grants and synonyms for APPS schema(s)
To ensure optimal performance on Cost Based Optimizer (CBO), you should re-analyze your
application schemas after applying large patches. Execute the concurrent program Gather
Schema Statistics from the System Administrator responsibility and choose ALL schemas.
Depending upon the size of your database, this job may take several hours. However, users
can use the applications while this job is running.
Remove image cache files within directory "$OA_HTML/cabo/images/cache" and style sheet
cache files within directory "$OA_HTML/cabo/styles/cache" after the patch is successfully
applied.
IMPORTANT: Change the permissions to 777 on the directories $OA_HTML/cabo/images and
$OA_HTML/cabo/styles, so that they are writable by the user who owns the apache process.
Apply Post-install Co-requisite Patch (Required)
Apply the following patch.
3854951 - RG FSG XML Publisher Delivery
(ALREADY PRESENT)
Now apply base patch 6241631: Oracle Applications Technology 11i.ATG_PF.H.delta.7 (RUP
7)
PRE-STEPS
Executing the Technology Stack Validation Utility is a mandatory step before you upgrade to
Oracle Applications Technology 11i.ATG_PF.H.delta.7 (RUP7), as this utility lists further
mandatory pre-upgrade steps for your specific instance, such as upgrading to the minimum
required version of Java 5 and other technologies.
In your operating system file system, navigate to the directory where you have unzipped these
Applications Technology Updates
1. Establish the needed environment parameters by sourcing the Applications environment file
as the owner of the application tier file system.
2. Ensure "APPLRGF" variable is set in environment. If not, set it to the same value as
"APPLTMP".
3. From the location where this patch was unzipped, change directory to fnd/patch/115/bin.
4. Run the utility as follows:
./txkprepatchcheck.pl -script=ValidateRollup -outfile=$APPLTMP/txkValidateRollup.html
-appspass=apps
The utility will produce an HTML report. Review and perform any required actions before
proceeding with the Applications Technology Updates.
20 / 54
21 / 54
22 / 54
23 / 54
24 / 54
25 / 54
26 / 54
27 / 54
28 / 54
29 / 54
30 / 54
31 / 54
32 / 54
Click install, run root.sh script when it asks to and click finish in the end.
33 / 54
34 / 54
CREATE TABLE
ALTER SESSION
CREATE CLUSTER
CREATE SYNONYM
CREATE SEQUENCE
CREATE DATABASE LINK
So you need to re-grant these privileges to users who have connect role after upgrade to 11g.
This SQL will help you just save the result in somewhere to run it after the upgrade:
SQL> set linesize 170
SQL> set pages 100
SQL> spool connect_role.sql
SQL> SELECT 'grant CREATE VIEW,CREATE TABLE,ALTER SESSION,CREATE
CLUSTER,CREATE SYNONYM,CREATE SEQUENCE to '||grantee||';'
FROM dba_role_privs WHERE granted_role = 'CONNECT' AND grantee
NOT IN ('SYS', 'OUTLN', 'SYSTEM', 'CTXSYS', 'DBSNMP','LOGSTDBY_ADMINISTRATOR',
'ORDSYS','ORDPLUGINS', 'OEM_MONITOR', 'WKSYS', 'WKPROXY','WK_TEST',
'WKUSER', 'MDSYS', 'LBACSYS', 'DMSYS','WMSYS', 'OLAPDBA', 'OLAPSVR',
'OLAP_USER','OLAPSYS', 'EXFSYS', 'SYSMAN', 'MDDATA','SI_INFORMTN_SCHEMA',
'XDB', 'ODM');
SQL> spool off
35 / 54
SQL> @utlu112i.sql
utltzuv2.sql
Correct anything required as per generated report.
36 / 54
Script Creation:
Following code creates a script called analyze.sql
Set verify off
Set space 0
Set line 120
Set heading off
Set feedback off
Set pages 1000
Spool analyze.sql
SELECT 'Analyze cluster "'||cluster_name||'" validate structure cascade;'
FROM dba_clusters
WHERE owner='SYS'
UNION
SELECT 'Analyze table "'||table_name||'" validate structure cascade;'
FROM dba_tables
WHERE owner='SYS'
AND partitioned='NO'
AND (iot_type='IOT' OR iot_type is NULL)
UNION
SELECT 'Analyze table "'||table_name||'" validate structure cascade into invalid_rows;'
FROM dba_tables
WHERE owner='SYS'
AND partitioned='YES';
spool off
Run the following scripts for Dictionary checking:
SQL> @$ORACLE_HOME/rdbms/admin/utlvalid.sql
SQL> @analyze.sql
37 / 54
23. Ensure the users sys and system have 'system' as their
default tablespace.
SQL> SELECT username, default_tablespace
FROM dba_users
WHERE username in ('SYS','SYSTEM');
38 / 54
39 / 54
40 / 54
41 / 54
42 / 54
43 / 54
Final Actions
. 00:04:39
Total Upgrade Time: 02:32:10
PL/SQL procedure successfully completed.
You can ignore ORA-01408: such column list already indexed as shown in output.
Check components in dba_registry for status VALID
set lines 150 pages 500
column COMP_NAME format a45
column version format a15
column status format a12
SQL> select comp_name,version,status from dba_registry;
COMP_NAME VERSION STATUS
--------------------------------------------- --------------- -----------Oracle XML Database 11.2.0.4.0 VALID
Oracle Data Mining 11.2.0.4.0 VALID
OLAP Catalog 11.2.0.4.0 VALID
Oracle Text 11.2.0.4.0 VALID
Spatial 11.2.0.4.0 VALID
Oracle Multimedia 11.2.0.4.0 VALID
Oracle Database Catalog Views 11.2.0.4.0 VALID
Oracle Database Packages and Types 11.2.0.4.0 VALID
JServer JAVA Virtual Machine 11.2.0.4.0 VALID
Oracle Database Java Packages 11.2.0.4.0 VALID
Oracle XDK 11.2.0.4.0 VALID
Oracle Real Application Clusters 11.2.0.4.0 INVALID
OLAP Analytic Workspace 11.2.0.4.0 VALID
Oracle OLAP API 11.2.0.4.0 VALID
14 ows selected.
C) Run dbupgdiag.sql
Check for the integrity of the upgraded database by running dbupgdiag.sql script
Note 556610.1 Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql)
If the dbupgdiag.sql script reports any invalid objects, run
$ORACLE_HOME/rdbms/admin/utlrp.sql (next step)
After validating the invalid objects, re-run dbupgdiag.sql in the upgraded database once again
and make sure that everything is fine.
D) Run utlrp.sql
44 / 54
45 / 54
46 / 54
No errors.
No errors.
No errors.
No errors.
.. creating System Triggers for Expression Filter management
No errors.
.. installing Expression Filter indextype and operators
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
SQL>
If the query does not return AMD, then you do not have OLAP installed. To install OLAP, use
SQL*Plus to connect to the database as SYSDBA and run the following command:
SQL> select comp_id from dba_registry where comp_id in ('AMD','EXF');
COMP_ID
-----------------------------EXF
AMD
SQL> connect / as sysdba;
SQL> @$ORACLE_HOME/olap/admin/olap.sql SYSAUX TEMP
47 / 54
"CS"."CS_KB_ELEMENTS_TL_N2"
"CS"."CS_KB_SETS_TL_N3"
"CS"."CS_KB_SOLN_CAT_TL_N1"
"CS"."SUMMARY_CTX_INDEX"
"ICX"."ICX_QUES_CTX"
Migrate KOREAN_LEXER to KOREAN_MORPH_LEXER
Rebuild all indexes that use korean lexer as top level lexer:
Reindex all documents that use KOREAN_LEXER as sub lexer
reindexing : "CS"."CS_FORUM_MESSAGES_TL" finished.
reindexing : "CS"."CS_INCIDENTS_ALL_TL" finished.
reindexing : "CS"."CS_KB_ELEMENTS_TL" finished.
reindexing : "CS"."CS_KB_SETS_TL" finished.
reindexing : "CS"."CS_KB_SOLN_CATEGORIES_TL" finished.
reindexing : "CS"."CS_INCIDENTS_ALL_TL" finished.
reindexing : "ICX"."ICX_QUESTIONS_TL" finished.
48 / 54
Use SQL*Plus to connect to the database as SYSDBA and run the following command:
$ sqlplus "/ as sysdba"
SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public');
49 / 54
50 / 54
51 / 54
http://r12upg.localdomain:8002/OA_HTML/jsp/fnd/aoljtest.jsp
Also,
$ADJVAPRG -version
echo $CLASSPATH
$AFJVAPRG -version
echo $AF_CLASSPATH
52 / 54
53 / 54
54 / 54
Powered by TCPDF (www.tcpdf.org)