Run Oracle under Linux
Hi
I am a newbie on Linux environment, now I am using Redhat AS 2.1. I've just finished installed oracle 9i on my Linux and it went successfully.
The problem is, I can't find the Oracle menu on my Redhat GUI (as in Windows), so I need a guidance of how to access & run my oracle on my Linux.
any helps / clues will be appreciated
thx
Hi,
The installation on Linux doesn't create icons on the GUI as in Windows environment.
You can run the tools and the sqlplus from a terminal.
The tools should be find in: /your oraclehome/bin
Use oemapp to load Enterprise Manager and other tools to create, modify users, instances, etc.
Good Luck!!
Eduardo
Similar Messages
-
Run Oracle on Linux VMware kit in runlevel 3
Hi,
Anyone has managed to run Oracle on Linux VMware kit in runlevel 3 instead of 5, i.e. no GUI.I have managed to run Redhat linux in run level 3, by editing /etc/inittab and change the run level to 3.
However, the RAC services didn't managed to start up. When I run crsstat, it gets cannot connect to CRS. -
Can't run eclipse under Linux OS
When I run eclipse_linux_gtk 3.1 under Linux ( kernel 2.6.7, gnome 2.8, sun jdk 1.5.0), I got the following error message.
What is wrong with it?How should I do to make it work?
!SESSION Oct 11, 2004 00:36:59.306 ---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.osgi Oct 11, 2004 00:36:59.334
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception while creating System Bundle: Unable to find system bundle manifest file.
at org.eclipse.osgi.framework.internal.core.Framework.createSystemBundle(Framework.java:253)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:152)
at org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:95)
at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
at org.eclipse.osgi.framework.internal.core.OSGi.(OSGi.java:31)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:215)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!SESSION Mon Oct 11 00:36:59 GMT 2004 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Oct 11, 2004 24:36:59.376
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)I love eclipse and run it under windows very well.
Now,I install a Linux OS in my computer,and want to work under it, but I get the same error log everytime.
What others do who use eclipse under Linux?Is it work well? -
Reduce number of running thread under Linux
Hello,
How can reduce the number of running thread for coldfusion MX
7.0.2 server under Linux (they are almost 30; )If you create a pool of any sort you will need a point where all requests for a resource from the pool must go via, and that piece of code could potentially become a bottle neck. But if you develop it well there will be a very small piece of code that is sychrnonized that will either put a request in a queue as there are no resources available, or it will provide the requested resource. As far as i am aware there is no safe way around this as you will have multiple threads requesting the resource.
-
Running a jar vs running classes under Linux
I still can't figure this out.
I have a jar file that I am trying to run on my Linux server.
The jar file runs on my local machine.
If I try to run the jar file on the linux box I get -
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/sql/ConnectionPoolDataSource
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
If I un jar the file, all classes run correctly.
I have explicitly set the classpath from the command line on each try. Can anyone explain why it works one way and not the other?Thank you for your help. HOW DO I DO THAT?
And, If I don't already have that information in the jar manifest, why does the jar work on my other machines?
And, I thought the reason you would jar the files up is to make it easy to port to other systems. If I have to change the manifest for each machine that doesn't make it very portable.
I am really frustrated with it and can't seem to find the solution. -
Trouble Running Oracle on Linux --- newbie
I've installed Oracle on my linux system with a few errors at the end, which the installer assured me that those errors will not affect my installation (some sort of services errors).
So what do I do now?
I'm well versed with SQL and have been working with database systems for years... but getting oracle running has be a pain in my neck.
Here are a few issues... numbered for your reply convenience:
1)What file do you run to start the daemon? One would think that since this version is made to run on linux, the standard <name>d daemon naming would be expected (oracled, much like mysqld).. but I find nothing. I'm looked through the quick install and the install guides, and I must be missing something. They explain how to use everything to use oracle... but they don't say how to start the darn thing.
2)What is the ORACLE_HOME directory? The install would not allow me to run as root, so I had to run as one of the users. It then asked for an inventory directory which it said would house all my oracle products.. (/usr/local/oraInventory).. yet.. it tried to use /home/johnt/Oracle_Home1 for something.. I would assume oracle. Why would it try to install a product in my home directory rather than the inventory directory I just gave it??? What are these directories for? Your install language needs a little help. Is Oracle_Home1 supposed to be my first oracle product? Meaning if I purchase another then it will be install in Oracle_Home2? Not intuitive naming. Is this simply the single user's environment? Meaning that this is duplicated in every users directory? That would take up a hell of a lot of space.
3)Half of the programs I try to run say that ORACLE_HOME isn't found. Yet I have followed the install guides as to how to set the variable yet it still doesn't find it. I assumed that my Oracle_Home1 directory was the ORACLE_HOME directory... but since that didn't work, I tried setting it to the oraInventory directory (the one which the installation said the oracle products would be installed.. or housed.. which would make it a home, right?) and it still did not work. What am I doing wrong?Connected to an idle instance.This message means that your DB is not running, or ORACLE_SID environment variable is not set properly. Be sure that ORACLE_SID has correct value, then, if you get that message, type "startup".
-
Strace command in Oracle under Linux . . .
Dears,,
I use Oracle Red Hat Enterprise Linux . . .
I tried run the following command
starce -fto dbstart.out dbstart
BY root it gave me strace: dbstart: command not found
BY normal user it gave me strace: exec: Exec format error
What is the problem?
Best regards,,starce -fto dbstart.out sh dbstart
-
How to properly set the environment for user oracle under Linux
Hi,
Every time I install XE on Linux somewhere, I repeat these steps (along with [fixing the /etc/init.d/oracle-xe startup script|http://forums.oracle.com/forums/thread.jspa?threadID=843780&tstart=0]), so I thought, why not contribute this to the community.
Those who have installed XE on Linux know that, after installation, logging in as user oracle gets you in a
$cryptic prompt. On top of that, none of the essential environment variables are set. Not amusing. That's because the oracle user lacks the proper configuration files for the bash prompt. Log in as user oracle and create these:
.bashrc
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi.bash_profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
. /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
unset USERNAME.bash_logout
clearNow log out and then log in again - a nicer prompt, and all environment variables are set, ready to run sqlplus, imp, etc.
This should help make your overall XE experience on Linux easier. Regards,
GeorgerNice. I checked the .bash_profile of my oracle installation and this is what I can contribute (I got the additional stuff from some tests with other Oracle Versions):
# /etc/skel/.bash_profile
# This file is sourced by bash for login shells. The following line
# runs your .bashrc and is recommended by the bash info pages.
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Oracle Profile Settings
if [ $USER = "oracle" ]; then
source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fiC. -
Java plug in problem - unable to run oracle forms (LINUX)
i am using centOS at client side 64bit
opera/firefox 64 bit
java 1.7 u51 64 bit
everything is installed but unable to configure java plug in in above browsers...
no browser is detecting java console
Is there any specific version of all the above needed to run forms?
(when i hit forms url in browser it goes blank)Hi,
Kindly refer the below document,
Recommended Browsers for Oracle E-Business Suite Release 12 (Doc ID 389422.1)
Regards
Sham -
Do you recommend vxfs to run Oracle on Linux?
We are a fortune 500 company and we are implementing Linux for an archive system with a liklihood of implementing it in many other areas. We are considering running it on vxfs (Veritas File System). If we implement the vxfs/volume manager across the company, it will cost us a pretty penny. Appx $5,000 per box.
Why not just run on ext3? Could someone please give me some pros and cons and some recommendations?
Thanks.I have managed to run Redhat linux in run level 3, by editing /etc/inittab and change the run level to 3.
However, the RAC services didn't managed to start up. When I run crsstat, it gets cannot connect to CRS. -
How to add patch in Oracle Payable under Linux
Hi All
I want to know how to apply a patch in Oracle under Linux environment. The problem is that I'm a Newbie in Oracle and i'm not a DBA and also i have little knowledge in Linux environment.
Apps: 11.5.9
OS: Linux x86
Patch : 7309767
Thanks
Edited by: 883454 on Sep 6, 2011 5:07 PMWrong category forum.
-
Expand VMDK Mount in Oracle Enterprise Linux
I have a VM that is running Oracle Enterprise Linux. I'd like to expand a mount but i'm not quite sure how. It's running the following version:
Linux version 2.6.39-200.32.1.el5uek ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)) #1 SMP Wed Sep 26 21:00:27 PDT 2012
Oracle Linux Server release 5.8
I was told through the GUI you can do it with no downtime, can someone show me the way to do this?It's usually a good idea to test everything . The pvcreate command is not necessary. The following is a protocol of extending the LVM root volume of Oracle Linux 5.8 under VirtualBox. The same will also work for VMWare. The whole process took only a couple of minutes.
[root@vm016 ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 12.8 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1566 12578863+ 8e Linux LVM
[root@vm016 ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 19.89 GB / not usable 19.49 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 636
Free PE 0
Allocated PE 636
PV UUID vboBeq-1gAF-m522-oKaf-E3wE-tUTD-QGoE5b
[root@vm016 ~]# vgextend /dev/VolGroup00 /dev/sdb1
No physical volume label read from /dev/sdb1
Writing physical volume data to disk "/dev/sdb1"
Physical volume "/dev/sdb1" successfully created
Volume group "VolGroup00" successfully extended
[root@vm016 ~]# lvextend -L+10G /dev/VolGroup00/LogVol00
Extending logical volume LogVol00 to 27.91 GB
Logical volume LogVol00 successfully resized
[root@vm016 ~]# resize2fs /dev/VolGroup00/LogVol00
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/VolGroup00/LogVol00 is mounted on /; on-line resizing required
Performing an on-line resize of /dev/VolGroup00/LogVol00 to 7315456 (4k) blocks.
The filesystem on /dev/VolGroup00/LogVol00 is now 7315456 blocks long.
[root@vm016 ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 19.89 GB / not usable 19.49 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 636
Free PE 0
Allocated PE 636
PV UUID vboBeq-1gAF-m522-oKaf-E3wE-tUTD-QGoE5b
--- Physical volume ---
PV Name /dev/sdb1
VG Name VolGroup00
PV Size 12.00 GB / not usable 28.05 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 383
Free PE 63
Allocated PE 320
PV UUID UPW56I-Z59J-p8bS-HCru-3dX1-9dFB-9IBlZo -
Diffrence in running oracle on 32 bit OS and 64 bit OS ?
Hi ,
I am new to oracle , i would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OSi would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OSWhat type of differences are you looking for? Basic one being you run 32 bit version of Oracle under 32 bit OS and 64 bit version under 64 bit OS.
Other being the availability of addressable memory in 32 and 64 bit versions (but that is more of an hardware level issue). -
Exception in html parser under Linux
Hi all,
Following code is copied from Tech Tip 23Sep1999. I have compiled it and run it under Win98. It works fine for any uri. However, when I try to run it under Linux, it throws exceptions. I noticed that some web site can be parsered with the program in Linux but some can't. I wonder the different between those platforms. Anyone can tell me how to make the program works under Linux.
Rgds,
unplug
configuration
RedHat 7.1
JDK1.3.1
Failed: java GetLinks http://java.sun.com
Worked: java GetLinks http://www.apache.org
--begining of code
import java.io.*;
import java.net.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
class GetLinks {
public static void main(String[] args) {
EditorKit kit = new HTMLEditorKit();
Document doc = kit.createDefaultDocument();
// The Document class does not yet
// handle charset's properly.
doc.putProperty("IgnoreCharsetDirective",
Boolean.TRUE);
try {
// Create a reader on the HTML content.
Reader rd = getReader(args[0]);
// Parse the HTML.
kit.read(rd, doc, 0);
// Iterate through the elements
// of the HTML document.
ElementIterator it = new ElementIterator(doc);
javax.swing.text.Element elem;
while ((elem = it.next()) != null) {
SimpleAttributeSet s = (SimpleAttributeSet)
elem.getAttributes().getAttribute(HTML.Tag.A);
if (s != null) {
System.out.println(
s.getAttribute(HTML.Attribute.HREF));
} catch (Exception e) {
e.printStackTrace();
System.exit(1);
// Returns a reader on the HTML data. If 'uri' begins
// with "http:", it's treated as a URL; otherwise,
// it's assumed to be a local filename.
static Reader getReader(String uri)
throws IOException {
if (uri.startsWith("http:")) {
// Retrieve from Internet.
URLConnection conn=
new URL(uri).openConnection();
return new
InputStreamReader(conn.getInputStream());
} else {
// Retrieve from file.
return new FileReader(uri);
--End of code
--Exception in Linux
Exception in thread "main" java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.Toolkit$2.run(Toolkit.java:512)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:503)
at javax.swing.text.html.CSS.getValidFontNameMapping(CSS.java:932)
at javax.swing.text.html.CSS$FontFamily.parseCssValue(CSS.java:1789)
at javax.swing.text.html.CSS.getInternalCSSValue(CSS.java:531)
at javax.swing.text.html.CSS.addInternalCSSValue(CSS.java:516)
at javax.swing.text.html.StyleSheet.addCSSAttribute(StyleSheet.java:436)
at javax.swing.text.html.HTMLDocument$HTMLReader$ConvertAction.start(HTM
LDocument.java:2536)
at javax.swing.text.html.HTMLDocument$HTMLReader.handleStartTag(HTMLDocu
ment.java:1992)
at javax.swing.text.html.parser.DocumentParser.handleStartTag(DocumentPa
rser.java:145)
at javax.swing.text.html.parser.Parser.startTag(Parser.java:333)
at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1786)
at javax.swing.text.html.parser.Parser.parseContent(Parser.java:1821)
at javax.swing.text.html.parser.Parser.parse(Parser.java:1980)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java
:109)
at javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.ja
va:74)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:239)
at GetLinks.main(GetLinks.java:23)Support for CSS and clearly defined.Also Dictionary getDocumentProperties() is not properly exaplained meaning it doesnt give methods to get all the properties a HTML document can have.
-
SubNotFoundException under Linux not under Windows
Hi,
I got a RMI client server application. The server runs normal on my windows machine with JRE 1.5. But when I want to run it on my linux server with JRE 1.4, I get the following error:
java.rmi.StubNotFoundException: Stub class not found: .....
I used an Ant Build.xml file to create jar (2 --> 1 remote.jar and 1 server.jar) files. In the javac I set the target to 1.1. In rmic I used stubversion and set to 1.1. All my remote objects are in a seperate jar file that is included in my path when I start my server. I start my server with a bat and a sh file.
run.bat (under Windows)
set CPBEFORE=%CLASSPATH%
set CLASSPATH=%CLASSPATH%;PpdaRemote.jar
start rmiregistry 10001 -J- Djava.rmi.server.hostname=willemc
set CLASSPATH=%CPBEFORE%;
java -jar PpdaServer.jar
run.sh (under Linux)
CPBEFORE=$CLASSPATH
export CLASSPATH="$CLASSPATH:PpdaRemote.jar"
rmiregistry 10001 -J- Djava.rmi.server.hostname=willemc &
export CLASSPATH=$CPBEFORE
java -jar PpdaServer.jar
Can anybody think of a solution for this. I have been working on it for a couple of hours. Upgrading my server to 1.5 is not possible (it's a sgi server).
Thanks,
WillemNevermind. Fixed my own problem.
Maybe you are looking for
-
IPod touch wont update apps but it will install new ones?
My iPod touch 4th with ios 6.1.6 wont update apps, but i can install a new one. I go to the app store, updates, they show up i can hit update all or do them separately doesn't matter. Click on update it will switch to installing and ask for my passwo
-
Time Machine isn't backing up to Time Capsule
My Time Machine isn't backing up to my Time capsule. I am using OS X 10.8.2 which I believe is the latest version. The problem I have is the following error message pops up on my Macbook pro screen : Time Machine couldn't complete the backup to "Alec
-
I used to be able to download files from the Harddrive of my Sony Handycam, but now it won't let me import them while going through "log and transfer." I have tried to update my settings, but this doesn't seem to work. Any help would be much apprec
-
Is there a problem using popup LOVs in a portal form with a bind variable?
I have a portal form with 2 LOVs. The second LOV is a dependent LOV whose bind variable can be NULL. I have read Note 263923.1, "How To Create Dependent Lovs In Forms", and my form works as long as I use combo boxes to display the LOVs. I need to use
-
Decimal error in table BSEG.
Dear experts, I will present my problem in a scenario. I'm using txc FB70 to make an invoice in currency COP (columbian peso) or MXP (mexican peso). When using MXP it works fine, but with COP the amount entry in table BSEG gets divided by 100. The re