Question

Steps for installing Patch on Oracle 10G

Asked by: sikyala

I am about to install patch 5490846 and I am unclear regarding the instructions. Should I run root.sh, catcpu.sql and then shutdown the database before I type opatch apply? Or should I Shutdown the database, and then type opatch apply, startup the database and run root.sh and catcpu.sql, shutdown, and startup the database again?
Thanks!

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-12-07 at 09:26:04ID22085925
Tags

oracle

,

10g

,

patch

Topic

Oracle Product Info

Participating Experts
2
Points
0
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Patch 9.2.0.6
    How to apply patch 9.2.0.6 on database with version 9.2.0.6 . Do i need to migrate the database or i can just simple upgrade the oracle home.
  2. oralce patches 9.2.0.6
    Hi there, My oracle server database (Oracle ver 9.2.0.1) was filled up with some unwanted trace files daily, may i know if it can be solved by apply oralce patches 9.2.0.6. If yes, how may i get the link to do the patches. Please provide the steps needed to do this patchin...
  3. patching
    What is patching? I have 9i installed in my pc and i have 10g cd..How can I do patching ...please help me?
  4. Applying patches
    How to upgrade from 10.2.0.2 to 10.2.0.4.? How to apply patche?
  5. downloading patch
    Hi, I need to know how find what patch I need for my oracle version 10.2 and how to install and run and apply it on oracle running in unix please give me steps, command or any easy to follow link Appreciated
  6. adding patch
    I already have oracle 9i installed. Need to add cpu, I am told to create another oracle home and add patch to it and then chnage the oracle to the new oracle home . I need your experrt opinion to handle this and if possible give me steps to do it thnks

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: rbrookerPosted on 2006-12-07 at 11:32:33ID: 18096210

Hi,

opatch will not require you to run root.sh or catcpu.sql unless stated in the opatch readme.
are you doing this on a test box first? this will modify your oracle binaries, affecting all the databases that use that oracle home.  when applying patches like this, always ALWAYS do it on a test box first and test the crap out of the databases after the patch is applied.

good luck :)

 

by: sikyalaPosted on 2006-12-07 at 11:40:28ID: 18096280

The database I am working on is a test database. I shutdown the database, ran opatch apply and got the following output:

OPatch was able to restore your system. Look at log file and timestamp of each file to make sure your system is in the state prior to applying the patch.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67124:Files check failed: Some files under ORACLE_HOME are not patched. Please see log file for details.
--------------------------------------------------------------------------------

I don't know how to fix this. Could someone help me?

 

by: rbrookerPosted on 2006-12-07 at 11:42:06ID: 18096294

can you post the log file please

 

by: sikyalaPosted on 2006-12-07 at 12:05:51ID: 18096473

Here is the errors I found in the log:

Verifying the update...
INFO:Inventory check OK: Patch ID 5490846 is registered in Oracle Home inventory with proper meta-data.
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libnro10.a" with updated "/tmp/5490846/files/l
ib/libnro10.a/ncrsa.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libnro10.a" with updated "/tmp/5490846/files/l
ib/libnro10.a/ncrsr.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libnro10.a" with updated "/tmp/5490846/files/l
ib/libnro10.a/ncrfgnid.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/network/lib/libnlsnr10.a" with updated "/tmp/54908
46/files/network/lib/libnlsnr10.a/nsgcs.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libordsdo10.a" with updated "/tmp/5490846/file
s/lib/libordsdo10.a/mdidx.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libctx10.a" with updated "/tmp/5490846/files/l
ib/libctx10.a/drsug.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qccsync.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kpolon.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/prsa.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qcctab.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/cvw.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kkzf.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/npixfr.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/opitsk.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/opicdf.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qxdid.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kkn.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kzp.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qccdtp.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kjdg.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kji.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kjt.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kjx.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kkm.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kff.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kdis.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qesh.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qerix.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/qkatab.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kspt.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libserver10.a" with updated "/tmp/5490846/file
s/lib/libserver10.a/kju.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/rdbms/lib/libperfsrv10.a" with updated "/tmp/54908
46/files/rdbms/lib/libperfsrv10.a/ttccdf_PERF.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libgeneric10.a" with updated "/tmp/5490846/fil
es/lib/libgeneric10.a/qcpi4.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libgeneric10.a" with updated "/tmp/5490846/fil
es/lib/libgeneric10.a/qcs.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libgeneric10.a" with updated "/tmp/5490846/fil
es/lib/libgeneric10.a/qcsj.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libcommon10.a" with updated "/tmp/5490846/file
s/lib/libcommon10.a/ttcbur.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libcommon10.a" with updated "/tmp/5490846/file
s/lib/libcommon10.a/ttcdrv.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libcommon10.a" with updated "/tmp/5490846/file
s/lib/libcommon10.a/ttcpip.o"
INFO:     Archive failed: failed to update "/u01/oracle/product/app/10.2.1/lib/libcommon10.a" with updated "/tmp/5490846/file
s/lib/libcommon10.a/ttccdf.o"
INFO:
WARNING:OUI-67124:Files check failed: Some files under ORACLE_HOME are not patched. Please see log file for details.
SEVERE:OUI-67073:Apply Session failed: ApplySession failed in system modification phase... 'Verification of patch failed: Fil
es are not updated completely.'
INFO:OPatch will attempt to restore the system...
INFO:Restoring the Oracle Home...
INFO:Checking if OPatch needs to invoke 'make' to restore some binaries...
SEVERE:
Make result:
  Command: /usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/u01/oracle/product/app/10.2.1

  Returned code: 0
  Stdout output:
