Patching from 10.2.0.1 to 10.2.0.3

Share Button

I’m not a big fan of ignoring errors with OUI (we all have our horror stories), and so when I ran across this one I was loathe to ignore or cancel:

Error in invoking target 'all_no_orcl ipc_g' of makefile

Now, an experienced Oracle installer/patcher/troubleshooter/slave knows full well that most of these problems are compiler related, and this one was no different. I was patching a 10.2.0.1.0 RAC installation to 10.2.0.3.0.

To fix the problem, simply go to Oracle’s Open Source Downloads and download the latest binutils release. Install it with the following command:

rpm -Uvh binutils-2.15.92.0.2-15.0.0.0.2.x86_64.rpm

Once installed, click “retry” on your OUI screen and everything should be taken care of! However, if this is a RAC system, don’t forget to install binutils on both nodes!

If you DID ignore the error and kept going with the patch, you’ll probably find that ASM does not work. To fix this, you will have to install binutils, relink all, and find a good working copy of $ORACLE_HOME/lib/libskgxp10.so from another Oracle installation to replace the one on your patched system.

The moral of the story is, of course, to fix problems before continuing whenever possible.

Errors During CATUPGRD.SQL

While I’m at it, another problem I found was during the execution of the CATUPGRD.SQL script that must be run after installing the Oracle software. I received the following error:


SELECT version_script AS file_name FROM DUAL
*
ERROR at line 1:
ORA-06575: Package or function VERSION_SCRIPT is in an invalid state

Thankfully, this was an easy enough problem to fix. Simply change some initialization parameters:

  1. alter system set plsql_code_type string = INTERPRETED
  2. alter system set plsql_compiler_flags string = INTERPRETED, NON_DEBUG
  3. Rerun ?/rdbms/admin/catupgrd.sql

Or, if you really want to use native PL/SQL compilation, just set your plsql_native_library_dir and then rerun the script.

One Last Note

Make SURE you set your JAVA_POOL_SIZE and SHARED_POOL_SIZE to at least 150M before running catupgrd.sql! If you do not have a large enough shared pool, you will get errors during the install. You may be able to workaround these by flushing the shared pool (alter system flush shared_pool), but you’re better off doing it right the first time.

Good luck with your patch upgrades!

Share Button

9 comments

  1. Darn useful piece of info! Thanks a lot, I’m ffiling it away for later reference when our upgrade cycle starts.

  2. I have some problems with emd_maintenance package. Do you know where the source is stored?
    Michael

  3. Michael,

    Unfortunately not, I could not find the source anywhere in my Oracle directories. I have heard, however, that sometimes you must recompile this package body manually post-upgrade. Have you tried that?

    alter package emd_maintenance compile body;

  4. I have had some major issues with the emd_maint tasks. There seems to be a bug in OEM that passes the incorrect date into the xml files for upload. Since this is added to the OMS DB using a date range partition and the date range is a year ahead, the data gets lost in a loop of errors. Oracle is investigating this and is filing a backport patch request for us. The fix is expected in 10.2.0.4 if I understand Oracle support correctly.

  5. Thanks for the info as I will be do my first install of 10.2.0.3 next week. The project calls for only a standard release, but will be having fun.

    Craig

  6. please tell me how to set patch from 10.2.0.1 to 10.2.0.3

    kindly request you send me step wise

  7. Hi Steve, I have a 10.2.0.3 database. I am now required to install Workflow that came with 10.2.0.1 companion CD. The thing is Workflow is at 10.2.0.1 and needs to be installed on database home. Can I install Workflow version 10.2.0.1 into an existing 10.2.0.3 home? How would you go about doing this?

  8. fighting MAC OS 10.6.2 install for oracle 10.2 and at the very end of ‘software only’ install keep getting this error:

    error in invoking target ‘all_no_orcl ipc_g ihsodbc32’ of makefile etc.,.

    i tried comment out # $(HSODBC_LINKLINE) in

    /Users/oracle/oracle/product/10.2.0/db_1/rdbms/lib/insrdbms.mk file and no luck..

  9. sir my name is ramkumar sharma
    sir i want patch to apply on 10.2.0.1 so ether 10.2.0.3,4,5 eny of patch
    how can i get i am a student so can not able to buy
    pl help me sir thanks
    ramkuma rsharma

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.