Query regarding perl in Oracle Home
Hi All,
One of my customers has asked the following question
There is Perl 5.6.1 present in OracleHome but I can't use it like Perl is meant to be, because there is no makemaker ... so I can't use modules provided by CPAN. I want to know if it is possible to use this Perl? What is the Oracle-Recommended-Way to use CPAN-Modules? That is I want to know how can I compile any perl module from CPAN with the perl present in Oracle Home
Thanks and Regards,
Geeta
Not sure exactly what you mean,
in unix box,
type
which perlwill show you which perl program system will choose to run without absolute path
of course if there's any perl under current path setting
If you want to run perl version under ORACLE_HOME as default, put this line first in your path
$ORACLE_HOME/Apache/perl/bin
in C shell it's like this
set path = ($ORACLE_HOME/bin /usr/sbin $path)
Similar Messages
-
i am using unix env and i need per ver 3 inorder to upgrade oracle from 9.2.0.4 to 9.2.0.7. some how it's reading per ver 2 from my unix env. question is there also anywhere else in oracle home that i need to look in other word how i can tell that oracle looking the perl in the oracle home or out side the home.
ThanksNot sure exactly what you mean,
in unix box,
type
which perlwill show you which perl program system will choose to run without absolute path
of course if there's any perl under current path setting
If you want to run perl version under ORACLE_HOME as default, put this line first in your path
$ORACLE_HOME/Apache/perl/bin
in C shell it's like this
set path = ($ORACLE_HOME/bin /usr/sbin $path) -
Query regarding OTG for Oracle 10g
Hi,
We need the OTG patch name for Oracle 10.2.0.5 to connect to DB2 database urgently. Please help asap.
Regards,
Rajiv.Patches come from https://support.oracle.com
-
Guidelines regarding directory structure for multiple Oracle homes on Unix!
Hi All,
Are there any guidelines published regarding directory structures that should be defined while using multiple Oracle homes on Unix/Linux box?
I am looking for guidelines regarding admin and oradata folders so that we dont accidentally mess up with the DB contents with a wrong Oracle home.
Its a development server with 8i and 10g. 11g might also get loaded on the same server in future.
Thanks in advance...
RegardsThanks Maran.
I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
Regards, -
Regarding Query/Where box in oracle forms
Hi,
I have a query regarding query/where box in oracle.
When I enter ":" in one of the field query box pops up and when I enter some query and press F12 to execute query.
The OK button has to be pressed twice to retrieve the result.
Can anyone please let me know why this is happening, instead of retreiving results at one go by pressing OK once.
When does query box pos up? I have to avoid hitting OK button on query box twice.
Thanks for your advice in advance.
Thanks,
KLC
Edited by: user5411765 on Nov 22, 2010 10:44 PMHi,
Were you able to get around this problem? I am facing the same and need help! :(
Regards,
Arun -
Regarding Multiple Oracle Homes
Hello,
Does all of the Oracle products support multiple homes ?
Can oracle 8i and oracle 8 products be kept in same oracle home ?
thanks
nullHi Raj,
To answer your first question, No, not all of Oracle products
support multiple homes. All Oracle7 products and all release
8.0.3 are non-multiple Oracle home products. Oracle 8i lite
cannot support multiple oracle homes either.
In regards to your second question, no Oracle8i and and Oracle
8.0 products cannot be kept in the same Oracle home. Releases
prior to 8.1.3 cannot be installed in an Oracle home that was
created by a release of 8.1.3, 8.1.4 or 8.1.5.
Hope that helps,
Thanks & Regards,
Sudi Narasimhan
Associate Consultant
Partner Services
Raj Thomas (guest) wrote:
: Hello,
: Does all of the Oracle products support multiple homes ?
: Can oracle 8i and oracle 8 products be kept in same oracle home
: thanks
null -
Linking oracle home with reinstalled os
Dear experts Plz solve my query
I am working on oracle 10g on windows xp
IN C:\ I HAVE INSTALLED OS
IN E:\ I have set my ORACLE_HOME
Now my os is corrupt so I installed os on C:\ again by formatting it But the registry entries have been updated
Is there any means throgh which I can link up my ORACLE_HOME with the newLY iNSTALLED OS.
Kindly give me guidance.
Thanks& Regards
AsifAssalamu alaikum Asif,
Since you have an operating system which does not know that you have oracle Installed, try the following:
- provide the "Oracle_home\bin" directory in your path so that it detects where the Oracle executables are residing.
- Also ensure to set the Oracle home and Oracle base.
- In windows since it uses the services to run certain application you will have to create a service for oracle using the "oradim" utility eg: oradim -new -sid orcl
- Before you start opening the sqlplus from cmd, first ensure you set you Oracle_sid, Oracle_home and then invoke sqlplus
Try the above and let me know if you find any difficulties in proceeding with this or you can also try the below option
- You can simply take a backup of the database via RMAN or logical backup via export and then use these to restore the database after reinstalling the Oracle software.
Regards
Asif Muhammad -
Query regarding updation thru a Procedure
Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru my Java application.
The submit procedure saves the XML data in the database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
I would like to display the new row with the new elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru
my Java application.
The submit procedure saves the XML data in the
database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by
adding new elements to the same row.This row now
contains additional XML elements.
I would like to display the new row with the new
elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with
the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
Khurram -
Need of Two Oracle Home in R12
I am a newbie apps dba and was going through the oracle documentation. Where I learnt that in r12 there are two ORACLE_HOME 10.2.0 and 10.3.0. I tried to research regarding the same but couldn't find anything conclusive enough that would clear my fundamentals regarding the need for having 2 ORACLE_HOME. Of what I have understood , 10.2.0 is Developer Home which hosts the Apache, forms server etc and 10.3.0 hosts the JAVA/html server etc. Is my understanding correct regarding the same ? and what is the use and advantage of having two Oracle Homes? Do explain me in laymen terms as I am still a newbie!
BhaviSavla;
I guess you dint understand what I have said!!! I HAVE ALREADY READ THAT THOUSAND TIMES!!! Please think double&triple time while you are talking wiht Hussein Sawwan about EBS related questions. I am sure about Hussein Sawwan understand your question as he understand other questions and already he has been answered your question(If you have ability to understand what you read)
I strongly suggest you about TO BE KIND-RESPECT with forum users which are trying to help other people here.
And I am still not able to understand the actual advantage of having TWO ORACLE_HOME...After read something, If you still understand than dont blame forum users. Choose easy way... Rise SR!
Kindly do not post just to increase your number of posts on this forum!! If you cannot help me in anyway with this, kindly do not post!If you dont follow OTN forum site consistently than DO NOT MAKE COMMENT about people here If the topic is Hussein Sawwan.
I must remind you something... He has more than 50k post wiht 51k points which mean he made post here like your_post_count*1500times... Wiht other words, his each post equal to 1 point, which mean his each post has meaning which are helpful!
Do you have capability to calculate how mch time he spend here?
Dont thing so!
Moderator, I belive this question is already answered If the poster read notes! Please close or lock this thread!
Thanks
Helios -
Multiple oracle home installation
I am going to install oracle 11g2 on hpux server. The server already has 10g on it and the plan is to run both for sometimes.
Unfortunately, IUnfortunately, I don’t have prior experience installing multi-homed oracle software and I
need help on how to supply the oracle home directory name to the installer:
Do I have to supply the installation (OUI) with the oracle home directory: i.e
Exiting oracle home: /u00/app/oracle/product/10.2.0/db_1
For the new oracle home: /u00/app/oracle/product/11.2.0/db_2
Is this correct?
thank you,
LouWhat I did was create two profiles. My OS is similar, but NOT the same
My default is Oracle 11.
However I need a way to go back between Oracle Homes so I created an "o10g.profile" and a "o11g.profile"
o10g.profile
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
export ORACLE_BASE=/u01/app/oracle
unset ORACLE_HOME
export ORACLE_HOME=/u01/app/oracle/product/10.2.0
#export DISPLAY=localhost:0.0
export TZ=CST6CDT
export ORA_OCI_NO_OPTIMIZED_FETCH=1
ORA_OCI_NO_OPTIMIZED_FETCH=1; export ORA_OCI_NO_OPTIMIZED_FETCH
export ORACLE_SID=STANDBY
export ORACLE_TERM=xterm
#export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
export NLS_LANG=AMERICAN;
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
# Set shell search paths
unset PATH
PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin; export PATH
export PATH=$PATH:$ORACLE_HOME/bin
#CLASSPATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibNotice the unset ORACLE_HOME at the top, this is key. Also the unset PATH.
Now compare it to my o11g.profile file
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
export ORACLE_BASE=/u01/app/oracle
unset ORACLE_HOME
export ORACLE_HOME=/u01/app/oracle/product/11.2.0
#export DISPLAY=localhost:0.0
export TZ=CST6CDT
export ORA_OCI_NO_OPTIMIZED_FETCH=1
ORA_OCI_NO_OPTIMIZED_FETCH=1; export ORA_OCI_NO_OPTIMIZED_FETCH
export ORACLE_SID=PRIMARY
export ORACLE_TERM=xterm
#export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
export NLS_LANG=AMERICAN;
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
# Set shell search paths
unset PATH
PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin; export PATH
export PATH=$PATH:$ORACLE_HOME/bin
#CLASSPATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibIts probably a great idea to review the document Srini refers to. However this is a short and sweet example. In my case I can issue a
source o10g.profileAnd be on Oracle 10. So to install the other version I created the profile for it and then then used it to switch to that ENV for the install.
Best Regards
mseberg -
Hi ,
I have some doubt which needs to be cleared.
If I will install multiple oracle home like ORACLE_HOME=/u01/app/oracle/product/10.1.0/asm
ORACLE_HOME=/u01/app/oracle/product/9.2.0
ORACLE_HOME=/u01/app/oracle/product/10.2.0
ORACLE_HOME=/u01/app/oracle/product/crs
Now in this when I will set export ORACLE_HOME then which version will be picked up.
Is ORAENV isgoing to come into picture.
Please throw some light on it.
Mkasifkabirdba wrote:
You have installed your oracle product (db,application server) using one of os user like oracle,appl,oraprod ect. When you log in to your OS by using OS user then .profile file executed automatically to export necessary environmental variables. You did not mention your OS. Normally you will find it to your OS user home directory. You can edit this file to set your desired ORACLE_HOME.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
ORACLE_HOME=/oracle/product/102
ORACLE_SID=ogtest
LD_LIBRARY_PATH=$ORACLE_HOME/lib
TNS_ADMIN=/oracle/product/102/network/admin/
export ORACLE_HOME
export ORACLE_SID
export LD_LIBRARY_PATH
export TNS_ADMIN
export PATH=$PATH:$ORACLE_HOME/bin
Regards
Asif KabirAsif,
Your advice to hard code the Oracle environment directly into the profile is poorly thought out. And a direct carry over of 'worst practices' unfortunately taught in some Oracle related classes.
The OP did correctly identify oraenv (as described in the "Administrator's Reference for UNIX-Based Operating Systems" at http://www.oracle.com/pls/db102/portal.portal_db?selected=4) as the preferred solution. Putting THAT into the profile (using ORAENV_ASK as described in the manual) is OK.
I'll leave you to figure out why the difference - I've posted many times about that in these forums.
/Hans -
Multiple Instances on single oracle home
Hi,
If i have multiple instances in a single oracle home
How can i know which instance is running (up)
to which table i fire query to find instances status
how to start single instance out of multiple instances
Thanks,
Mustangmustang4455 wrote:
Hi,
If i have multiple instances in a single oracle home
How can i know which instance is running (up)
to which table i fire query to find instances status
how to start single instance out of multiple instances
These questions show a certain lack of knowledge about Oracle - which immediately says that you also do not know what you are doing ito performance and scalability of a Oracle and that server platform by running multiple instances on it.
In most case, running multiple instances is the wrong thing to do. It degrades performance. It does not and cannot scale. It is an exception to the basic fundamentals of client-server. And not just for Oracle.
You need sound technical justification for running multiple instances on a server. What is yours? -
Hi,
I am trying to apply patch set 10g Release 3 (10.1.3) Patch Set 4 (10.1.3.4.0) to 10g Release 3 (10.1.3.1.0) oracle home. As the pre - installation steps describes I have run the script ‘upgrade_10131_10134_oracle.sql’ for both ESB and BPEL. Also we need to delete the line <data id="java-bin" value="/myhost/jdk1.4.2/bin/java" />from the ‘ORACLE_HOME/opmn/conf/opmn.xml’ file. But when I have checked that file, the line was not present there.
But when I am running the installer, it is showing error like
Error
--> Process (index=1,uid=418288051,pid=30220)
failed to start a managed process after the maximum retry limit
Log:
C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\\HTTP_Server~1.log
Configuration assistant "OPMN Configuration Assistant" failed.
When I checked the log I got the error message like
08/12/05 14:00:10 Start process
Syntax error on line 278 of c:/oracle/soa_ofmpractice/soatesting/apache/apache/conf/httpd.conf:
Cannot load c:/oracle/soa_ofmpractice/soatesting/apache/apache/modules/apachemoduleossl.dll into server: (127) The specified procedure could not be found:
Does anybody know how to fix this problem?
Thanks & Regards,
AnjuThere is a quick fix for this
There are 2 lines you need to comment form the c:/oracle/soa_ofmpractice/soatesting/apache/apache/conf/httpd.conf
A comment is done with a #
If you look in the C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\HTTP_Server~1.log file it will tell you.
Find the line that has apachemoduleossl in it. When you try and restart it will fail again the C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\HTTP_Server~1.log should tell you what line to comment
sorry can't be of much more help but dont have access to an environement at the moment.
cheers
James -
How To Find Oracle Home Directory Path...
Hello,
I am working on deployment of java web service on Oracle Application Server(LINUX) 10g, EBS - R12.
I am working on other system and i want to deploy web service remotely on application server.
And i am not getting the oracle home directory path. I want to find the home directory path remotely.
so suggest me how to find out path of that.
or weather i have to install jdevloper on server system and than i have to deploy it,
or any other alternative way is available.
Reply as soon as possible......Thanks for your reply.
It's precisely the registry key which got tampered, and there's no ORACLE_HOME environmental variable(Or that too is tampered)
Now,how to set it to one of the Oracle home directories?
Regards,
Bhagat
!!!!!!!!!!!!!!!!!!!! -
Hello All,
I plan to install and configure Oracle 12c Cloud Control console on a single standalone server and the version is Oracle 12.1.0.5. All the databases which are installed across in the entire farm/landscape are these versions:
Oracle 10.2.0.3 Enterprise Edition
Oracle 10.2.0.4 Enterprise Edition
Oracle 10.2.0.4 Active DataGuard Enterprise Edition
Oracle 10.2.0.5 Enterprise Edition
Oracle 11.2.0.1 Enterprise Edition
Oracle 11.2.0.1 Active DataGuard Enterprise Edition
Oracle 11.2.0.3 RAC Enterprise Edition
All Oracle databases across these versions will use the same version of Oracle Grid since ASM is used for all the Oracle database across Production/Test/Development databases. The OS is RHEL 5.8, RHEL 6.3, OEL 6.3 versions.
When installing the Oracle 12c Cloud Control what is the Oracle and Grid Home directory location need to set to. Please let me know if there are any other additional configurations needed?
Looking forward to hearing from you soon.
Regards,
AbhijitFirst off, the only EM CC release out right now is 12.1.0.2, not sure where you got 12.1.0.5 (DB Plugin maybe?).
Second, you're confusing EM CC homes with DB/Grid homes.
EM CC will need it's own Oracle Home (i.e. /opt/oracle/product/em_12.1.0.2). You will need to provide repository database connection information, but EM does not care what home the db or grid is installed in.
I would recommend reviewing the documentation as well as the references on OTN -
http://www.oracle.com/technetwork/oem/install-upgrade/index.html
Maybe you are looking for
-
Syncronizing my 3gs with itunes the sync does not finish because itunes always crash and stuck and i can not sync my device, i dont no whats wrong because the itunes even can not acess itunes store, still loading waiting for itunes store and nothing
-
Using SKPTSMTPMessage how to send a variable String?
I am using SKPTSMTPMessage to send an email in the background but I need to send a variable string. I have tried putting a %@ in the text but it just sends the %@ and not a variable. Please Help? Hopefully, iCrazy23
-
Defective mp3 - horrible cust serv
I wish i had read some of the horror stories with sony customer service BEFORE I purchased something from them! I purchased an MP3 player as a present in the beginning of december. When opened it was non functioning and I went to the web site and ope
-
hi all I am doing idoc to file scenario. can any one tell what is the basic requirements and what is the basic ale settings need to be done. How can i see the Successful message. how can i send the idoc to the xi without we19. i.e., as soon as the id
-
How to update I_INLINES_T in IQS4_MODIFY_NOTIFICATION
Hi All, I am using IQS4_CREATE_NOTIFICATION to create notification and IQS4_MODIFY_NOTIFICATION to modify notification. But since IQS4_MODIFY_NOTIFICATION does not have I_INLINES_T as one of the table parameter, I am not sure how to update (change) t