How to set ORACLE_HOME in Fedora core 3
hi every body
how can i set oracle_home in fedora core 3?
and i am a new linux user. please your solutions are clearly
help me!!!!!!
From http://www.dbspecialists.com/presentations/oracle10gsolaris.html
In $ORACLE_HOME/bin (the bin directory under your Oracle home) you will find a shell script called oraenv. This script can be called from .profile or .bash_profile to set up a users environment automatically whenever they log onto the database server.
and
$ export ORACLE_SID=dev101ee
$ export ORAENV_ASK=NO
$ . /usr/local/bin/oraenv
Message was edited by:
james_gordon
Similar Messages
-
How to set ORACLE_HOMES on Windows 2000 for 11i
How to set ORACLE_HOMES on Windows 2000 for 11i
As am newbie on windows.
Its very urgent.To set ORACLE_HOME on Windows:
C:\> set ORACLE_HOME=<location>
i.e.
C:\> set ORACLE_HOME=d:\oracle\proddb\10.2.0
To verify:
echo %ORACLE_HOME%
In Apps 11i, you do not have to set it manually, just source the environment file and this will set all environment variables for you.
- To source the application env file, run envshell.cmd under %APPL_TOP%
- To source the database env file, run <SID>_<hostname>.cmd under %RDBMS_ORACLE_HOME% -
How to set ORACLE_HOME environment variables in win 2003
Can anyone tell me how to set ORACLE_HOME environment variables in Win2003
Please tell me the significance of that also.It will be really helpful if u can help me out from Path variable seting of JAVA SDK also... Thanks in advance...hi
use this code IN FORMS60 variable in Regedit
\\server\DATA\store\Forms;
Rizwan -
Plz help me setting path on fedora core 8
hiii guyz,
plz help me...i have to set java path on fedora core 8 how i have set the path..
if anyone know plz sayHere is how you do it:
http://www.google.com/search?q=set+java+path+fedora -
How to set ORACLE_HOME used by SQL Developer?
I need to use OCI/Thick driver with SQL Developer to get OS authentication working. I have 64-bit windows and 64-bit oracle installed. I also have 32-bit instant client in another ORACLE_HOME, because the libs of 64-bit ORACLE_HOME won't work with SQL Developer. Quite trivial setup if the SQL Developer would just take the hint an start using the right ORACLE_HOME. I have tried making a start.bat containing following...
set ORACLE_HOME=C:\oracle\product\11.1.0\instantclient_11_1
start sqldeveloper.exe
..but it doesn't have any effect. I can't change ORACLE_HOME in registry, because it would mess up other services requiring 64-bit oracle.It might be a little late for the original post, but maybe someone else will need it:
I found that the way to solve such issue is by specifying the TNSNAMES of the wanted oracle_home. That'll do it.
It could be done in Tools -> Preferences -> Database -> Advanced -> Tnsnames directory.
Screenshot:
http://i40.tinypic.com/2nk2rs4.png
Tested on Oracle SQL Developer 3.2.20.09 and 4.0.0.12 -
How to set ORACLE_HOME for database and apps server in same server
Hi, I have problem here to set ORACLE_HOME in .bash_profile for database and apps server. please help me to set this Oracle Home.
Thanks
-jebatcoIf you mean to have both simultaneosly set on the same OS session, of course that's not possible. But you can configure them on your profile, and choose them when needed. The following is an excerpt from my .bash_profile
export EDITOR=vi
umask 022
alias O='cd ${ORACLE_HOME}'
o10()
{ export ORACLE_SID=db102
export ORACLE_BASE=/home/oracle/base
export ORACLE_HOME=$ORACLE_BASE/OraHome10
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
export PS1='[\u@\h_10 \W]\$ '
o11()
{ export ORACLE_SID=db11
export ORACLE_BASE=/home/oracle/base
export ORACLE_HOME=$ORACLE_BASE/OraHome11
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
export PS1='[\u@\h_11 \W]\$ '
xe()
{ export ORACLE_SID=XE
export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/server
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
export TNS_ADMIN=/home/oracle/base/OraHome11/network/admin
export PS1='[\u@\h_XE \W]\$ '
}If I want to set Oracle 10g environment I type "o10" at OS prompt, "o11" for 11g, and so on. -
How to set ORACLE_HOME env variable
Hi,
What are the value that i have to specify in the ORACLE_HOME environment variable in NT setting ?
regards
AndrewIt is a directory, where you have installed an Oracle software. For example, C:\ora
-
How to uninstall JRE in Fedora Core 5
Hi, I'm new to linux and especially FC5, I was following instructions to install JRE so that web pages with Java applets would run, managed to install it but haven't gone as far as creating the plug-in link, but then noticed that what I really wanted to do was to install the SDK so I could a bit of Java programming too.
So my question is ... how do I uninstall JRE so that I can neatly install the SDK. I assume I cannot just delete the folder?
I used jre-1_5_0_6-linux-i586.bin and followed instructions from http://www.stanton-finley.net/fedora_core_5_installation_notes.html#Java
Any help would be appreciated.
Thanks,
SumdudeI assume I cannot just delete the folder?Why not?Am I just too used to Windows - spreading files here there and everywhere, making entries in the registry?
Does the linux version install all the files in just one folder? If not, I'd rather find a method to uninstall properly and not leave any rogue files lying around.
Could there be a section created for uninstallations? There's seems enough questions about unistallations to warrant a seperate section.
Many Thanks,
Sumdude -
How to set processor with 2 core to parallel working
I have a intel core2 duo with 32bit Arch.
I allow paralleling work in bios. In the system I see 2 processor and both are working. But they don't work together. I mean when processor A is comming up then processor B is comming down. When A working at 80% then B working only at 20%. I think they rotate with their work but never working together.Multicore is difficult, because many things are hard to do in parallel. In other words: Many tasks will only use one processor.
But just to see both processors at 99% you can do the following:
Open two terminals. Execute in both terminals the following code:
while [ 1 ]; do echo -n; done
This is a simple infinite loop in bash, which will "print nothing" and "stress" your CPUs. (Use Ctrl+C to end the loop.) -
How to Install SJAS on a Fedora Core 4 box
I've had my share of headaches making SJAS work well on an FC4 box, and as there was no good "how-to" on the install, I've compiled the following from trial and error. Hope this is of some use:
Installing Sun Java App Server on FC4:
1) First, start with a Fedora Core 4 box, running with at least 1GB of RAM. This is the minimum recommended configuration for Sun Java Application server, and its associated programs. Load balancing uses a lot more resources (minimum recommended config is 2GB RAM) but on a stand-alone box, 1GB will do. Ensure you've got disk space and connectivity to the net, especially DNS.
2) Copy over the following files to the box. You'll need all of these for the install:
o compat-libstdc++-296-2.96-132.fc4.i386.rpm - compatibility library needed for FC4, or else the install will crash but won't tell you about it.
o compat-libstdc++-33-3.2.3-47.fc4.i386.rpm - another compatibility library needed
o jdk-1_5_0_02-linux-i586.rpm - the JDK as the Java Application server needs Java to run.
o java_es_05Q4_msgserver-ga-linux-x86.zip � appx 340MB, and is the download which installs SJAS, the web server with load balancer plugin, the directory server, etc.
3) Do an rpm -iv on the compat-libstdc* compat libraries.
4) Do an rpm -iv on the jdk.
5) Link the java executibles to /usr/bin by typing "ln -sf /usr/java/jdk1.5.0_02/bin/* /usr/java". If you installed a different version of the JDK, put in that version instead of 1.5.0.02.
6) Edit your /etc/hosts file. By default, the FC4 install maps your hostname of your box onto localhost / 127.0.0.1. Take this hostname off of 127.0.0.1 so that the only name mapped to 127.0.0.1 is localhost. Then, on the IP address you plan on installing SJAS onto, map the hostname and the fully-qualified domain name to that address. An example /etc/hosts/ file that has worked is:
127.0.0.1 localhost.localdomain localhost
192.168.99.203 iloapp01.scientology.net iloapp01
7) Unzip the java_es_05Q4_msgserver-ga-linux-x86.zip file into a directory using the "unzip" command.
8) Go into the java_es_05Q4/Linux_x86 directory just created, and run ./installer
9) This will then pop up a graphical installer, if you are running this directly on the server. If running via a console, type ./installer -nodisplay which will pop up the installer in text mode.
10) Click through the installer until you get to the packages list. Install all of the packages, unless there is a specific reason � for the server you're working with � that you don't want one or another of the packages.
11) When it asks you if you want to configure now or configure later, click configure now.
12) Page through all of the proceeding pages of questions, entering master passwords when it asks you to. If it hangs on the first screen, asking for a valid IP address and/or hostname, you either (a) didn't specifiy a valid address which is configured on that box, or (b) you messed up on the /etc/hosts file config above. All you want in the "hostname" field is the server name (i.e. "iloapp01") and all you want in the domain name field is the base domain (i.e. "scientology.net"). That will work.
13) Finish the install wizard and let it exit gracefully.
14) After it finishes the install, you should be able to start each of the services on the box without issue.
o You need the Sun Directory Server for authentication. To start the directory server, run /opt/sun/sbin/directoryserver start, which should work without a hitch. Check if it's working and on by doing a ps -ef | grep slapd and see if the slapd process is running (the LDAP server, needed for authentication).
o Test-start the admin console by running /opt/sun/sbin/mpsadmserver start. This should hang for a little while (unless you have a preposterously fast machine) and then report that it's started. If it didn't work, it will tell you "it hasn't been configured" or some such.
o Start the app server by going to /opt/sun/appserver/bin and typing asadmin start-appserv --user admin. You should then be able to start the admin server after typing the master password.
If this all works, you have a Sun Java Application Server installed, as well as the Directory Server to support it and allow for authentication. For more details on what do do from here, see the Getting SJAS Enterprise Edition to work on an Application Server page.
Tad
Church of Scientology
http://www.scientology-washingtondc.orgHi !
What do you mean with "crash"?[oracle@katon3 oracle]$ oemapp console
start the console,
select database, enter the usernam and password and after
SIGSEGV 11* segmentation violation
stackbase=49875E68, stackpointer=49874AC4
Full thread dump:
"Image Fetcher 1" (TID:0x42192a58, sys_thread_t:0x8b54dd0, state:CW, thread_t: t@393226, sp:0x0 threadID:0x1511, stack_base:0x48cdee68, stack_size:0x200000) prio=1233603152
java.lang.Object@1109071112/1111761664: owner "VtaEmTreeSQLParentNode-Expand-Thread" (0x8cd8100, 1 entry)
oracle.ewt.timer.Periodic@1108949792/1112058504: <unowned>
Waiting to be notified:
"CursorIdler" (0x8c18a48)
Registered Monitor Dump:
Thread queue lock: <unowned>
Waiting to be notified:
"main" (0x831bfc8)
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Waiting to be notified:
"Finalizer thread" (0x831d8a8)
Monitor registry: owner "Thread-4" (0x8d38558, 1 entry)
[oracle@katon3 oracle]$
Is there an X serevr running?Yes.
Does oem console java use the correct jre i.e. from $ORACLE_BASE/jre/1.1.8/...?I did not change the jre.
Regards,
Johnny -
How to set multiple ORACLE_HOME and ORACLE_SID, on Windows
How to set multiple ORACLE_HOME and ORACLE_SID, on Windows.
I have 5 oracle instances. Every time if i want to start up the services , I am manually setting the environment variable (ORACLE_HOME and ORACLE_SID) and starting the services one at a time.
Can we set multiple ORACLE_HOME and ORACLE_SID in Start->My computer-> properties-> advance-> Environment variable.
Thanks
NaveenHi ,
Can you please give me the link, for the doc you are referring to
Thanks
Naveen -
How to build JDK1.5 with Fedora Core 3 on AMD64?
All,
Currently, I am going to do some research work related to the JDK1.5 so I have to rebuild it on the top of Fedora Core 3 on AMD64. But it failed with some "invalid section error messages in assembly language". I wonder that if there is any pepole who have successfully built it before? If yes, could you give me some instructions about the whole building process? Do you still need the GCC 3.2.2? How do you build the GCC 3.2.2? And are you working with the source code from SUN JAVA SCSL, also? In fact, I encountered some "invalied section error" when compiling the .cpp files into .o files.
BTW: I have successfully built the JDK1.5 with FC3 on Inter 32 Bit, with GCC 3.2.2
Thanks,
NeoA little more detail, please. Excerpt from build log?
-
How to set environment variable ORACLE_HOME ?
Hi
I trying to install SAP Solution manager 4.0 SR3:
OS: Linux RHEL4u4
DB: Oracle
SAPinst now stops the installation.
To proceed with the installation, install the Oracle database as follows:
1.Log in as user orassm.
2.Set the DISPLAY variable.
3.Change to directory /oracle/stage/102_32/database/SAP.
4.Start './RUNINSTALLER'.
After you installed the Oracle database software, proceed with the database instance
installation by choosing 'OK' in this dialog box.
./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
How to set environment variable ORACLE_HOME ?
Regards
Erici
Switch shell to bash:
orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/bash
[root@csp-p-sm00 ~]# su - orassm
[orassm@csp-p-sm00 ~]$
But when try to run ./RUNINSTALL
[orassm@csp-p-sm00 SAP]$ ./RUNINSTALLER
oracle_stage is not set (OK)
oracle_base is not set (OK)
oracle_home is not set (OK)
oracle_sid is not set (OK)
oracle_home_name is not set (OK)
oracle_inst_group is not set (OK)
from_location is not set (OK)
tmp_netca_file is not set (OK)
tmp_dbca_file is not set (OK)
Working in /oracle/stage/102_32/database/SAP ...
The environment variable ORACLE_HOME is not set! abort ...
Additionaly I've post csh.cshrc and csh.login
/etc/cshrc
csh configuration for all shell invocations.
by default, we want this to get set.
Even for non-interactive, non-login shells.
[ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
if $status then
umask 022
else
umask 002
endif
if ($?prompt) then
if ($?tcsh) then
set prompt='[%n@%m %c]$ '
else
set prompt=\[`id -nu`@`hostname -s`\]\$\
endif
endif
if ( $?tcsh ) then
bindkey "^[[3~" delete-char
endif
setenv MAIL "/var/spool/mail/$USER"
limit coredumpsize 0
if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
source $i
endif
end
unset i nonomatch
endif
/etc/csh.login
System wide environment and startup programs, for login setup
if ($?PATH) then
if ( "$" !~ /usr/X11R6/bin ) then
setenv PATH "$:/usr/X11R6/bin"
endif
else
if ( $uid == 0 ) then
setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
else
setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
endif
endif
setenv HOSTNAME `/bin/hostname`
set history=1000
if ( ! -f $HOME/.inputrc ) then
setenv INPUTRC /etc/inputrc
endif
Regards
Eric -
How to install Oracle Applications on Fedora Core 6?
I am trying to install Oracle Applications on Fedora Core 6. But when i start rapidinstall it is showing the error as permission denied eventhough all permissions are correct. I tried this with singleuser and multiuser also.
Is it possible to install Oracle Applications on Fedora Core 6?It is probably best to stick with Red Hat AS/ES 3.0/4.0, Oracle Linux 4.0, or SLES9/Suse9/10 for installing Oracle Applications. Even if you could install it on FC 6, it is likely it would break, and be very difficult to get it working again.
Here are the RH 4 prerequisites:
Red Hat Enterprise Linux AS/ES 4.0* Legacy Software Development package and X Software Development package
Note: Select these packages from the Package Group Selection screen. If the operating system is already installed, use System Settings > Add/Remove Applications to install these two packages.
The following components will be installed automatically:
compat-db-4.1.25-9
compat-gcc-32-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3
compat-oracle-rhel4-1.0-5
compat-libcwait-2.0-2
compat-libgcc-296-2.96-132.7.2
compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
xorg-x11-deprecated-libs-devel-6.8.1-23.EL
xorg-x11-deprecated-libs-6.8.1-23.EL
The following required component must be installed manually:
openmotif-2.1.30-x
Note: For information on downloading the openmotif component, see the instructions at the following URL: https://rhn.redhat.com/errata/RHSA-2 005-412.html -
Set classpath for java in fedora core 1?
i am new to programming java on linux and im having trouble finding out how to set classpath in the shell, permenently. i have the sdk installed and tried the usual "hello world" test and failed. the response i would get a message telling me javac is not a bash command. i have no clue how to set classpaths in linux so i would much appreciate it if someone would show me thanks
Ok, there is two ways to achieve this. Either by setting it globally for all the user, or only for your self. If you are working on your own station and have super user access, you can set it up for all th eusers, if not, just set it for your self. How ??
for all the users, modify the file /etc/profile and include this:
PATH=$PATH:/path/to/jdk/bin:.
CLASSPATH=$CLASSPATH:/path/to/jdk/lib/tools.jar:/path/to/jdk/lib/rt.jar
export PATH CLASSPATH
If you want to add it only for ur self then, modify the lsame line in ~/.bash_profile
hope this helps
Maybe you are looking for
-
Parsing errors with CDATA tags using oracle xml parser v2
I'm using the oracle.xml.parser.v2 parser to combine a generated xml document from a database with a static xsl file to produce html. Within the xml document, there are fairly large CDATA sections (500 lines) which happen to contain javaScript. Occas
-
I synced my Iphone before downloading the newest update and lost all my purchased ringtones. How do I get them back and what do I do differently next time so it doesn't happen again?
-
Hi Guys Over resent weeks the down load time for the Appel TV Gen 3 has gone very slow, To the point that you can not watch the movie as it does but buffer and you have to stop about every 15 mins. I have a fully cable internet at 100mps or more. Oth
-
I am not able to scan on my Officejet 7410 All-in-one
I run the HP Print and Scan Doctor finding and fixing scan problems and it keeps getting hung up at the point where is says that there is a registry problem found with device registration and it says I should unistall and reinstall the software from
-
Export iMove from iPhone to MobileMe
hello everyone I have just created my first iMovie on my iPhone4 with the iMovie App . When I export it to MobileMe it is put into an allready excisting Album? Does anyone know why? I would like to have it under Films and as an independent movie. Is