While installing one-off Patch on AIX systems, getting several WARNING messages: OUI-67215 - TOC ove

zhulch發表於2007-11-15

在APPLY 5496862 出現一些類似的錯誤,

解決方法如下:

[@more@]

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.2.0
This problem can occur on any platform.

Symptoms

You are trying to install an Interim/One-off Patch on AIX platform.
You are encountering WARNINGs in the relinking stage of the Patch Apply.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

...
...
Running make for target ioracle
ApplySession adding interim patch '5490848' to inventory

Verifying the update...
Inventory check OK: Patch ID 5490848 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 5490848 are present in Oracle Home.

The local system has been patched and can be restarted.
--------------------------------------------------------------------------------

The following warnings have occurred during OPatch execution:
1) OUI-67215:
OPatch found the word "failed" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:

ld: 0711-783 WARNING: TOC overflow. TOC size: 67040 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67040 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
/local/sdmd/oracle/product/10.2/bin/genoccish[82]: xlC: 0403-006 Execute permission denied.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file /local/sdmd/oracle/product/10.2/lib/shr.o.
/local/sdmd/oracle/product/10.2/bin/genoccish[82]: xlC: 0403-006 Execute permission denied.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file /local/sdmd/oracle/product/10.2/lib32/shr.o.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Cause

These are not errors and are just expected WARNING messages.
They can be ignored.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following issues are specific to AIX.

(i) When installing patches on ALL releases you may receive the following error:
######################################
xlC: not found
######################################
OR
######################################
xlC: 0403-006 Execute permission denied.
######################################
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.
Further, the ORACLE user must have execute (x) permissions on xlC.
Issue the following to confirm the above :
######################################
% which xlC
% xlC
######################################
If you are indeed using OCCI :
and if xlC is not found, determine its location and add the directory to the PATH environment variable.
If it is not installed, it is required to be installed for suppressing the above received WARNINGs.
Once it is installed, determine its location and add the directory to the PATH environment variable.
Ensure that the ORACLE user has execute permissions on xlC executable.

(ii)
##############################################################
ld: 0711-783 WARNING: TOC overflow. TOC size: 67040 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67040 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
###############################################################
are ignorable WARNINGs as discussed in :
Note 245372.1 - TOC overflow Warning Can Safely Be Ignored
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Table Of Contents (TOC) area is a piece of memory which is reserved for compiling
programs The maximum size of the TOC is 64K and this can be blown by some
programs. The TOC message is just a warning and can be ignored.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Further Information :
~~~~~~~~~~~~~~~~~~~
While installing One-off patches (except on 8.1.7.4) on an AIX system,
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:
############################
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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Solution

Please check if the current Patch apply is reflected in the inventory :

% cd $ORACLE_HOME/OPatch
% ./opatch lsinventory

Look for Installed Interim Patch #
If the Patch applied, is available in the Installed Patches list, and

(i) If you are not using OCCI, then :
=======================
Ignore the above Warnings.
=======================

(ii) If you are using OCCI,
==========================================
a. Rollback the applied Patch.
b. Install the xlC compiler for AIX, as described in :
Note 282036.1 - Minimum Software Versions and Patches Required to Support Oracle Products on IBM pSeries
c. Set the xlC permissions such that the 'oracle' user can execute this compiler.
d. Re-apply the Patch to correct the xlC WARNINGs.
e. The TOC errors, if still exist, must be ignored.
==========================================

------------------------ O ---- X ---- O -----------------------------

Additional Information :
~~~~~~~~~~~~~~~~~~~~~
In case the applied Patch is not available in opatch lsinventory output in the first place,
then there are different issues that have caused the patch apply failure.
Please log a Service Request with Oracle Support
and provide the OPatch apply failure log + system RDA for further analysis.

References

Note 245372.1 - TOC overflow Warning Can Safely Be Ignored
Note 282036.1 - Minimum Software Versions and Patches Required to Support Oracle Products on IBM pSeries

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7318139/viewspace-982494/,如需轉載,請註明出處,否則將追究法律責任。

相關文章