Link to home
Start Free TrialLog in
Avatar of bkreynolds48
bkreynolds48

asked on

Solaris 10 64 bit patch 123908-01 to fix Oracle opatch application error (4 bit diff in files)

SUN Solaris 10 64 bit system running Oracle RDBMS 9.2.0.8 - when applying the CPU patches receive ar errors on 4 byte difference in files. Oracle note 353150.1 says to apply SUN patch 123908-01.  I am the DBA and have been given the Unix admin job as well. I need to know if I just do a patchadd 123908-01 or how to apply ALSO do you know of any issues in just applying this patch.  I would open a SUN case but they take so long to get back to you I need an answer asap.
Thanks
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Did you read the patch release notes?

Please see:

http://www.tech-recipes.com/solaris_system_administration_tips132.html
http://www.nacs.uci.edu/support/dcs/security/patches/solaris.html

You may try:

patchadd -M <your_patch_directory> <patch-id> <patch-id>
Avatar of bkreynolds48
bkreynolds48

ASKER

Yes I read the readme file - not much info in there.
In the oracle doc it says...................

 @ Currently this is only being seen on Solaris 10.  Please update the bug referenced should the issue be seen on other platforms and include the platform's version.

Changes
Using the OPatch versions listed above.

Cause
Solaris 10 appears to be adding a few bytes to the size of the objects being archived into libraries. Due to that, the validation phase is failing during the archive file validation because the size of the newly installed object does not match the size of the object in the patch.

This is believed to be due to Sun issue 6382170  fixed by Solaris patch 123908-01 (or later).


Solution
FIX:
This is believed to be due to Sun issue 6382170 fixed by Solaris patch 123908-01 (or later).

 
Did you try to apply the patch?
No I did not try to apply it.
First of all was not sure I had the syntax correct.
Second, I did not want to mess up my unix system so am being a bit careful.
If the patch applies correctly would it then tell me so?  How would I know if it didn't?
Thanks
If the patch install successfully then it will tell you, or if it fails it will display a message and abort.

Could you tell me if there is a way to tell if this is for 64 bit or not?
I can include some of the readme file if that will help.
Thanks
I think if the patch is not compatible with OS, then it will fail to install.

You may search the readme file for such info. If you can post a link to the readme file, then I will read it and  see if  there is relevant info in it.
Patch-ID# 123908-01

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: archives ar
Synopsis: SunOS 5.10: ar patch
Date: Dec/07/2006

Install Requirements: NA                      
Solaris Release: 10
SunOS Release: 5.10
Unbundled Product:
Unbundled Release:

Xref:

Topic: SunOS 5.10: ar patch
Relevant Architectures: sparc
BugId's fixed with this patch: 6382170 6391407 6398391
Changes incorporated in this version: 6382170 6391407 6398391
Patches accumulated and obsoleted by this patch:
Patches which conflict with this patch:
Patches required with this patch:
Obsoleted by:
Files included with this patch:

/usr/ccs/bin/ar

Problem Description:

6398391 updating existing archive with ar(1) can corrupt following items
6391407 insufficient alignment of 32-bit object in archive makes ld segfault
6382170 Solaris 10 ar(1) adds newlines to data when creating/updating archives

Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
Nothing clear. Try to install and see what messages come to screen.

I can't try to install this on production till Sunday morning so will let you know after that.
Thanks for trying to help me out.
Do not forget to take full  backup before applying any patch.
"Could you tell me if there is a way to tell if this is for 64 bit or not?"
- ar binary is 32-bit even on 64bit systems, as most/all of the other system utilities (for some obscure reason). Hence you cannot have a 64bit installation without 32bit support. (even though I can't even remember when sparc CPU's were not 64bit :-))

From the readme:
"Relevant Architectures: sparc"

- This is the relevant patch for your system.
If you run the "isainfo" command on your system you will probably see both "sparcv9" and "sparc" in the output.  (see manual for isainfo for more information)

To this patch there are no dependencies. This patch just replace the 'ar' binary from the SUNWbtool package.
As you see below this package has ARCH: sparc. That matches what you see in the readme.

# isainfo
sparcv9 sparc
# pkginfo -l SUNWbtool
   PKGINST:  SUNWbtool
      NAME:  CCS tools bundled with SunOS
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.21.15.53
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  software development utilities, including ar, dis, dump, elfdump, lex, lorder, mcs, nm, prof, ranlib, rpcgen, size, strip, tsort, and yacc
    PSTAMP:  on10ptchfeat20070810055736
  INSTDATE:  Oct 02 2007 22:31
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       48 installed pathnames
                   8 shared pathnames
                   2 linked files
                   8 directories
                  24 executables
                2570 blocks used (approx)
ASKER CERTIFIED SOLUTION
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the simple instructions