Sunday 31 May 2015

checking operating system version: must be redhat-2.1AS, redhat-3 or redhat-4

Issue
++++++



Cause
+++++
runInstaller unable to find the actual OS version in a file called oraparam.ini .

Solution
+++++
find the oraparam.ini file which comes with software or patch and add the entry of your OS version and invoke runInstaller and issue will get fix .


[apptest@erptest install]$ diff oraparam.ini oraparam.ini_backup
46c46
< Linux=redhat-2.1AS,redhat-3,redhat-4,redhat-5
---
> Linux=redhat-2.1AS,redhat-3,redhat-4
[apptest@erptest install]$



Opatch: This patch is not suitable for this operating system

Last Friday 29May2015 , I was doing TechStack and opatch failed with below errors .

Opatch logfile
++++++++

OPatch detects your platform as 46 while this patch 16275529 supports platforms:
   226 (Linux x86-64)

This patch is not suitable for this operating system.
Please contact support for the correct patch.

ERROR: OPatch failed during prerequisite check.

Cause
+++++
OPatch detects your platform as 46 while this patch 16275529 supports platforms:
   226 (Linux x86-64)

46 (Linux Intel)
226 (Linux x86-64)
 
Solution :
+++++++++
 
[apptest@erptest 16275529]$ export OPATCH_PLATFORM_ID=226
[apptest@erptest 16275529]$ opatch apply

Oracle Interim Patch Installer version 1.0.0.0.64
Copyright (c) 2011 Oracle Corporation. All Rights Reserved..

Oracle recommends you to use the latest OPatch version
and read the OPatch documentation available in the OPatch/docs
directory for usage. For information about the latest OPatch and
other support-related issues, refer to document ID 293369.1
available on My Oracle Support (https://myoraclesupport.oracle.com)

Oracle Home           : /u01/CRP2/apps/tech_st/10.1.2
Oracle Home Inventory : /u01/CRP2/apps/tech_st/10.1.2/inventory
Central Inventory     : /u04/app/CRP2/oraInventory
   from               : /etc/oraInst.loc
OUI location          : /u01/CRP2/apps/tech_st/10.1.2/oui
OUI shared library    : /u01/CRP2/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so
Java location         : /u01/CRP2/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location     : /u01/CRP2/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log

Creating log file "/u01/CRP2/apps/tech_st/10.1.2/.patch_storage/16275529/Apply_16275529_05-29-2015_17-22-26.log"

Invoking fuser to check for active processes.

Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y
Oracle Configuration Manager has been installed but not configured. OCM enables
Oracle to provide superior, proactive support for our customers. Oracle
strongly recommends customers configure OCM. To complete the configuration of
OCM, refer to the OCM Installation and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html).
Backing up comps.xml ...

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


Please shut down Oracle instances running out of this ORACLE_HOME
(Oracle Home = /u01/CRP2/apps/tech_st/10.1.2)
Is this system ready for updating?
Please respond Y|N >
Y
Applying patch 16275529...

Patching jar files...

Patching copy files...

Running make for target client_sharedlib.



Inventory is good and does not have any dangling patches.


Updating inventory...

Verifying patch...
Backing up comps.xml ...


OPatch succeeded.
[apptest@erptest 16275529]$