Skip Headers
 
 

Oracle® Database

Critical Patch Update Note

Release 10.2.0.1 for UNIX

 

Released: October 17, 2006

This document includes the following sections:


Note:

This document is accurate at the time of release. You can access the latest information about this critical patch update in OracleMetaLink Note 391571.1 Oracle Critical Patch Update October 2006 Known Issues for Oracle Database. The note is available at

https://www.metalink.oracle.com/


1 Getting Started

You should administer one Oracle product, one Oracle home at a time, for its particular Critical Patch Update October 2006 (CPUOct2006) patch. Each Oracle home will have its own requirements.

Before you can determine which Oracle Application Server and Oracle Database patches to apply, you need to make a list of all of the Oracle products you need to patch. For all Oracle Application Server installations, you should note if there is Oracle Database installed with it, as is the case with Oracle Application Server 10g (9.0.4) and release 2 (10.1.2) infrastructures. Having a list of all Oracle Application Server and Oracle Database installations with their full release numbers will help you determine the correct patch for each Oracle home.

The CPUOct2006 patches are bundled for each Oracle home installation type, to be installed on one Oracle home at a time. In some cases, a component may not be installed in a particular Oracle home. You can run Oracle Inventory or Oracle Universal Installer to determine which components and releases are installed in an Oracle Application Server Oracle home. The critical patch update includes patches for all components that need to be patched for all possible installation types. There is a separately bundled patch for infrastructure and middle-tier Oracle home types. If a component is installed on the system, even if the component is not used, its presence can make the application server vulnerable. Therefore, all existing components must be patched.

After you have read the CPUOct2006 documentation and collected your product information, you need to prioritize all of the systems you need to update. Plan to update systems that have the highest risk first. For example, start with systems that are external to a firewall before updating systems within an internal network.


Note:

All application server installations accessed through a firewall should be considered externally accessible.

2 Patch Information

Critical patch update (CPU) patches are cumulative, which means fixes from previous Oracle security alerts and critical patch updates are included. It is not required to have previous security patches applied before applying the CPUOct2006 patches. However, you must be on the stated patch set level for a given product home before applying the CPUOct2006 patches for that release.

Unless otherwise stated, a patch for the Oracle Application Server middle tier home will apply to all installation types of that release, such as J2EE and Web Cache, Portal and Wireless, Business Intelligence and Forms, standalone Forms and Reports, as well as standalone Oracle Application Server Containers for J2EE (OC4J) and OracleAS Web Cache.

Ensure that you review all patches to apply, and the releases that those patches apply to before you start installing any patches. Ensure that all tiers are at the correct release level before starting to apply CPU patches.

If assistance is required from Oracle Global Product Support, then provide complete information for the products being patched. Because you are administering one Oracle product, one Oracle home at a time for its one CPUOct2006 patch, there is generally one Support Service Request per Oracle home.


Note:

