Opatch lsiventory is not working
HI,
I set the proper the oracle home.
As Oracle user i ran the opatch lsiventory and its not working
'command not found'
Can u plz help me out.
thanks
Vijay
AliD wrote:
>
Has nothing to do with setting ORACLE_HOME and absolutely nothing to do with ORACLE_SID. It is simply and purely the fact that the requested executable is not in a directory listed in the path. Purely an OS usage issue and the fact that the executable is from oracle is totally irrelevant.>
Wrong again! Has nothing to do with ORALCE_SID and has everything to do with ORACLE_HOME.The OS cant' find the executable. The OS does not use ORACLE_HOME in locating executable. The only way ORACLE_HOME comes into play is if you are referencing $ORACLE_HOME when you set up your PATH. But the fact remains, it is purely an OS $PATH issue.
>
[asxora@dfbi203 ~]$ export PATH=$PATH:/d1/oracle/product/11gr2/db_1/OPatch
[asxora@dfbi203 ~]$ opatch lsinventory
Oracle Home is not set. OPatch cannot proceed!
OPatch returns with error code = 1
[asxora@dfbi203 ~]$ export ORACLE_HOME=/d1/oracle/product/11gr2/db_1
[asxora@dfbi203 ~]$ opatch lsinventory
Invoking OPatch 11.1.0.6.6The above shows that opatch itself requires OH to be set, but that is not the error the OP was reporting. He never got far enough for opatch to fail because the OS could not even find the opatch executable to launch it.
>
Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
*EDIT -- * In fact, if you don't set ORACLE_HOME, you can pass it to the opatch with -oh parameter.opatch lsinventory -oh /d1/oracle/product/11gr2/db_1Edited by: AliD on Jun 7, 2011 8:50 PM - Added ORACLE_HOME part
Edited by: AliD on Jun 7, 2011 8:54 PM
Similar Messages
-
Opatch lsinventory command not working
Hello everyone ;
DB VERSION : 10.2.0.4.0
OS : OEL 5.5
Where can i get installed patch details on my database ?
$ pwd
/u01/app/oracle/product/10.2.0/db_1/OPatch
$ opatch lsinventory
bash: opatch: command not found
opatch lsinventory -details
bash: opatch: command not found
select * from sys.registry$history;
ACTION_TIME ACTION NAMESPACE VERSION ID COMMENTS
25-SEP-13 05.11.06.473974 AM UPGRADE SERVER 10.2.0.4.0 Upgraded from 10.2.0.1.0
Thanks ..8f953842-815b-4d8c-833d-f2a3dd51e602 wrote:
Hello everyone ;
DB VERSION : 10.2.0.4.0
OS : OEL 5.5
Where can i get installed patch details on my database ?
$ pwd
/u01/app/oracle/product/10.2.0/db_1/OPatch
$ opatch lsinventory
bash: opatch: command not found
Look at the error message. bash (the shell processor) is telling you it couldn't find an executable named 'opatch'. And why couldn't he? Because, unlike Windblows., *nix doesn't by default search the current directory to find executables. He searches only the directories listed in the path, or else you have to tell it explicitly where to find the referenced executable.
YOu could do any of the following:
./opatch lisinventory
(telling bash to look in the current directory .. that's what the 'dot' does
or
/u01/app/oracle/product/10.2.0/db_1/OPatch/opatch lsinventory
(telling bash the full path to the executable)
or
export PATH=$ORACLE_HOME/OPatch:$PATH
opatch lsinventory
(adding the directory containing the executable to the PATH.
opatch lsinventory -details
bash: opatch: command not found
If bash couldn't find opatch, he can't find opatch, regardless of what command line parms you may be asking it to pass to opatch if he did find it.
select * from sys.registry$history;
ACTION_TIME ACTION NAMESPACE VERSION ID COMMENTS
25-SEP-13 05.11.06.473974 AM UPGRADE SERVER 10.2.0.4.0 Upgraded from 10.2.0.1.0
Thanks .. -
Opatch lsinventory does not work
Oracle 9.2.0.8
We just applied JanCPU patch on this box. When I try to do
opatch lsinventory it gives
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
ource
at opatch.LsInventory.getOneOffList(LsInventory.java:671)
at opatch.LsInventory.main(LsInventory.java:243)
Thank youYou need a global what will direct you to the OPatch directory/file system or be sitting at that location and issue the command to get your results
Message was edited by:
user458199 -
Hi all!
I'm trying to apply a patch and it's not working. I've searched the web, metalink included and nothing... plus, the version numbers confuse me. Please advise.
Thanks in advance!
Here goes the apply verbose output (I'm sorry for the long output):
[oracle10@as1 6370967]$ opatch apply -verbose
Oracle Interim Patch Installer version 1.0.0.0.63
Copyright (c) 2009 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 : /opt/oracle/product/10g
Oracle Home Inventory : /opt/oracle/product/10g/inventory
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OUI location : /opt/oracle/product/10g/oui
OUI shared library : /opt/oracle/product/10g/oui/lib/linux/liboraInstaller.so
Java location : /opt/oracle/product/10g/jre/1.4.2/bin/java
Log file location : /opt/oracle/product/10g/.patch_storage/<patch ID>/*.log
OPatch Version 1.0.0.0.63
Perl Version 5.008003
Performing pre-patch installation checks.
.patch_storage exists, checking its perms and changing it if necessary.
Creating log file "/opt/oracle/product/10g/.patch_storage/6370967/Apply_6370967_03-26-2010_15-15-05.log"
Starting OPatch Apply session at 03-26-2010_15-15-05.
Command arguments parsed by OPatch are: apply -verbose
OPatch version is: 1.0.0.0.63
The contents of the file: /etc/oraInst.loc
inventory_loc=/opt/oracle/oraInventory
inst_group=oinstall
Performing RAC prerequisite checks...
Accessing inventory ... (retry 10 times, delay 30 seconds each time)
System Command: /opt/oracle/product/10g/jre/1.4.2/bin/java -Doracle.installer.invPtrLoc=/etc/oraInst.loc -Dopatch.retry=10 -Dopatch.delay=30 -classpath "/opt/oracle/product/10g/oui/jlib/OraInstaller.jar:/opt/oracle/product/10g/oui/jlib/srvm.jar:/opt/oracle/product/10g/OPatch/jlib/opatch.jar:/opt/oracle/product/10g/oui/jlib/xmlparserv2.jar:/opt/oracle/product/10g/oui/jlib/share.jar:/opt/oracle/product/10g/jlib/srvm.jar" opatch/O2O "/opt/oracle/product/10g" "/opt/oracle/product/10g/oui" opatch.pl 1.0.0.0.63
Result:
output to OPatch:
NODE_LIST=NULL
NODE_COUNT=0
LOCAL_NODE=NULL
IS_CFS=0
RAC_CODE=0
HOME_INDEX=1
This is not a RAC system
Backing up the rollback script as "/opt/oracle/product/10g/.patch_storage/6370967/rollback_6370967.sh_03-26-2010_15-15-06"
Interim Patch ID: 6370967
Checking the patch inventory.
Component Name: oracle.rdbms.rsf
Component Version: 10.2.0.3.0
This is a rolling patch.
Bugs fixed by this patch 6370967:
6370967 : TLS 1.0 HANDSHAKE FAILS WHEN THE CLIENT IS RUNNING ON VISTA
Reading patch XML files and doing sanity checks.
Read the command to action file map.
Performing initial safety check.
Oracle Configuration Manager (OCM) is included with this release of OPatch.
This is a OCM patch.
Home has OCM installed but not configured.
Invoking fuser to check for active processes.
Skipping invocation of fuser on "/opt/oracle/product/10g/bin/oracle" as the file does not exist or is a directory.
Checking active processes:
Accessing inventory ... (retry 10 times, delay 30 seconds each time)
System Command: /opt/oracle/product/10g/jre/1.4.2/bin/java -Doracle.installer.invPtrLoc=/etc/oraInst.loc -Dopatch.retry=10 -Dopatch.delay=30 -classpath "/opt/oracle/product/10g/oui/jlib/OraInstaller.jar:/opt/oracle/product/10g/oui/jlib/srvm.jar:/opt/oracle/product/10g/OPatch/jlib/opatch.jar:/opt/oracle/product/10g/oui/jlib/xmlparserv2.jar:/opt/oracle/product/10g/oui/jlib/share.jar" opatch/CheckConflict "/opt/oracle/product/10g/oui" "/opt/oracle/product/10g" opatch.pl 1.0.0.0.63 6370967 "6370967 " "/home/oracle10/ano/as/9_patch_6370967/6370967/etc/config/actions" "/home/oracle10/ano/as/9_patch_6370967/6370967/etc/config/inventory"
Result :
MISSING_COMPONENT : oracle.rdbms.rsf, 10.2.0.3.0
MISSING_COMPONENT : oracle.rdbms.rsf, 10.2.0.3.0
ERROR: OPatch failed during prerequisite check.
And the lsinventory output:
[oracle10@as1 6370967]$ opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.63
Copyright (c) 2009 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 : /opt/oracle/product/10g
Oracle Home Inventory : /opt/oracle/product/10g/inventory
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OUI location : /opt/oracle/product/10g/oui
OUI shared library : /opt/oracle/product/10g/oui/lib/linux/liboraInstaller.so
Java location : /opt/oracle/product/10g/jre/1.4.2/bin/java
Log file location : /opt/oracle/product/10g/.patch_storage/<patch ID>/*.log
Creating log file "/opt/oracle/product/10g/.patch_storage/LsInventory__03-26-2010_15-11-32.log"
Result:
Installed Patch List:
=====================
1) Patch 8555288 applied on Fri Mar 05 15:52:21 WET 2010
Unique Patch ID: 11437032
[ Bug fixes: 8555288 ]
OPatch succeeded.
###############################################3Tell us about the product, type of OAS, version and what patch are you trying to apply.
Frankly, digging from the logs of your output some of this information and you would get fewer responses than what you would get if you introduce your system.
thanks,
AMN -
Sqlplus is not working after oracle 10g client installatio on linux server
Him
jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
# Set up the shell variables:
EDITOR=vi
export EDITOR
### Set the umask
umask 022
### Set ulimit
#ulimit -u 16384
#ulimit -n 65536
### Set Oracle Environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
export LIB_PATH=$ORACLE_HOME/lib
export ORATAB=/etc/oratab
export NLS_LANG=american_america.we8iso8859p1
export THREADS_FLAG=native
echo ' '
echo 'Oracle 10G environment has been setup'
echo 'Export the ORACLE_SID to target database before connecting'
echo ' '841731 wrote:
Him
jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
# Set up the shell variables:
EDITOR=vi
export EDITOR
### Set the umask
umask 022
### Set ulimit
#ulimit -u 16384
#ulimit -n 65536
### Set Oracle Environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
export LIB_PATH=$ORACLE_HOME/lib
export ORATAB=/etc/oratab
export NLS_LANG=american_america.we8iso8859p1
export THREADS_FLAG=native
echo ' '
echo 'Oracle 10G environment has been setup'
echo 'Export the ORACLE_SID to target database before connecting'
echo ' '" sqlplus is not working" is not an actionable error message. Unfortunately, you didn't show us what happens when you try to execute sqlplus.
Essentially, what you've done is the equivalent of 'here's a picture of my garage. Why won't my car start?' -
Hello All,
I recently installed Oracle 12c and Apex 5 on a new server.
My apex 5 install went fine. I can access it without a problem on the root on it's default port 8080.
Afterwards, I created a new pdb (cloned from pdborcl) and created a new schema.
as sysdba, I started a new Apex instance on port 8888, but when I try to access it via http://ipaddress:8888/apex/ or http://ipaddress:8888/apex/apex_admin, I get an error (See images below)
Can someone please point me in the right direction.
Should I be doing a fresh apex 5 install on the PDB? I thought that if I installed as sysdba on the cdb, the pluggable DB's would inherit apex 5. Please help
ERR-7620 Could not determine workspace for application (4500)
ORA-01403: no data found
(NOT WORKING ON PDB)
(WORKING ON ROOT)Hi John,
The issue you reported is the exact issue you will encounter if database patch 20618595 is not applied prior to upgrading APEX to 5.0. In addition to the opatch apply step, did you also run $ORACLE_HOME/OPatch/datapatch? When you ran that, did you ensure all pluggable databases were open after starting the database back up by issuing alter pluggable database all open?
Finally, you indicated that you installed this on a new server. Is your main interest simply to have a new 12c CDB with APEX 5.0 in it? If so, you can do the following to avoid the issue you are currently encountering.
1) Create a new 12c CDB
2) Connect as SYS as SYSDBA to CDB$ROOT and run a 4.2.5 or later version of apxremov_con.sql. If the database you created in step 1 is 12.1.0.2, you can simply use $ORACLE_HOME/apex/apxremov_con.sql
3) Connect as SYS as SYSDBA to CDB$ROOT and run apexins.sql from the 5.0 source specifying the positional parameters as you normally would
Regards,
Jason -
Not work tablet UI on Prestigio 5080 PRO tablet
I read that browser.ui.layout.tablet = "1" can fix this problem. But it not works. I can work only in pnone interface that is not good for my 8'' tablet.
Would it be possible for you to share the problematic pdf and OS information with us at [email protected] so that we may investigate?
Thanks,
Adobe Reader Team -
Why self-defined access sequences of free goods can not work?
Hi gurus,
I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
when i used the standard access sequences ,it is OK .
Can anybody tell me why?
thanks in advanceDear Sandy,
Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
Make sure that these fields are flowing in your sales order.
I hope this will help you,
Regards,
Murali. -
Adobe bridge raw not working with windows vista in photoshop cc, why?
adobe bridge raw not working in photoshop cc, is there a fix?
Your sure your using photoshop cc on windows vista?
I was under the impression that photoshop cc would not even install on windows vista.
What version of camera raw do you have?
In photoshop under Help>About Plugin does it list Camera Raw and if so which version is it?
(click on the words Camera Raw to see the version)
Camera raw doesn't work if it's a camera raw file or some other file type such as jpeg or tif?
What camera are the camera raw files from?
Officially camera raw 8.3 is the latest version of camera raw that will work on windows vista. -
Adobe Bridge CS5 in windows 7 not working?
Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
Tried to install creative cloud..again some error. Error code : 82
Could you please advice how I can fix my adobe bridge.https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager -
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
-and step by step http://forums.adobe.com/thread/1440508?tstart=0
-and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html -
Partner application logoff not working
We have a partner application registered with sso with custom login screen. The login works fine. We use the following code to logoff the partner application in logoff.jsp
response.setHeader("Osso-Return-Url", "http://my.oracle.com" );
response.sendError(470, "Oracle SSO");
session.invalidate();
but the logoff is not working properly. It is not invalidating the session and the logout http request is not going from the application server to the sso server.
Are there any additional configurations for SSO logoff.Any help is appreciated.
ThanksHi
The WF should also trigger if i add the Partner function in UI.If i change any Attribute the WF triggers but i dont want to change the attribute when i add the partner function.
If i have only one event for WF that is Partner Change the WF will not trigger it for the 1st time when i save the UI. But next i come to the same saved doc and add a partner function then the Wf triggers.
So this means that Partner change is active.
the issue here is i need to trigger the WF on , the 1st time i save the UI, for which i wil be using Attribute Change and next time when i come back to saved doc the and add only the partner function and no changes are made to attributes the WF should again trigger.
Thanks
Tarmeem -
IPhone 4 Voice Memos not working/saving
Hi there,
I'm having trouble with my voice memos too. Up until yesterday they were working fine and now, even though the record button works, the stop button does not and I can only pause them. Worse again is that the button to go into the menu to view all voice memos is not working so I can't play them from my iPhone and nothing new is saving to my iTunes. Please help!I've always had the "Include Voice Memos" option selected. I think that only pertains to syncing voice memos from iTunes to the iPhone after it has been copied to iTunes. It has to be the new OS/iTunes not communicating that new memos have been recorded. For some reason they won't sync when I want them to, and then a few syncs later they magically appear.
By the way, I'm VERY comfortable with the iTunes and iPhone systems. I've been using iTunes for 5 years, and I've been recording class lectures with the iPhone voice memo app (and another app) for a couple years. It's not an error of not seeing that the memos were added; they don't exist in my library or music folders.
JUST OUT OF CURIOSITY, POST WHICH FIRMWARE YOU ARE RUNNING EXACTLY!!!
I'm on an iPhone 4, running firmware 4.0.1 -
Installed Premiere Pro CS4 but video display does not work?
I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
2) the UI is way too slow for my big beefy system.
My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
Any ideas how to solve this CS4 install issue?
RonI would like to thank Dan, Hunt, and Haram:
The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
My PC is brand new with the following "beefy" components:
Motherboard
nForce 790i SLI FTW
Features:
3x PCI Express x16 graphics support
PCI Express 2.0
NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
Overclocking tools
NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
ESA Certified
NVIDIA DualNet and FirstPacket Ethernet technology
Registered
CPU: Intel Core 2 Quad Q9550
S-Spec: SLAWQ
Ver: E36105-001
Product Code: BX80569Q9550
Made in Malaysia
Pack Date: 09/04/08
Features:
Freq.: 2.83 GHz
L2 Cache: 12 MHz Cache
FSB: 1333 MHz (MT/s)
Core: 45nm
Code named: Yorkfield
Power:95W
Socket: LGA775
Cooling: Liquid Cooled
NVIDIAGeForce GTX 280 SC graphics card
Features:
1 GB of onboard memory
Full Microsoft DirectX 10
NVIDIA 2-way and 3-way SLI Ready
NVIDIA PureVideo HD technology
NVIDIA PhysX Ready
NVIDI CUDA technology
PCI Express 2.0 support
Dual-link HDCP
OpenGL 2.1 Capaple
Output: DVI (2 dual-link), HDTV
Western Digital
2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
Features:
10,000 RPM, 3 Gb/sec transfer rate
RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
p/n: TW3X4G1333C9DHX G
product: CM3X2048-1333C9DHX
Features:
XMS3 DHX Dual-Path 'heat xchange'
2048 x 2 MB
1333 MHz
Latency 9-9-9-24-2T
1.6V ver3.2 -
Ideapad A1-07 tablet wifi-bluet​ooth does not work!
Hello everyone. As you can see from the title on my tablet is not working wifi and bluetooth. When turning wifi tablet is reset and continues to be off and on until it forcibly turns off, and when you turn it on again, and do not touch wifi everything is normal and there are no problems with resetting. Can someone help me and give suggestion to solve this stupid problem. I'm from Croatia and I'm bad with the English writing.
Hi
Welcome To Lenovo Community
Please perform a factory reset
Please ensure you have backed any important data before doing factory reset
Hold the volume down and the power till Lenovo logo appears .
System will boot into recover mode. Follow the instructions
Hope This Helps
Cheers!!!
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with Kudos!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter!
Maybe you are looking for
-
ITunes could not sync calendars to the iPod because sync server failed to
I have been having a problem with my iPod touch and syncing the calendar with my PC I keep getting this error message +iTunes could not sync calendars to the iPod "Peters iPod" because sync server failed to sync the iPod+ It could be coincidence but
-
F150 and problem with job deleted
Hi all, I have a problem with F150: we have made a dunning session, but the batch job was manually stopped and than deleted. Now I don't know how to delete the dunning run (all delete option are unabled), and if we execute another session the custome
-
I get a mesage when trying to download or update apps. "Unable to Download"
I am trying to update and download new apps. I get a error message - Unable to download Application - "app name" could not be downloaded at this time. I went into my internet and added - http://www. apple.com certificate. I also tried process agai
-
how can i run my itunes with all of my music through a backup drive to give me space on my original drive?
-
Exception in tomcat for java mail
pls tell me wat kinds of exception occurs. i already set up all jar files in classpath . if some one know uri for the jakarta mail talglib. show me good idea cheers