/u01/oracle/product/app/10.2.1/bin/genclntsh
/u01/oracle/product/app/10.2.1/bin/genoccish
/u01/oracle/product/app/10.2.1/bin/genagtsh /u01/oracle/product/app/10.2.1/lib/libagtsh.so 1.0

  Stderr output:

SEVERE:
Make result:
  Command: /usr/ccs/bin/make -f ins_net_client.mk install ORACLE_HOME=/u01/oracle/product/app/10.2.1

  Returned code: 0
  Stdout output:
/bin/chmod 755 /u01/oracle/product/app/10.2.1/bin/
 - Linking trcroute
rm -f trcroute
/usr/ccs/bin/ld -o trcroute -L/u01/oracle/product/app/10.2.1/network/lib/ -L/u01/oracle/product/app/10.2.1/lib/ -dy /u01/orac
le/product/app/10.2.1/lib/prod/lib/v9/crti.o /u01/oracle/product/app/10.2.1/lib/prod/lib/v9/crt1.o /u01/oracle/product/app/10
.2.1/network/lib/s0nur.o /u01/oracle/product/app/10.2.1/network/lib/nur.o -lclntsh  `cat /u01/oracle/product/app/10.2.1/lib/l
dflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/oracle/product/app/10.2.1/lib/ldflag
s`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10  -lvsn10  -lcommon10 -lgeneric10 -lmm
-lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -
lnls10 `cat /u01/oracle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro1
0 `cat /u01/oracle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10
-lnnetd10  -lvsn10  -lcommon10 -lgeneric10   -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10
-lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10  -lclient10 -lnnetd10  -lvsn10  -lcommon10 -lgeneric10 -lsnls10 -lnls10
-lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10   `cat /u01
/oracle/product/app/10.2.1/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9:/u01/oracle/product/app/10.2.1/lib:/opt/ORCLcluste
r/lib/  -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -Qy -lc -laio   -lm  /
u01/oracle/product/app/10.2.1/lib/prod/lib/v9/crtn.o
mv -f /u01/oracle/product/app/10.2.1/bin/trcroute /u01/oracle/product/app/10.2.1/bin/trcroute0
mv trcroute /u01/oracle/product/app/10.2.1/bin/trcroute
/bin/chmod 751 /u01/oracle/product/app/10.2.1/bin/trcroute
 - Linking
rm -f /u01/oracle/product/app/10.2.1/rdbms/lib/oracle
/usr/ccs/bin/ld   -o /u01/oracle/product/app/10.2.1/rdbms/lib/oracle -L/u01/oracle/product/app/10.2.1/rdbms/lib/ -L/u01/oracl
e/product/app/10.2.1/lib/ -dy /u01/oracle/product/app/10.2.1/lib/prod/lib/v9/crti.o /u01/oracle/product/app/10.2.1/lib/prod/l
ib/v9/crt1.o  /u01/oracle/product/app/10.2.1/rdbms/lib/opimai.o /u01/oracle/product/app/10.2.1/rdbms/lib/ssoraed.o /u01/oracl
e/product/app/10.2.1/rdbms/lib/ttcsoi.o  /u01/oracle/product/app/10.2.1/rdbms/lib/defopt.o  -z allextract -lperfsrv10 -z defa
ultextract /u01/oracle/product/app/10.2.1/lib/nautab.o /u01/oracle/product/app/10.2.1/lib/naeet.o /u01/oracle/product/app/10.
2.1/lib/naect.o /u01/oracle/product/app/10.2.1/lib/naedhs.o /u01/oracle/product/app/10.2.1/rdbms/lib/config.o  -lserver10 -lo
dm10  -lnnet10 -lskgxp10 -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -l
snls10 -lnls10 -lcore10 -lnls10 -lhasgen10 -lcore10 -lskgxn2 -locr10 -locrb10 -locrutl10  -lhasgen10 -lcore10 -lskgxn2   -lcl
ient10  -lvsn10  -lcommon10 -lgeneric10  -lknlopt `if /usr/ccs/bin/ar tv /u01/oracle/product/app/10.2.1/rdbms/lib/libknlopt.a
 | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap10" ; fi`  -lslax10 -lpls10 -lplp10 -lserver10 -lclient10  -lvsn10
 -lcommon10 -lgeneric10  -lknlopt -lslax10 -lpls10 -lplp10 -ljox10 -lserver10  -lclsra10 -ldbcfg10 -locijdbcst10 -lwwg  `cat
/u01/oracle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/
oracle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lmm -lsnls10 -lnls10
-lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /u01/o
racle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/oracle
/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10   -lsnls10 -lnls10  -lcore10
-lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `if /usr/ccs/bin/ar
tv /u01/oracle/product/app/10.2.1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lord
sdo10"; fi` -lctxc10 -lctx10 -lzx10 -lgx10 -lctx10 -lzx10 -lgx10 -lordimt10  -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lc
ore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lsnls10 -lunls10  -lsnls10 -lnls10  -lco
re10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10      `cat /u01/
oracle/product/app/10.2.1/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9:/u01/oracle/product/app/10.2.1/lib:/opt/ORCLcluster
/lib/  -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -Qy -lc -laio -lposix4
-lkstat -lm  /u01/oracle/product/app/10.2.1/lib/prod/lib/v9/crtn.o
mv -f /u01/oracle/product/app/10.2.1/bin/oracle /u01/oracle/product/app/10.2.1/bin/oracleO
mv /u01/oracle/product/app/10.2.1/rdbms/lib/oracle /u01/oracle/product/app/10.2.1/bin/oracle
chmod 6751 /u01/oracle/product/app/10.2.1/bin/oracle

  Stderr output:

SEVERE:
Make result:
  Command: /usr/ccs/bin/make -f ins_net_server.mk itnslsnr ORACLE_HOME=/u01/oracle/product/app/10.2.1

  Returned code: 0
  Stdout output:
 - Linking tnslsnr
rm -f tnslsnr
/usr/ccs/bin/ld -o tnslsnr -L/u01/oracle/product/app/10.2.1/network/lib/ -L/u01/oracle/product/app/10.2.1/lib/ -dy /u01/oracl
e/product/app/10.2.1/lib/prod/lib/v9/crti.o /u01/oracle/product/app/10.2.1/lib/prod/lib/v9/crt1.o /u01/oracle/product/app/10.
2.1/network/lib/s0nsgl.o /u01/oracle/product/app/10.2.1/network/lib/snsglp.o -lclntsh  `cat /u01/oracle/product/app/10.2.1/li
b/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/oracle/product/app/10.2.1/lib/ldf
lags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10  -lvsn10  -lcommon10 -lgeneric10 -l
mm -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore1
0 -lnls10 `cat /u01/oracle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -ln
ro10 `cat /u01/oracle/product/app/10.2.1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient
10 -lnnetd10  -lvsn10  -lcommon10 -lgeneric10   -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml1
0  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10  -lclient10 -lnnetd10  -lvsn10  -lcommon10 -lgeneric10 -lsnls10 -lnls1
0  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10   `cat /
u01/oracle/product/app/10.2.1/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9:/u01/oracle/product/app/10.2.1/lib:/opt/ORCLclu
ster/lib/  -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -Qy -lc -laio   -lm
  /u01/oracle/product/app/10.2.1/lib/prod/lib/v9/crtn.o -lons  -lnl10     -ln10  -lnlsnr10 -lnlsnrc10 -lnsgr10  -lnms  -lncm1
0 -lnmsp -lpeer  -lnro10 -ln10    -lnl10  -lnlsnr10 -lnlsnrc10  -lnms  -lncm10 -lnmsp  -ln10   -lnnz10     -lm
mv -f /u01/oracle/product/app/10.2.1/bin/tnslsnr /u01/oracle/product/app/10.2.1/bin/tnslsnr0
mv tnslsnr /u01/oracle/product/app/10.2.1/bin/tnslsnr
/bin/chmod 751 /u01/oracle/product/app/10.2.1/bin/tnslsnr

  Stderr output:

SEVERE:
Make result:
  Command: /usr/ccs/bin/make -f ins_net_server.mk ilsnrctl ORACLE_HOME=/u01/oracle/product/app/10.2.1
  Returned code: 0
  Stdout output:
 - Linking lsnrctl
rm -f lsnrctl

 

by: rbrookerPosted on 2006-12-07 at 12:11:21ID: 18096534

well, that is not pretty.  it also seems to me that there were no files updated.  have you tried restarting the database and seeing if everything works?

as for the reason for the failure, is the opatch the right one? for the right oracle release? on the right o/s?  does it have any prerequisits that have not been met?

 

by: sikyalaPosted on 2006-12-07 at 12:16:04ID: 18096575

I checked everything carefully. I have the right patch. I think the problem may be that I didn't stop the listener before I ran patch apply

 

by: sikyalaPosted on 2006-12-07 at 12:20:22ID: 18096610

I started both databases and they both seem fine. I only have data stored in one database and I was able to retrieve the data.

 

by: sikyalaPosted on 2006-12-19 at 08:12:54ID: 18166615

Apparently it is a known Oracle bug (Bug 4967132)  from using Oracle 10g on a Solaris 10 operating system.

Workaround:

OPatch 10.2.0.1.1 - 10.2.0.1.2 and 10.2.0.2.0

Apply patch with the following command (NOTE: command is case sensitive. Enter exactly as noted below)
% opatch apply OPatch.SKIP_VERIFY=true

The following message will be returned when OPatch completes the apply

OPatch skips verification as per user's request.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67124:OPatch skips verification as per user's request.
--------------------------------------------------------------------------------

Manually verifying sizes AFTER the workaround was performed

Looking at the objects that were Archived, you find that the object being installed is 4 bytes smaller than the new object in the library.  In the following example, I will be using the object dbsdrv.o that is being updated in $ORACLE_HOME/lib/libserver9.a.


Use the FAILED apply log to determine what object(s) failed verification.  For example the FAILED apply log shows:

   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":
 
Issue the following command to determine the size of the object being installed

% ls -l /oracle_1/product/patches/4751923/files/lib/libserver9.a/dbsdrv.o

RESULT: -rw-r--r--   1 oracle   dba-185200 Jan 19 15:31 dbsdrv.o
 
Issue the following command to determine the size of  the object that was installed during the apply:

% ar tv /oracle_1/product/9.2.0/lib/libserver9.a | grep dbsdrv.o

RESULT: rw-r--r--   500/   500 185204 Jan 19 15:31 2006 dbsdrv.o
If the result is that the object being installed is 4 bytes smaller than the object that was installed, you have succeded in working around the issue and the patch is successfully installed.  A greater difference indicates that this is not the issue and the object was not correctly replaced.  Further diagnosing is needed.

I did this and it worked.



 

by: rbrookerPosted on 2006-12-19 at 18:49:51ID: 18170941

complicated....

 

by: sikyalaPosted on 2006-12-20 at 02:24:22ID: 18172299

yes it is but if you follow the instructions to the letter the patch installation will succeed.

 

by: rbrookerPosted on 2006-12-20 at 16:19:01ID: 18177584

no problems here, please close with a clear concience.

merry christmas :)

 

by: PashaModPosted on 2006-12-26 at 07:54:08ID: 18198400

Closed, 500 points refunded.
PashaMod
Community Support Moderator

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...