Client-only and Instant Client Installations
  • Client-only Installations: Refer to OracleMetaLink Note 391558.1 Oracle Critical Patch Update October 2006 Advisory in sections "Client-only Installation" and "Risk Matrix" (Vuln# DBC01) to determine the impact to your installation. Do not open a service request to Support for additional information on the vulnerabilities. The information in the advisory is the only information available.

  • Instant Client Installations: The Instant Client Installation is not the same as the Client-only Installation. Client-only Installations employ Oracle Universal Installer to install Administrator or Runtime types of installations. An Instant Client Installation manually copies files to ORACLE_HOME. This patch cannot be applied to Instant Client Installations because the instant client is not installed with Oracle Universal Installer; therefore, there is no Inventory, which is required by OPatch. This Critical Patch Update is currently unavailable for Instant Client Installations. Do not open a service request to Oracle support for additional information on vulnerabilities. For additional information on Instant Client Installations, refer to Oracle Database Concepts.


2.1 Bugs Fixed by This Patch

This patch fixes the following bugs.

5490846 - MLR BUG FOR 10.2.0.1 FOR CPUOCT2006

5490936 - EFFORT REPRESENTATIVE BUG FOR 10.2.0.1 FOR CPUOCT2006

5225798 - MLR FOR 10.2.0.1 FOR CPUJUL2006

5242648 - EFFORT REPRESENTATIVE BUG FOR 10.2.0.1 FOR CPUJUL2006

5049080 - MLR ON TOP OF 10.2.0.1 FOR CPUAPR2006.

5049088 - EFFORT REPRESENTATIVE BUG ON TOP OF 10.2.0.1 FOR CPUAPR2006

4751931 - MLR ON TOP OF 10.2.0.1 FOR CPUJAN2006.

4754888 - EFFORT REPRESENTATIVE BUG FOR 10.2.0.1 FOR CPUJAN2006.

4288876 - APPSST 10103 GSI EXCESSIVE UNDO GENERATION -PROGRAM WITH MASSIVE DELETE/INSERTS

4671216 - ASM OPERATIONS ON A FILE ARE BLOCKED WHILE IT IS RESIZED - MAY CAUSE 2103 INT ER

4348230 - KILLING THE BLOCKER OF A DISTRIBUTED LOCK

4925103 - PSRC WRONG RESULT OCCURS BY USING MAX() FOR NULL DATA AFTER UPGRADED 9.2.0.7

4604970 - WRONG RESULTS WITH 'HASH GROUP BY 'AGGREGATION ENABLED

2.2 Order of Applying Patches

When applying the patches, Oracle recommends that you patch one product release, one Oracle home at a time, as each Oracle home generally has one CPUOct2006 patch, and specific instructions for its release and installation type. If you have multiple Oracle product installations, then the CPU requires that the middle tier and the database tier be patched at the same time, one after the other. This allows the database post-installation scripts to be run before starting and using the middle tier. This is the same requirement for other application databases that are accessed through any Oracle HTTP Server with mod_plsql.

Before patching, completely shutdown all processes within the Oracle home. It is not recommended to restart the Oracle HTTP Server or the middle tier home until all associated database and Metadata Repository homes have been successfully patched and restarted. This is to accommodate any dependency requirements with any database objects in use.

Oracle installations should be patched in the following order:

  1. Any separate/remote database homes that are accessed from Oracle Application Server including a separate Metadata Repository home.

  2. Identity Management and infrastructure homes.

  3. Middle-tier Oracle Application Server homes.


Note:

You must ensure that you complete each step in the preceding order successfully before proceeding to the next installation type. For example, you should not patch any middle-tier home until the remote database homes are successfully patched.

After applying the patches, startup the installations as follows:

  1. Oracle Databases

  2. Oracle Application Server Infrastructure

  3. Oracle Identity Management-only installations, if any

  4. Oracle Application Server middle tiers

In larger topologies, where sequential patching may be required, you should ensure all databases accessed from an Oracle HTTP Server are patched before applying patches to the Oracle HTTP Server or Oracle Application Server. This is to ensure all database post-installation scripts are run before starting and using an Oracle HTTP Server that may access and use database installed packages.

If there are multiple database instances running from the same Oracle home, then you must run the post-installation scripts in each instance. While running the post-installation scripts on the database, many packages are updated to the latest release for the set of installed packages. The script will detect and install what is necessary.

3 Patch Installation Procedures for Oracle Database Release 10.2.0.1

This section includes the following sections:

3.1 Platforms and Components for Patch 5490846 for Oracle Database Release 10.2.0.1

Patch 5490846 applies to the following platforms and components:

  • Patch for Platforms:

    • AIX 5L Based Systems

    • HP Itanium (64-Bit)

    • HP-UX PA-RISC

    • Linux Itanium

    • Linux on POWER

    • Linux x86

    • Linux x86-64

    • Solaris Operating System (SPARC 64-Bit)

    • Solaris Operating System (SPARC x86)

  • Product Release: Release 10.2.0.1

  • Product Patched: Oracle Database

  • Components Patched:

    • mod_plsql

    • Oracle Context

    • Oracle Network Manager

You must have Perl 5.00503 (or later) installed under the ORACLE_HOME, or elsewhere within the host environment.

3.2 OPatch Utility Information

You must use the OPatch utility release 10.2.0.1.2. You can download it from OracleMetaLink with patch 4898608.

Prior to the patch installation, the following checks are performed

  • Conflicts with other patches

  • Conflicts with subset patches (existing patch is a subset of the patch being installed)

If a conflict is found, then stop the installation and contact Oracle Support Services.

If a subset is found, then continue the installation. All fixes for the subset patch are included in the patch being installed. The subset patches will be automatically rolled back prior to the installation of the new patch.

If the Oracle inventory is not setup correctly this utility will fail. To check accessibility to the inventory you can use the command

    % opatch lsinventory

3.3 Patch Installation Instructions for Oracle Database Release 10.2.0.1

These instructions are for both Non-RAC environments and RAC environments.

3.3.1 Patch Installation Instructions for a Non-RAC Environment

Follow these steps:

  1. Ensure that your Oracle Database installation is the same release for which you are applying this patch. In other words, only apply the Release 10.2.0.1 CPUOct2006 patch to an Oracle Database Release 10.2.0.1.

  2. Review Section 4, "Known Issues" before proceeding with this installation.

  3. Shut down all instances and listeners associated with the Oracle home that you are updating. For more information, see Oracle Database Administrator's Guide.

  4. Ensure that the $PATH has the following executables: make, ar, ld, and nm.

    The location of these executables depends on your operating system. On many operating systems, they are located in /usr/ccs/bin, in which case you can set your PATH as follows:

    export PATH=$PATH:/usr/ccs/bin
    
    
  5. Check whether the java and jar executables are present in your Oracle home.

    In a standard Oracle installation, java is available in $ORACLE_BASE/jre/JDK version/bin directory and jar is available in $ORACLE_HOME/jdk/bin directory. By default, the OPatch utility uses the executables from these locations. However, if they are located elsewhere, you can use the opatch apply command with the -jdk flag, and then specify the full path to the JDK to be used. For more information, refer to OPatch User's Guide, which is available with the OPatch utility distribution.

  6. On Linux platforms where the kernel release is greater than 2.4, set the LD_ASSUME_KERNEL environment variable as follows:

    export LD_ASSUME_KERNEL=2.4.19
    
    

    Failure to do this may result in the following error when running OPatch:

    java.lang.UnsatisfiedLinkError
    
    
  7. Set your current directory to the directory where the patch is located and then run the OPatch utility by entering the following command:

    cd 5490846
    opatch apply
    
    
  8. If there are errors, refer to Section 4, "Known Issues".

3.3.2 Post Installation Instructions for a Non-RAC Environment

Follow these steps:

  1. Start all database instances running from the Oracle home that you are patching.

  2. For each database instance running of the Oracle home being patched, connect to the database using SQL*Plus. Connect as SYSDBA and run the catcpu.sql script as follows:

    (Due to changes in the installation scripts, it is no longer a requirement to startup the database in MIGRATE mode.)

    cd $ORACLE_HOME/cpu/CPUOct2006
    sqlplus /nolog
    SQL> CONNECT /AS SYSDBA
    SQL> STARTUP
    SQL> @catcpu.sql
    SQL> QUIT
    
  3. Check the log file for any errors. If there are errors, refer to Section 4, "Known Issues".

  4. If catcpu.sql reports any Invalid Objects, run the following commands:


    Note:

    For large numbers of objects, this compilation step can take some time. If you are applying this patch through the Enterprise Manager console, you will be prompted to run this compilation script.

    cd $ORACLE_HOME/rdbms/admin
    sqlplus /nolog
    SQL> CONNECT /AS SYSDBA
    SQL> STARTUP
    SQL> @utlrp.sql
    
    

    You can check for any invalid objects by executing following statement:

    SQL> SELECT OBJECT_NAME FROM DBA_OBJECTS WHERE STATUS= 'INVALID';
    
    

3.3.3 Patch Installation Instructions for a RAC Environment

Follow these steps:

  1. Shut down the instance on one node.

  2. Shut down all nodeapps services on the node in step 1:

    srvctl stop nodeapps -n <node-name>
    
    
  3. Apply patch on the node in step 1.

    Set your current directory to the directory where the patch is located and then run OPatch by entering the following command:

    cd 5490846
    opatch apply -local
    
    

    If there are errors, refer to Section 4, "Known Issues".

  4. Start the instance on the node in step 1.

  5. Start all nodeapps services on the node in step 1:

    srvctl start nodeapps -n <node-name>
    
    
  6. Shut down the instance on the next node.

  7. Repeat steps 1-6 on all the nodes in the cluster.

3.3.4 Post Installation Instructions for a RAC Environment

Select one node to execute the post installation steps. Follow the same set of instructions as mentioned in the Section 3.3.2, "Post Installation Instructions for a Non-RAC Environment".

Users can continue to access the database during the post-installation steps.

3.4 Patch Deinstallation Instructions for Oracle Database Release 10.2.0.1

These instructions are for both Non-RAC environments and RAC environments.

3.4.1 Patch Deinstallation Instructions for a Non-RAC Environment

Follow these steps:

  1. Set your current directory to the directory where the patch is located, for example:

    cd 5490846
    
    
  2. Shut down all instances and listeners associated with the Oracle home that you are updating. For more information, see Oracle Database Administrator's Guide.

  3. Run the OPatch utility using the rollback argument. For example:

    opatch rollback -id 5490846
    
    
  4. If there are errors, refer to Section 4, "Known Issues".

3.4.2 Post Deinstallation Instructions for a Non-RAC Environment

Follow these steps:

  1. Start all database instances running from the Oracle home that you had patched. (For more information, see Oracle Database Administrator's Guide.)

  2. For each database instance running out of the ORACLE_HOME that was patched, connect to the database using SQL*Plus as SYSDBA and run catcpu_rollback.sql as follows:

    cd $ORACLE_HOME/cpu/CPUOct2006
    sqlplus /nolog
    SQL> CONNECT / AS SYSDBA
    SQL> STARTUP
    SQL> @catcpu_rollback.sql
    SQL> QUIT
    
    
  3. Inspect the logfile for any errors. If there are any errors, refer to Section 4, "Known Issues".

  4. If catcpu_rollback.sql reports any Invalid Objects, Oracle recommends that you compile the invalid objects as follows:


    Note:

    For large numbers of objects, this compilation step can take some time. If you are applying this patch through the Enterprise Manager console, you will be prompted to run this compilation script.

    cd $ORACLE_HOME/rdbms/admin
    sqlplus /nolog
    SQL> CONNECT / AS SYSDBA
    SQL> STARTUP
    SQL> @utlrp.sql  
    

    You can check for any invalid objects by executing following statement:

    SQL> SELECT OBJECT_NAME FROM DBA_OBJECTS WHERE STATUS = 'INVALID';  
    

3.4.3 Patch Deinstallation Instructions for a RAC Environment

Follow these steps:

  1. Shut down the instance on one node.

  2. Shut down all nodeapps services on the node in step 1:

    srvctl stop nodeapps -n <node-name>
    
  3. Roll back the patch on the node in step 1.

    Set your current directory to the directory where the patch is located, for example:

    cd 5490846
    
    

    Run OPatch using the rollback argument. For example:

    opatch rollback -id 5490846
    
    

    If there are errors, refer to Section 4, "Known Issues".

  4. Start the instance on the node in step 1.

  5. Start all nodeapps services on the node in step 1:

    srvctl start nodeapps -n <node-name>
    
    
  6. Shut down the instance on the next node.

  7. Repeat steps 1-6 on all the nodes in the cluster.

3.4.4 Post Deinstallation Instructions for a RAC Environment

Run the post-deinstall instructions from the same node where you ran the Section 3.4.2, "Post Deinstallation Instructions for a Non-RAC Environment".

Users can start and access all other instances as usual while you are executing the steps from the selected instance.

  1. Restart all nodeapps services on all nodes, one at a time:

    srvctl start nodeapps -n <node-name>
    
    
  2. Restart instances on all nodes.

You do not need to run post installation steps again on other nodes.

4 Known Issues

This section includes the following information:

4.1 Issues Common to All Releases

This section includes issues common to all Oracle Database releases.

4.1.1 Generic Issues

The following are generic issues common to all platforms.

  • Issue 1: While applying the patch, you may see the following error. This error can be ignored.

    ** Starting rebuild for libraries and executables
    rdbms/lib:ins_rdbms.mk:client_sharedlib,ioracle
    make -f ins_rdbms.mk client_sharedlib ioracle
    ... /bin/genclntsh
    basename: too few arguments
    Try 'basename --help' for more information.
    cp: missing file arguments
    Try 'cp --help' for more information.
    Created /.../lib/libclntst9.a
    Patch applied succesfully
    
    
  • Issue 2: While applying the patch, you may see the following error. This error can be ignored.

    *** Starting rebuild for libraries and executables
    rdbms/lib:ins_rdbms.mk:client_sharedlib,ioracle,utilities
    make -f ins_rdbms.mk client_sharedlib ioracle utilities
    /u02/user6/11510/ap666s06ora/iAS/bin/genclntsh
    cp: cannot stat `/DISCARD/': No such file or directory 
    
    
  • Issue 3: While relinking Oracle Internet Directory binaries, you may encounter the following ignorable error:

    mkdir: cannot create directory '<ORACLE_HOME>/bin/oiddcopy': File exists
    make: [inst_servers] Error 1 (ignored)
    
    
  • Issue 4: While rolling back the patch, if you encounter the following prompt, enter N to continue.

    Printing stderr to output (from $ORACLE_HOME/.patch_storage/4201702/make_local.stderr)
    mkdir: Failed to make directory "$ORACLE_HOME/bin/oiddcopy"; File exists
    OPatch encounters the following issues during Make:
    There were problems running make commands.  The errors encounted were:
    ERROR: mv oidldapd $ORACLE_HOME/bin/oidldapd
    mkdir $ORACLE_HOME/bin/oiddcopy
    *** Error code 2 (ignored)
    cp $ORACLE_HOME/bin/oidldapd  $ORACLE_HOME/bin/oiddcopy
    mv oidrepld $ORACLE_HOME/bin/oidrepld  
    chmod 4755 $ORACLE_HOME/bin/oidldapd
    chmod 600 $ORACLE_HOME/bin/oiddcopy/oidldapd
    Do you want to STOP?
    Please respond Y|N >
    
    
  • Issue 5: When linking client_sharedlib you may encounter the following ignorable warning:

    ld: warning: option -o appears more than once, first setting taken
    
    
  • Issue 6: The following ignorable errors may be encountered while running the catcpu.sql and catcpu_rollback.sql scripts (and the sdocpu.sql and sdocpu_rollback.sql scripts, in case you are executing those separately):

    ORA-29809: cannot drop an operator with dependent objects
    ORA-29931: specified association does not exist
    ORA-29830: operator does not exist
    ORA-00942: table or view does not exist
    ORA-00955: name is already used by an existing object
    ORA-01430: column being added already exists in table
    ORA-01432: public synonym to be dropped does not exist
    ORA-01434: private synonym to be dropped does not exist
    ORA-01435: user does not exist
    ORA-01917: user or role 'XDB' does not exist
    ORA-01920: user name '<user-name>' conflicts with another user or role name
    ORA-01921: role name '<role name>' conflicts with another user or role name
    ORA-02303: cannot drop or replace a type with type or table dependents
    ORA-02443: Cannot drop constraint - nonexistent constraint
    ORA-04043: object <object-name> does not exist
    ORA-29832: cannot drop or replace an indextype with dependent indexes
    ORA-29844: duplicate operator name specified 
    ORA-14452: attempt to create, alter or drop an index on temporary table already in use
    ORA-14452: attempt to create, alter or drop an index on temporary table already in use
    ORA-06512: at line <line number>. If this error follow any of above errors, then can be safely ignored.
    
    
  • Issue 7: While running opatch apply, you may see the following prompt, enter N to continue:

    OPatch encounters the following issues during file back-up:
    The following problems were encountered when trying to backup Java class
     files: /nfs/bld/d4/apps/11510/AB4/apps/cpu1db/9.2.0/rdbms/jlib/CDC.jar 
    [ object: Subscription.class ]
    Do you want to continue?
    Please respond Y|N >
    The problem here is that OPatch could not find jdk in the default
    location.
    Rerun 'opatch apply -jdk <local jdk location>' and provide the location
    of the jdk.  
    
    
  • Issue 8: During patch application, if following error is encountered, respond Y:

    Executing the Apply pre-patch script (.../4392423/custom/scripts/pre)...
    The pre patch script returned an error.
    Do you want to STOP?
    Please respond Y|N >
    Y
    Pre-patch script error
    ERROR: OPatch failed because of problems with pre-patch script.
    
    

    Workaround: Run the following commands:

    chmod 755 custom/scripts/pre
    chmod 755 custom/scripts/post
    
    
  • Issue 9: If the NLS_LANG environment variable is set to Japanese_Japan.JA16EUC or Japanese_Japan.JA16SJIS, while executing catcpu.sql (and catcpu_rollback.sql), the following errors may occur:

    SP2-0768: Illegal SPOOL commandSP2-0768: Illegal SPOOL command
    Usage: SPOOL { <file> | OFF | OUT }
    where <file> is file_name[.ext] [CRE[ATE]|REP[LACE]|APP[END]]
    
    

    Workaround: Before running the catcpu.sql or catcpu_rollback.sql scripts, run the following SQL statement to change the nls_language setting:

    SQL>ALTER SESSION SET nls_language='American';
    
    
  • Issue 10: Patch installation could fail with the following message if Oracle Data Mining was de-installed. To avoid this error, see Note 339186.1.

    $ORACLE_HOME/.patch_storage/4210374/make_local.stderr)
    /usr/bin/ld: cannot find -ldm10
    collect2: ld returned 1 exit status
    make: *** [$ORACLE_HOME/rdbms/lib/oracle] Error 1
    Make failed.
    
    
  • Issue 11: If you are applying the patch using a Terminal Services or Remote Desktop Connection and experiencing problems, attempt to apply the patch locally at the console of the machine against which the patch is being applied before filing a Service request with Oracle Global Product Support.

  • Issue 12: During the installation of the CPU patch, OPatch throws the following error:

    OPatch encounters the following issues during file patching:
    The following java archives had problems with being patched:
    classes12.zip [ object: JndiAttrs.class ]
    classes111.zip [ object: JndiAttrs.class ]
    
    

    Workaround: Run opatch with -jdk option. For example:

    • Sun Solaris (32 bit and 64 bit)

      > opatch apply -jdk /usr/java1.4
      
      
    • AIX 5L

      > opatch apply -jdk /usr/java141
      
      
    • HP-UX

      > opatch apply -jdk /opt/java1.4
      
      
    • Linux (32bit)

      > opatch apply -jdk /usr/j2sdk1.4.1_02
      
      
    • Tru64

      > opatch apply -jdk /usr/opt/java141
      
      
  • Issue 13: This critical patch update may reload a few packages (for example, the utl_file package). This reinstates all of its default grants, regardless of any revocations made by the end-user.

    Workaround: Revoke all grants made by end user for such packages. (ref: OracleMetaLink Note 131752.1.)

  • Issue 14: The following warning may be displayed when using the Opatch utility to apply a CPU. You can ignore this warning. Respond Y when you are prompted to proceed.

    WARNING:OUI-67124: 
    Copy Action: Desctination File "<ORACLE_HOME>/lib/libnjssl10.sl" is not 
    writeable. 
    @ 'oracle.rsf.net_rsf, 10.1.0.4.0': Cannot copy file from 'libnjssl10.sl' to 
    '<ORACLE_HOME>/lib/libnjssl10.sl'
    

4.1.2 Platform-specific Issues

This section describes platform-specific issues.

4.1.2.1 AIX

The following issues are specific to AIX.

  • Issue 1: When installing patches on ALL releases you may receive the following error:

    xlC: not found
    
    

    If you are not using OCCI, then the error message can be safely ignored.

    If you are using OCCI, the then AIX C++ compiler must be installed and in the PATH. Issue the following to confirm

    % which xlC
    
    

    If xlC is not found, determine its location and add the directory to the PATH environment variable. If it is not installed, it will need to be installed for the successful installation of this patch. Once it is installed, determine its location and add the directory to the PATH environment variable. Continue the installation and run the following once the above has been resolved:

    % genoccish
    
    

    The preceding command will return to the command prompt if it is successful. Otherwise, errors will be thrown.

  • Issue 2: While installing this patch on an AIX computer, you may see warning messages similar to the following:

    ld: 0711-773 WARNING:
    ld: 0711-783 WARNING:
    ld: 0711-319 WARNING:
    ld: 0711-415 WARNING:
    ld: 0711-224 WARNING:
    
    

    This happens when re-linking 64-bit binaries in 32-bit kernel mode. These warning messages are not problematic if they are reported during relinking of any 64-bit binary in 32-bit kernel mode. To check the current mode of the kernel, run the following command:

    /usr/sbin/bootinfo -K
    
    

    The result will be "32" for 32-bit or "64" for 64-bit kernel mode. By default the result will be 32.

  • Issue 3: When installing this patch using the OPatch utility, you may see the following error:

    OPatch encounters the following issues during file patching:
    The following files had problems with being patched:1.     <ORACLE_HOME>/lib
    [ Couldn't copy <Patch location>/files/lib/libjox9.a to <ORACL:E_HOME>/lib from <Patch location>. ]
    
    
    

    Workaround:

    1. Reply Y to the Do you want to STOP? prompt.

    2. As root, run the following command:

      /usr/sbin/slibclean
      
      
    3. Rollback the patch using the following command:

      sh $ORACLE_HOME/.patch_storage/123456/rollback_123456.sh 
      
      

      (where 123456 is the patch number)

    4. Apply the patch again.

  • Issue 4: In the client-only installation, you may get the following error during the relinking of client_sharedlib. This error can be ignored

    OPatch found the word "fail" in stderr, please look into it.
    You may have to run the make again.
    Stderr Output (from 
    /nfs/plnfs15/DDRtmp/ddribm4/64bit/9207/client1/
    .patch_storage/4751923/make_local.stderr):
    ar:
    Creating an archive file
     /nfs/plnfs15/DDRtmp/ddribm4/64bit/9207/client1/lib/libclntst9.a.
    ar: Creating an archive file
     /nfs/plnfs15/DDRtmp/ddribm4/64bit/9207/client1/lib32/libclntst9.a.
    ld:
    0706-005 Cannot find or open file:
     /nfs/plnfs15/DDRtmp/ddribm4/64bit/9207/client1/rdbms/lib/homts.o
     ld:open(): Afile or directory in the path name does not exist.
    ar: A file or directory in the path name does not exist.
    ar: 0707-117 The fopen system call failed on file
     /nfs/plnfs15/DDRtmp/ddribm4/64bit/9207/client1/lib/shr.o
    
    
  • Issue 5: During the relink phase while rolling back a prior CPU, OPatch returns the following error:

    ID: 0706-032 Linking mode is not specified. 
    Set the OBJECT_MODE environment variable to 32 or 64 or use the -b32 
    or -b64 option.
    
    

    Workaround:

    Option 1: Rollback the prior CPU using OPatch Release 1.0.0.0.53.

    Option 2: Reply N to the Do you want to Stop? prompt.

    Ignore all errors of this type during the rollback. The objects will be replaced with the prior CPU and the relink will not fail.


Note:

Make sure you identify the actual location of the installed JDK, not the symbolic link to it.

4.1.2.2 Linux

The following issue is specific to Linux.

During the rollback of CPUOct2005, the following errors may occur:

/ora01/oracle/product/920/network/lib/libnmi.a(snmite.o)(.text+0x1427): In function `snmitetn_tempName':
the use of `tmpnam_r' is dangerous, better use `mkstemp'
/ora01/oracle/product/920/network/lib/libnmi.a(nmijs.o)(.text+0x3571): In function `nmijsupper':
 : undefined reference to `__ctype_b'
:/ora01/oracle/product/920/network/lib/libnmi.a(snmifork.o)(.text+0x149): In function `snmifon2p_NameToPathname':
: undefined reference to `__ctype_b'
/ora01/oracle/product/920/network/lib/libnmi.a(snmitcl.o)(.text+0xc6): In function `get_ora_ctx_handle':
undefined reference to `__ctype_b'
4.1.2.3 HP-UX

The following issue is specific to HP-UX.

  • Issue 1: In the client-only installation, you may get the following error during the relinking of client_sharedlib. This error can be ignored:

    rm: /nfs/plnfs15/DDRtmp/ddrhwp7/64bit/9206/client1/bin/genagtsh32 non-existent.
    x - hots.o
    x - hots.o
    ln: libagtsh.sl exists
    
4.1.2.4 Solaris

The following issue is specific to Solaris.

  • Issue 1: During the installation of this patch, OPatch will return the following errors on Solaris 10.

    Verifying archive files.
    Archive failed: failed to update "/oracle_1/product/9.2.0/lib/libserver9.a" with updated "/oracle_1/product/patches/4751923/files/lib/libserver9.a/dbsdrv.o" 
    Archive failed: failed to update "/oracle_1/product/9.2.0/lib/libserver9.a" with updated "/oracle_1/product/patches/4751923/files/lib/libserver9.a/evah2p.o" 
    Archive failed: failed to update "/oracle_1/product/9.2.0/lib/libserver9.a" with updated "/oracle_1/product/patches/4751923/files/lib/libserver9.a/kkxm.o"
    
    

    Workaround:

    This is a known issue with OPatch. Follow the workaround documented in OracleMetaLink Note 353150.1.

4.2 Issues Specific to Oracle Database Release 10.2.0.1

This section describes issues specific to Release 10.2.0.1:

4.2.1 Generic Issues

The following issue is generic for Release 10.2.0.1.

  • Issue 1: 10.2.0.1 Patchset changes permissions of some files in $ORACLE_HOME.

    If you encounter this problem, download and apply patch for 4516865.

4.2.2 Platform-specific Issues

This section describes platform-specific issues for Release 10.2.0.1.

4.2.2.1 Linux x86-64

The following issue is specific to Linux x86-64:

During the installation of CPUOct2006 on Linux x86-64, the recreating of the OCCI libraries (genoccish) fails with errors similar to:

/usr/bin/ld: Warning: size of symbol `std::basic_string<unsigned short,
oracle::occi::utext_char_traits, std::allocator<unsigned short>
>::~basic_string()' changed from 168 in $ORACLE_HOME/lib32/libocci10.a(occiConnectionImpl.o) to 52 in
$ORACLE_HOME/lib32/libocci10.a(occiMetaData.o)

/usr/bin/ld: warning: i386 architecture of input file
`$ORACLE_HOME/lib32/libocci10.a(occiSQLExceptionImpl.o)' is incompatible with
i386:x86-64 output

$ORACLE_HOME/lib32/libocci10.a(occiSQLExceptionImpl.o)(.text+0x194): In
function
`_ZN6oracle4occi16SQLExceptionImplC9EPvi': : undefined reference to
`OCIPGetErrorMessage'

This is a known issue. Follow the workaround documented in OracleMetaLink Note 379409.1.

4.3 Issues Specific to OPatch

The following issues are specific to OPatch:

  • Issue 1: On Solaris 10, OPatch may fail verification. If this happens, you must manually perform the verification. One of the reasons for failure is because Sun Microsystems changes an object file's size when it archives the file into a library.

    To manually verify a patch:

    1. Run the following command to make sure that the patch is recorded in the Oracle home:

      opatch lsinventory
      
      
    2. Run the following command to display a list of files modified by OPatch:

      opatch lsinventory -detail
      
      
    3. In the Oracle home directory, check the timestamp and size of each of these files to make sure that OPatch successfully updated them:

      cd $ORACLE_HOME
      ls -l filename
      
      
  • Issue 2: A file, <patch_number>_make.txt, is created when applying patches with the Opatch utility. The text in the file states that additional commands need to be run in order to complete the patching process. This file and its text can be ignored.

  • Issue 3: On Linux AMD x86-64 on RHEL4 systems, if you run OPatch in -report mode, it detects the incorrect platform and then terminates with errors similar to the following:

    Apply Session failed: ApplySession failed to prepare the system.
    OPatch failed with error code 73 
    
    

    Workaround: Set the OPATCH_PLATFORM_ID environment variable to point to the AMD64 Linux platform, whose ID is 226. For example:

    export OPATCH_PLATFORM_ID=226
    
    

    Then re-run OPatch in -report mode, for example:

    opatch apply -report 
    
    

    Or

    opatch rollback -report 
    

5 References

The following documents are references for this patch set.

Note 189489.1 Oracle9i Data Server Interim Patch Installation (OPatch)

Note 283367.1 OPatch For Oracle Application Server 10g

5.1 Generic Issues and Notes that have Helped Security and Critical Patch Update Issues:

The following documents are generic references for this patch set.

Note 360870.1 Impact of Java Security Vulnerabilities on Oracle Products

Note 272808.1 How to update the default JDK installed in Application Server 9.0.4 and 10.1.2

Note 259404.1 How to Disable HTTP TRACE Requests

Note 186775.1 How to Set NLS Parameters at DAD Level for mod_plsql

Note 258285.1 Sending Parameters as a GET or POST When Using mod_plsql

Note 237898.1 Caution When Using ProxyRequests With ProxyPass

Note 330242.1 When Using OPatch to Update Oracle home: Missing_component: Oracle.Apache.Apache

Note 337288.1 OPatch Fails to Detect Operating System Appropriately

Note 338338.1 Opatch Fails with Missing_component - Oracle.Rsf.Rdbms_rsf, 10.1.0.4.0

Note 311536.1 Forbidden to Execute a PL/SQL Procedure With Parentheses

Note 274710.1 Cannot Load Modplsql.so Into Server Because of Symbol Errors

Note 331172.1 File Not Found When Applying Patch With CScript

Note 361993.1 Makefile Fails to Apply Any One-Off Patch on AS 10g Version 10.1.2.0.2

6 Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/.

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

TTY Access to Oracle Support Services

Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.


Oracle Database Critical Patch Update Note Release 10.2.0.1 for UNIX

Copyright © 2006, Oracle. All rights reserved.

The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.

The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.

If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.

Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.