OPatch problem
Hi,
I am trying to execute the below command, but getting no output.
bash-3.00$ which opatch
./opatch
Also, I have set PATH variable but still not getting output.
Please let me know what could be the problem
Regards
Kumar
Kumar,
Where exactly this opatch is ? I have seen similar thing in the past where another file with same and no contents were in it.
Try
$ ORACLE_HOME/OPatch/opatch lsinventory
Similar Messages
-
Opatch problem , change Central Inventory
Hi guys,
i've try to use opatch utilities with oracle db user but when i launch it shows me this err:
OPatch failed to locate Central Inventory.
Possible causes are:
The Central Inventory is corrupted
The oraInst.loc file specified is not valid.
LsInventorySession failed: OracleHomeInventory::createInventoryObj() gets a null OiicStandardInventorySession object
I've find that Central Inventory is wrong, because it's set to Grid Agent Home, look follows:
Central Inventory : /home/oraagent/oraInventory
so, someone can says me how i can change Central Inventory for correct this problem?
thanks very much
AndreaAre you trying to install a patch?
The central inventory location is where oraInst.loc points. oraInst.loc resides in /var/opt/oracle (in Solaris actually, look at the documentation for your platform). So, if you have a central inventory you can point the file to it. -
Opatch problem in 10.2.0.3
Hi,
We are getting the below error when applying patch in 10.2.03
Failed to load path object
meta data files are missing from patch area.
Failed to load the patch object. Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = 8479537
Details = PatchObject constructor: Input file "8479537/etc/config/actions" or "8479537/etc/config/inventory" does not exist.
ApplySession failed: PatchObject constructor: Input file "8479537/etc/config/actions" or "8479537/etc/config/inventory" does not exist.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
Regards,
KKkk001 wrote:
Hi,
We are getting the below error when applying patch in 10.2.03
Failed to load path object
meta data files are missing from patch area.
Failed to load the patch object. Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = 8479537
Details = PatchObject constructor: Input file "8479537/etc/config/actions" or "8479537/etc/config/inventory" does not exist.
ApplySession failed: PatchObject constructor: Input file "8479537/etc/config/actions" or "8479537/etc/config/inventory" does not exist.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
Regards,
KKSounds like you did not correctly unzip/untar/uncompress/whatever the patch file into the patch (8479537) directory -
Hi,
I want to apply october 2009 cpu to the r12.0.4 ebiz database,But when i am invoking the opatch it is not abele to find the inventory?
$opatch lsinventory details
Invoking OPatch 10.2.0.3.4
Oracle Interim Patch Installer version 10.2.0.3.4
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /rel12/r12apps/GOLD/db/tech_st/10.2.0
Central Inventory : n/a
from :
OPatch version : 10.2.0.3.4
OUI version : 10.2.0.3.0
OUI location : /rel12/r12apps/GOLD/db/tech_st/10.2.0/oui
Log file location : n/a
OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
OPatch failed with error code 104
I know there are around 3 homes so everybody will have there different inventorries
1)But i am also confused that which is central inventory and which is local ?
2)when patching oracle home's opatch should see the local inventory of that oracle home?RIGHT,If it is right then whats the use of central inventory?
3)please let me know how to proceed now coz in linux oraInst.loc should be located in /etc as oracle looks in /etc as default in linux but it is not there...If it is there also how it will point to 3 oracle homes?and if it point to 3 oracle homes then how the opacth will know which products are installed in that home and whicch oracle hoem to be patched?
one thing comming in my mind is when ever i am patching different home i need to change the oracle_home path in the /etc/oraInst.loc..and before doing that i need to create a file there or copy from some were else?
Please tell me
RegardsHi,
OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
OPatch failed with error code 104Please see the following documents.
Note: 437026.1 - ERROR :"OPatch cannot find a valid oraInst.loc file to locate Central Inventory.OPatch failed with error code 104"
Note: 604735.1 - OPatch failed with error code 104 when using OPATCH
I know there are around 3 homes so everybody will have there different inventorries
1)But i am also confused that which is central inventory and which is local ?
2)when patching oracle home's opatch should see the local inventory of that oracle home?RIGHT,If it is right then whats the use of central inventory?
3)please let me know how to proceed now coz in linux oraInst.loc should be located in /etc as oracle looks in /etc as default in linux but it is not there...If it is there also how it will point to 3 oracle homes?and if it point to 3 oracle homes then how the opacth will know which products are installed in that home and whicch oracle hoem to be patched?Please see these documents.
Note: 295185.1 - How to Recreate the Global oraInventory
Note: 360079.1 - Global and Local Inventory explained
one thing comming in my mind is when ever i am patching different home i need to change the oracle_home path in the /etc/oraInst.loc..and before doing that i need to create a file there or copy from some were else?If you complete the cloning steps successfully including ORACLE_HOMEs registration, you should have no issues in patching the instances.
Regards,
Hussein -
Error in applying the patch to OBIEE 11.1.1.6.8
When I try to apply the opatch apply command, below is the error I am getting. I am not able to find the resolution for this. I am not understanding the problem by looking at this.
optach failed with error code 1
C:\Middleware\Oracle_BI1\16094198>opatch apply
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/7/0_4
5\lib;;C:\MIDDLE~1\ORACLE~1/modules/oracle/jrf_11/1/1/jrf-wlstman/jar;C:\MIDDLE~
1\ORACLE~1/modules/oracle/jrf_11/1/1/jrf-wlstman/jar
Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.7.0_45\lib;;C:\MIDD
LE~1\ORACLE~1.modules.oracle.jrf_11.1.1.jrf-wlstman.jar;C:\MIDDLE~1\ORACLE~1.mod
ules.oracle.jrf_11.1.1.jrf-wlstman.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: Files\Java\jdk1.7.0_45\lib;;C:\MIDDLE~1\ORACLE~1/
modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\MIDDLE~1\ORACLE~1/modules/oracle.jr
f_11.1.1/jrf-wlstman.jar. Program will exit.
I have installed OBIEE 11.1.1.6.0 version on windows 64 bit machine and later on I tried to apply the patch to upgrade it to 11.1.1.6.8 . Once I received above error , I thought of cross checking the PATH & Java_Home environment variables from my machine and below are snapshots of them.
Java Home : C:\Program Files\Java\jdk1.7.0_45\bin
Path: C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\Program Files (x86)\RSA SecurID Token Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Middleware\Oracle_BI1\products\Essbase\EssbaseServer\bin;C:\Middleware\Oracle_BI1\bin;C:\Middleware\Oracle_BI1\opmn\bin;C:\Middleware\Oracle_BI1\opmn\lib;C:\Middleware\Oracle_BI1\perl\bin;C:\Program Files\Java\jdk1.7.0_45\bin
below are the commands executed in the first step before applying opatch apply on 16094198
set ORACLE_HOME=C:\Middleware\Oracle_BI1
set PATH=%ORACLE_HOME%\bin;%PATH%
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%JAVA_HOME%\bin;%PATH%
set PATH=%ORACLE_HOME%\OPatch;%PATH%
Any inputs on how to resolve this opatch problem will be greatly appreciated. Please let us know if I have to make any change in the environmental variables or in these set commands stated above.
Thanks in advance.Heelo Srini,
I have updated my JAVA_HOME system variable in environmental variables section as stated below
User variables:
JAVA_HOME : C:\Program Files\Java\jdk1.7.0_45
PATH : %JAVA_HOME%\bin
System variables:
ClassPath: C:\Program Files\Java\jdk1.7.0_45\lib;
Path: C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\Program Files (x86)\RSA SecurID Token Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Middleware\Oracle_BI1\products\Essbase\EssbaseServer\bin;C:\Middleware\Oracle_BI1\bin;C:\Middleware\Oracle_BI1\opmn\bin;C:\Middleware\Oracle_BI1\opmn\lib;C:\Middleware\Oracle_BI1\perl\bin;C:\Program Files\Java\jdk1.7.0_45\bin
Later I tried to apply the patch but I got the below error
C:\Middleware\Oracle_BI1\16094198>opatch apply
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/7/0_4
5\lib;;C:\MIDDLE~1\ORACLE~1/modules/oracle/jrf_11/1/1/jrf-wlstman/jar;C:\MIDDLE~
1\ORACLE~1/modules/oracle/jrf_11/1/1/jrf-wlstman/jar
Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.7.0_45\lib;;C:\MIDD
LE~1\ORACLE~1.modules.oracle.jrf_11.1.1.jrf-wlstman.jar;C:\MIDDLE~1\ORACLE~1.mod
ules.oracle.jrf_11.1.1.jrf-wlstman.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: Files\Java\jdk1.7.0_45\lib;;C:\MIDDLE~1\ORACLE~1/
modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\MIDDLE~1\ORACLE~1/modules/oracle.jr
f_11.1.1/jrf-wlstman.jar. Program will exit.
OPatch failed with error code = 1
Please provide any inputs.
Thanks & regards,
karthik Vecham -
Opatch lsinventory -InvPtrLoc Location problem
9.2.0
Sun Solaris
Hi all,
I have mentioned the oraInst.loc location explicitly while running opatch but still it taking from other defualt location, any idea ?
$ opatch lsinventory -InvPtrLoc */oracle/TEST/product/9.2.0/oraInst.loc*
Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home : /oracle/TEST/product/9.2.0
Oracle Home Inventory : /oracle/TEST/product/9.2.0/inventory
Central Inventory : /u001/oracle/oraInventory
from : */var/opt/oracle/oraInst.loc*
OUI location : /oracle/TEST/product/9.2.0/oui
OUI shared library : /oracle/TEST/product/9.2.0/oui/lib/solaris/liboraInstaller.so
Java location : /oracle/TEST/product/9.2.0/jdk/jre/bin/java
Log file location : /oracle/TEST/product/9.2.0/.patch_storage/<patch ID>/*.log
Creating log file "/oracle/TEST/product/9.2.0/.patch_storage/LsInventory__09-10-2009_13-13-39.log"
Result:
LsInventory: OPatch Exception while accessing O2O
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
There is no Interim Patch
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem.Thanks
Nisanth SanthanAs with all Oracle products Opatch probably has changed over time.
It was introduced in 9.2.0.6 You report 9.2.0 which is an invalid, non-existing version number.
As far as I remember Opatch simply doesn't work for older 9.2 versions.
Also it is quite likely initially it wasn't possible to specify the inventory location on the commandline.
Without further info from your side, it simply looks like you are running an incorrect version of opatch against an incorrect version of the database. It is not surprising this results in exceptions, and those can also not be addressed.
Please make sure you are running correct software.
If you think this analysis is in error make sure you post complete and correct version info upfront.
Sybrand Bakker
Senior Oracle DBA -
ERROR: OPatch failed because of problems in patch area - 8920270
Hi
I am Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12
Below mentioned is the error i am getting
[applmgr@TESTEBS 8920270]$ export PATH=$ORACLE_HOME/bin:$PATH:$ORACLE_HOME/OPatch
[applmgr@TESTEBS 8920270]$ 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 : /testr12/apps/apps/tech_st/10.1.2
Oracle Home Inventory : /testr12/apps/apps/tech_st/10.1.2/inventory
Central Inventory : /testr12/apps/apps/inst/apps/PROD_testebs/admin/oraInventory
from : /etc/oraInst.loc
OUI location : /testr12/apps/apps/tech_st/10.1.2/oui
OUI shared library : /testr12/apps/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so
Java location : /testr12/apps/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location : /testr12/apps/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
The patch directory area must be a number.
ERROR: OPatch failed because of problems in patch area.
Please help me to solve this issue..
Regards
Niranjanplease confirm
Ensure that you select version '10.1.0.0.0' from the 'Select a Release' drop-down when downloading the opatch
please check whether you have read me file in the patch directory or not
if you have any pre requisite to perform please do it
Error: OPatch Failed Because of Problems in Patch Area [ID 1281504.1]
Opatch 1.0.0.0.55 Fails With Error 'The Patch Directory Area Must Be A Number' [ID 394601.1]
Error Applying Patch Using OPatch "This version of OPatch is obsolete." [ID 762403.1]
AppsMasti
sharing is Caring -
ERROR: OPatch failed because of problems in patch area.
Hiii...,
Im Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12.
Im applying one of the additional patches 9357237 as discussed in the metalink document
Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12 [ID 437878.1].
Im getting the following error while applying the patch
Oracle Home : /u02/oracle/PROD/apps/tech_st/10.1.2
Oracle Home Inventory : /u02/oracle/PROD/apps/tech_st/10.1.2/inventory
Central Inventory : /u02/app/oraInventory
from : /etc/oraInst.loc
OUI location : /u02/oracle/PROD/apps/tech_st/10.1.2/oui
OUI shared library : /u02/oracle/PROD/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so
Java location : /u02/oracle/PROD/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location : /u02/oracle/PROD/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
The patch directory area must be a number.
ERROR: OPatch failed because of problems in patch area.
Im using OPatch version: 1.0.0.0.64.
when i downloaded nd unzipped the patch it comes like this
[oracle@msftrac2 patches]$ cd 9357237/
[oracle@msftrac2 9357237]$ ls -l
total 132
drwxr-xr-x 4 oracle oinstall 4096 Apr 13 2010 8447875
drwxr-xr-x 5 oracle oinstall 4096 Apr 13 2010 9352208
drwxr-xr-x 4 oracle oinstall 4096 Apr 13 2010 9357234
-rw-r--r-- 1 oracle oinstall 84630 Apr 13 2010 README.html
-rw-r--r-- 1 oracle oinstall 67 Apr 13 2010 README.txt
-rwxr-xr-x 1 oracle oinstall 2258 Apr 13 2010 remove_demo.sh
Can anyone help me in resolving the problem.??..waiitng for your suggestions...
Thanks and regards..Hii..,
when i downloaded nd unzipped the patch, the patch directory contains the following.
oracle@msftrac2 patches]$ cd 9357237/
[oracle@msftrac2 9357237]$ ls -l
total 132
drwxr-xr-x 4 oracle oinstall 4096 Apr 13 2010 8447875
drwxr-xr-x 5 oracle oinstall 4096 Apr 13 2010 9352208
drwxr-xr-x 4 oracle oinstall 4096 Apr 13 2010 9357234
-rw-r--r-- 1 oracle oinstall 84630 Apr 13 2010 README.html
-rw-r--r-- 1 oracle oinstall 67 Apr 13 2010 README.txt
-rwxr-xr-x 1 oracle oinstall 2258 Apr 13 2010 remove_demo.sh
Is this an issue..??...
Thanks... -
Opatch 5716143 and problems!! ( 10gr2, windows2003 server)
Hi. all
I have applied the patch set of "p4547817_10202_WINNT" to a database
10.2.0.1.0. Now, the database is the version of 10.2.0.2.0 and is running.
I tried to apply the patch of 5716143 to the database of 10.2.0.2.0.
According to the readme file,
1. I stopped all oracle-related services.
2. run "opatch apply"
It seems that there is no problem, but
I got the problem (fail to copy "oci.dll" because it is used now).
But, I stopped all oracle-related services.
Is there anyone who has an experience of applying the patch 5716143
on windows ??
Best Regards.
Message was edited by:
user507290Hi,
it's a problem with windows memory.
There should be a process still using that dll.
You can try to use a tool to kill it or simply restart windows..
To be sure, try by rename bin folder under oracle home and then restart.
Acr -
Opatch application problem...
When trying to run opatch at database level we are getting the following error
opatch -lsinventory
opatch:command not found.
The database env file is set and still we are facing this error.What is the solution to solve this error?
Regards,
RupdiptHi,
Add the directory where opatch is located to the PATH and check then. For example, if you have opatch under "/u01/oracle/testdb/10.2.0/OPatch", add this directory to the PATH (export PATH=/u01/oracle/testdb/10.2.0/OPatch:$PATH) and check then.
Regards,
Hussein -
Problem when install patch 733034 using OPatch
Hi everyone,
Recently I tried to install patch 733034 using OPatch 10.2.0.4.5. I've run opatch lsinventory in 733034 folder and it reported: "OPatch succedeed" at end of its report. But when tried to run opatch apply, then it raised error, like below. Could someone help me how I can solve this error?
Thanks.
====================================================================================
Invoking OPatch 10.2.0.4.5
Oracle Interim Patch Installer version 10.2.0.4.5
Copyright (c) 2008, Oracle Corporation. All rights reserved.
Oracle Home : /home/oracle/oracle/product/10.2.0/client_1
Central Inventory : /home/soauser/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.5
OUI version : 10.2.0.1.0
OUI location : /home/oracle/oracle/product/10.2.0/client_1/oui
Log file location : /home/oracle/oracle/product/10.2.0/client_1/cfgtoollogs/opatch/opatch2009-01-27_16-34-05PM.log
Patch history file: /home/oracle/oracle/product/10.2.0/client_1/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '7337034' to OH '/home/oracle/oracle/product/10.2.0/client_1'
Running prerequisite checks...
Patch 7337034: Optional component(s) missing : [ oracle.tip.pcbpel.runtime, 10.1.3.4.0 ] , [ oracle.tip.esb.runtime, 10.1.3.4.0 ]
Prerequisite check "CheckApplicable" failed.
The details are:
Patch is no-op patch.
ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 74It seems that you have wrong patch.
Maybe you should check again on metalink info about this patch. -
New Install: dbca problem on ubuntu 10.04
Hello List,
I want to install Oracle 11gR2 on my Ubuntu box which is running 10.04 Lucid:
oracle@z2:~/oh$ cat /etc/issue
Ubuntu 10.04.1 LTS
oracle@z2:~/oh$ uname -a
Linux z2 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux
The above command suggests to me that I am running 32bit Linux.
I downloaded the 32bit Oracle cdroms.
I read this link:
- http://www.pythian.com/news/13291/installing-oracle-11gr2-enterprise-edition-on-ubuntu-10-04-lucid-lynx/
I carefully followed the instructions there.
The instructions there are for 64 bit Linux. Like I said, my box is 32bit.
Here are the results of my libstdc++5 shoehorn-install:
oracle@z2:/usr/lib$ ll libstd*
lrwxrwxrwx 1 root root 18 2010-08-10 21:59 libstdc++.so.5 -> libstdc++.so.5.0.7
-rw-r--r-- 1 root root 737192 2010-08-10 21:58 libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 19 2010-08-09 13:54 libstdc++.so.6 -> libstdc++.so.6.0.13
-rw-r--r-- 1 root root 975088 2010-03-26 15:43 libstdc++.so.6.0.13
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$ file libstdc++.so.5.0.7
libstdc++.so.5.0.7: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$ file libstdc++.so.6.0.13
libstdc++.so.6.0.13: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$
The instructions suggest that I install some debian packages.
Here are my results for that task:
root@z2:/oracle/downloads/database# apt-get install unzip build-essential x11-utils rpm ksh lsb-rpm libaio1
Reading package lists... Done
Building dependency tree
Reading state information... Done
unzip is already the newest version.
build-essential is already the newest version.
x11-utils is already the newest version.
rpm is already the newest version.
ksh is already the newest version.
lsb-rpm is already the newest version.
libaio1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
The instructions described a software-only install so I did that.
I bumped into no problems.
After the install,
I added env vars to my .bashrc and got a new bash:
export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export PATH=$ORACLE_HOME/bin:$PATH
Then:
oracle@z2:~$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Sat Aug 14 18:03:00 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> exit
oracle@z2:~$ ln -s $ORACLE_HOME oh
oracle@z2:~$ ln -s $ORACLE_HOME 11gr2oh
oracle@z2:~$ cd oh
oracle@z2:~/oh$ OPatch/opatch lsinventory
Invoking OPatch 11.1.0.6.6
Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.1.0.6.6
OUI version : 11.2.0.1.0
OUI location : /oracle/app/oracle/product/11.2.0/dbhome_1/oui
Log file location : /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2010-08-14_18-06-29PM.log
Patch history file: /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2010-08-14_18-06-29PM.txt
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.1.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
OPatch succeeded.
oracle@z2:~/oh$
So far so good.
oracle@z2:~/oh$
oracle@z2:~/oh$ which dbca
/oracle/app/oracle/product/11.2.0/dbhome_1/bin/dbca
Then I tried dbca and it bombed:
oracle@z2:~/oh$
oracle@z2:~/oh$ dbca
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xb78476f3, pid=5883, tid=3077301952
# Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [ld-linux.so.2+0xd6f3]
# An error report file with more information is saved as hs_err_pid5883.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Aborted
oracle@z2:~/oh$
oracle@z2:~/oh$
oracle@z2:~/oh$ env|sort
DISPLAY=localhost:10.0
HOME=/oracle
JAVA_HOME=/java/jdk16
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/oracle/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
ORACLE_BASE=/oracle/app/oracle
ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=orcl
PATH=/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/java/jdk16/bin:/pt/jruby151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dan/bin:/pt/bin:.
SHELL=/bin/bash
TERM=dumb
USER=oracle
_=/usr/bin/env
oracle@z2:~/oh$
oracle@z2:~/oh$
oracle@z2:~/oh$ unset JAVA_HOME
oracle@z2:~/oh$
oracle@z2:~/oh$ export LD_LIBRARY_PATH=${ORACLE_HOME}/lib
oracle@z2:~/oh$
oracle@z2:~/oh$ export PATH=${ORACLE_HOME}/bin:/usr/bin:/bin:/usr/sbin:/sbin
oracle@z2:~/oh$
oracle@z2:~/oh$ which java
/usr/bin/java
oracle@z2:~/oh$
oracle@z2:~/oh$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3)
OpenJDK Server VM (build 16.0-b13, mixed mode)
oracle@z2:~/oh$
oracle@z2:~/oh$
oracle@z2:~/oh$ su
Password:
root@z2:/oracle/oh# mv /usr/bin/java /usr/bin/java16
root@z2:/oracle/oh#
root@z2:/oracle/oh# exit
oracle@z2:~/oh$ which java
oracle@z2:~/oh$
oracle@z2:~/oh$
oracle@z2:~/oh$ dbca
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xb785a6f3, pid=5953, tid=3077314240
# Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [ld-linux.so.2+0xd6f3]
# An error report file with more information is saved as hs_err_pid5953.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Aborted
oracle@z2:~/oh$
oracle@z2:~/oh$
I used these google keywords to search for clues:
google:
oracle ubuntu 10.04 dbca SIGSEGV ld-linux.so.2
I found no clues in Google.
So, I look for clues here.
Does anyone have any ideas on how do debug this error from dbca:
oracle@z2:~/oh$ dbca
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xb785a6f3, pid=5953, tid=3077314240
# Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [ld-linux.so.2+0xd6f3]
??I am running V11.2 on 64-bit Ubuntu
Below are some log files on my system.
You may be able to find similar ones on yours & they might contain additional clues.
/u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/logs
/u01/app/oracle/cfgtoollogs/dbca
/u01/app/oracle/cfgtoollogs/dbca/v112
/u01/app/oracle/cfgtoollogs/dbca/v112/mkplug_v3_v112.log
/u01/app/oracle/cfgtoollogs/dbca/v112/tts_example_imp.log
/u01/app/oracle/cfgtoollogs/dbca/v112/postDBCreation.log
/u01/app/oracle/cfgtoollogs/dbca/v112/rmanRestoreDatafiles.sql
/u01/app/oracle/cfgtoollogs/dbca/v112/trace.log
/u01/app/oracle/cfgtoollogs/dbca/v112/postScripts.log
/u01/app/oracle/cfgtoollogs/dbca/v112/OraDb11g_home1_v112_creation_checkpoint.xml
/u01/app/oracle/cfgtoollogs/dbca/v112/cloneDBCreation.log
/u01/app/oracle/cfgtoollogs/dbca/v112/CloneRmanRestore.log
/u01/app/oracle/cfgtoollogs/dbca/v112/lockAccount.log
/u01/app/oracle/cfgtoollogs/dbca/v112/emConfig.log
/u01/app/oracle/cfgtoollogs/dbca/trace.log_OraDb11g_home1
bcm@bcm-laptop:~$ uname -a
Linux bcm-laptop 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux -
Opatch issue while applying the patch 6400501
upgrading the database with R12.0.6 for database from 10g to 11g.
as per pre-requisites we have to apply the iAS patch 6400501 According to the doc id 1058763.1
we are applying the 10.1.0.5 version of patch 6400501 to the 10.1.2 Oracle Home
This inventory is not containing the information for this oracle home
the environment is set to the ORACLE_HOME correctly.
We are getting the following error
$ opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home : /applprod/apps/tech_st/10.1.2
Oracle Home Inventory : /applprod/apps/tech_st/10.1.2/inventory
Central Inventory : /home/oraprod/oraInventory
from : /etc/oraInst.loc
OUI location : /applprod/apps/tech_st/10.1.2/oui
OUI shared library : /applprod/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
Java location : /applprod/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location : /applprod/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
Creating log file "/applprod/apps/tech_st/10.1.2/.patch_storage/LsInventory__04-27-2011_12-06-13.log"
Result:
LsInventory: OPatch Exception while accessing O2O
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
There is no Interim Patch
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem.
$
Regards
Kkafter running this command i got the error
opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
i got the error
$ opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home : /applprod/apps/tech_st/10.1.2
Oracle Home Inventory : /applprod/apps/tech_st/10.1.2/inventory
Central Inventory : /home/oraprod/oraInventory
from : /applprod/apps/tech_st/10.1.2/oraInst.loc
OUI location : /applprod/apps/tech_st/10.1.2/oui
OUI shared library : /applprod/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
Java location : /applprod/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location : /applprod/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
Creating log file "/applprod/apps/tech_st/10.1.2/.patch_storage/LsInventory__04-27-2011_16-04-46.log"
Result:
LsInventory: OPatch Exception while accessing O2O
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
There is no Interim Patch
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem. -
Download this patch from oracle metalink
This Bug for Linux x86 for oracle server 10.1.0.2
Bugs Fixed by this patch:
# 3520157 : CREATE INDEX USES EXISTING INDEX (IDX FAST FULL SCAN) AND RUNS SLOWER THAN TABLE
steps followed
for oracle_home
$export ORACLE_HOME=/home/APP/ORACLE/product/10.1.0/db_1
$/home/APP/ORACLE/product/10.1.0/db_1/OPatch/opatch apply
PERL5LIB=/home/APP/ORACLE/product/10.1.0/db_1/perl/lib/5.6.1:/home
/APP/ORACLE/product/10.1.0/db_1/OPatch/perl_modules; export PERL5LIB
/home/APP/ORACLE/product/10.1.0/db_1/perl/bin/perl /home/APP/ORACL
E/product/10.1.0/db_1/OPatch/opatch.pl apply
OPatch Version 1.0.0.0.47
Perl Version 5.006001
Oracle Home = /home/APP/ORACLE/product/10.1.0/db_1
Location of Oracle Inventory = /home/APP/ORACLE/product/10.1.0/db_1/inven tory
Oracle Universal Installer shared library = /home/mandar/APP/ORACLE/product/10.1 .0/db_1/oui/lib/linux/liboraInstaller.so
Path to Java = /home/APP/ORACLE/product/10.1.0/db_1/jdk/jre/bin/java
Location of Oracle Inventory Pointer = /etc/oraInst.loc
Location of Oracle Universal Installer components = /home/APP/ORACLE/prod uct/10.1.0/db_1/oui
Required Jar File under Oracle Universal Installer = jlib/OraInstaller.jar
/home/APP/ORACLE/product/10.1.0/db_1/OPatch/opatch.pl version: 1.0.0.0.47
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.
Cannot set up OUI inventory session
ERROR: OPatch failed because of Inventory problem.
$The error is due to the fact that, contrary what written in the documentation, the services shouldn't be restarted until the update process is completed
-
Problem while applying BP02 for OIM 11.1.1.5.0
We have OIM-OAM integrated environment enabled with ldapsynch (OID/OVD). We are applying BP02 for OIM 11.1.1.5.0. We followed all the steps provided in the read me doc.
1. Running latest Opatch
2. Setting the environement variables
3. Configuring Weblogic.profile
4. Applying SOA patch 13106312
5. Applied OIM patch 13399365
6. Running patch_weblogic.sh
But while doing the 6th step "Running patch_weblogic.sh" we are facing below exception.
patch:
[echo] unzipping the archives.....
explode-archived-apps:
[delete] Deleting directory /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/apps/oim.ear
[delete] Deleting directory /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/apps/Nexaweb.ear
[mkdir] Created dir: /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/apps/oim.ear
[mkdir] Created dir: /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/apps/Nexaweb.ear
[unzip] Expanding: /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/patching/oim.ear into /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/apps/oim.ear
[unzip] Expanding: /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/patching/Nexaweb.ear into /FS2/oracle/apps/MWHOME/Oracle_IDM1/server/apps/Nexaweb.ear
[echo] archives unzipped successfully.....
[echo] seeding the out of the box jobs into db
seed-ootb-jobs:
seed-ootb-jobs:
[echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS
[java] Feb 9, 2012 1:00:26 PM org.quartz.core.QuartzScheduler <init>
[java] INFO: Quartz Scheduler v.1.6.0 created.
[java] Feb 9, 2012 1:00:27 PM org.quartz.impl.jdbcjobstore.JobStoreSupport initialize
[java] INFO: Using thread monitor-based data access locking (synchronization).
[java] Exception in thread "Main Thread" java.lang.Exception: Unable to seed scheduler data due to configuration problems. Contact System Administrator
[java] at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:770)
[java] at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:113)
As it is one of high priority task Can any one help by providing your inputs at earliest ?Hello All,
Still we haven't able to resolve this issue. We already have SR with oracle. So many logs were captured.
Below is the snippet of seedSchedulerdata.log
${work.dir}Entered Validate methodExiting Validate method------------------------------------------------------------
Start seeding task
job name--> Password Expiration Task
schTaskName--> Password Expiration Task
task class name--> com.thortech.xl.schedule.tasks.tcTskPasswordExpiration
task job disable--> 0
task frequency--> DAILY
task maxRetries--> 5
task retryCount--> 0
task paramName--> Email Definition Name
task paramValue--> Password Expired
task paramTpe--> String
Updating Job :Password Expiration Task with keys
java.lang.Exception: Unable to seed scheduler data due to configuration problems. Contact System Administrator
at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:770)
at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:113)
If any of them faced such issue please help.
Thanks
DK
Maybe you are looking for
-
Solution for error: plugins required
Hi all, I'm trying to help a new client who's current designer is going out of town. I have CS2 but I'm unable to open any of the files the client has forwarded. My guess is that the other designer has a newer version. (The error refers to plug-in
-
I have reset my mac book but password and username isnt accepted
having serious problems doing anything with my mac as udername and password keeps being rejected
-
Hi! Is there a smart way to search in an array of clusters. For example: You have an array of a cluster with a digital control and a string control. And you want to search for a specific value in the digital control. What is the best way to that? Is
-
OCA_DEBUG_ERROR & OCA_DEBUG_SQL
I want to use OCA_DEBUG_ERROR and OCA_DEBUG_SQL entries to the registry. My DB is Oracle 8.1.6, forms 6.0.8 Please I want to know the way to use it, What I have to do? Thanks. (I am spanish, sorry but my English is bad)
-
Hi guys During my using ODI found error message as below. any one can help, thanks? ODI-1217: Session TTTTTT (123001) fails with return code 29913. ODI-1226: Step TTTTTT fails after 1 attempt(s). ODI-1240: Flow TTTTTT fails while performing a Loading