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
LVL 1
bkreynolds48Asked:
Who is Participating?
 
Hanno P.S.Connect With a Mentor IT Consultant and Infrastructure ArchitectCommented:
To install a Solaris patch
- choose a temp directory (or simply "cd /var/tmp")
- depending on the file's format unpack, untar or unzip the downloaded
   file into there (it creates a subdir with the patch-ID)
- stay in your temp dir (right above the patch's dir)
- apply the patch with "patchadd mypatch-ID"
If there is anything wrong (patch does not match your OS or architecture,
the software to get patched is not present on your system, there is not
enough disk space available, etc.) you will get an error message and the
patch does not get installed.
0
 
omarfaridCommented:
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>
0
 
bkreynolds48Author Commented:
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).

 
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
omarfaridCommented:
Did you try to apply the patch?
0
 
bkreynolds48Author Commented:
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
0
 
omarfaridCommented:
If the patch install successfully then it will tell you, or if it fails it will display a message and abort.

0
 
bkreynolds48Author Commented:
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
0
 
omarfaridCommented:
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.
0
 
bkreynolds48Author Commented:
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
0
 
omarfaridCommented:
Nothing clear. Try to install and see what messages come to screen.

0
 
bkreynolds48Author Commented:
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.
0
 
omarfaridCommented:
Do not forget to take full  backup before applying any patch.
0
 
bummerlordCommented:
"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)
0
 
bkreynolds48Author Commented:
Thanks for the simple instructions
0
All Courses

From novice to tech pro — start learning today.