Connecting Oracle by JDBC in Linux
I'm using oracle8.1.7, redhat 7.2,Apache as webserver and tomcat
as containers, all these work very well. but I have a problem
connecting oracle with JDBC.
I've installed the JDBC driver by setting the classpath
in .bash_profile of oracle, but when I run the a jsp which try
to connect the database, it return the exception error which
tell me the suitable driver is not found! Can anyone tell me why?
By the way, I'm using JDK1.3 and the JDBC driver is
classes12.zip. Please help me out.
Double Post
http://forum.java.sun.com/thread.jspa?threadID=673989
Similar Messages
-
Problem when going to connect Oracle 9.2.0 + Linux RedHat 7.3
SQL> Connect system
Enter Password: ******
ERROR:
ORA-01034: Oracle not Available
ORA-27101: Share memory realm does not exists
Linux Error: 2: No such file or Directory
Can anybody tell me how I can solve this problem?
Thanks in advance.Did you check to make sure that your environment variables are set correctly?
Is LD_LIBRARY_PATH set correctly?
Look at http://www.puschitz.com/OracleOnLinux.shtml for pointers to successful install.
I was able to install Oracle 9.2 in RedHat 7.3 without these issues. It may just be missing or incorrectly set environment vairables. -
Cannot use iSQL*Plus to connect Oracle 9i for Intel Linux
When I try to use brower connecting to isql*plus , nothing appear.
By performing the following steps :
1. Change directory to the Oracle HTTP Server home bin directory by entering:
cd $ORACLE_HOME/Apache/Apache/conf
3. Parse the Oracle HTTP Server httpd.conf configuration file by entering:
apachectl configtest
Display: Sytax OK
4. Start the Oracle HTTP Server by entering
apachectl start
Display: Could not start
Then, I find that the oracle http server cannot be started and open the error_log file of Oracle HTTP server :
[Mon Nov 11 00:09:25 2002] [crit] (2)No such file or directory: Apache JServ encountered a fatal error; check your ApJServLogFile for details if none are present in this file. Exiting.
There are also many files like:
mm.1807.sem
mm.2012.mem
How can I fix this problem ?
Thanks.Have you checked the ApJServLogFile? You might find some clues there.
I'm curious as to why you are getting 'display' errors. Is your display environment set up properly?
Alison -
ODBC or JDBC on Linux/Oracle
http://www.openlinksw.com/
Is where you will find connectivity for LINUX and Oracle.
I did some research on the connectivity of LINUX and Oracle
after having switched from a Server Farm hosting IIS and then
going to linux.
The basic info I found was in about 20 links.
Some areas of interest might be:
http://www.linuxworld.com/ this is by INFOWORLD MAG but has the
best source and links for commercial Linux.
In addition:
http://users.ids.net/~bjepson/freeODBC/
The free ODBC might be a place to gain the functionality to get
the job done if you have the ability to code at that layer.
The reason WHY odbc is not the preferd method of accessing
Oracle is that OLE DB is thunked through the JET DATABASE ENGINE
or subsystem in WIN9.x and WINNT at the client side.
http://support.microsoft.com/support/kb/articles/q139/7/25.asp
This article goes into some detail how OLE DB, ODBC, ADO, RDO,
and the rest of the MSFT data is handled and by what files.
ORACLE uses "OLE OBJECTS" to get the data and passes the JET
DBENGINE/Sub-system.
So for a Server on Linux and a host on Wintel you might look at
the JDBC or universal Model of data connectivity.
Oddly this was just something I looked into prior to deciding to
get into Oracle8i....
If you get any additional info.. or other "workable" approaches..
Please follow up I would be interested...
nullHave you ever heard of [url http://www.google.com]google?
By searching for [url http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=linux+mysql+jdbc+driver]linux mysql jdbc driver, and following the first link, it took me about two minuts to find the [url http://www.mysql.com/downloads/api-jdbc-stable.html]MySql JDBC driver download page. -
Error while creating a report that uses Oracle OCI JDBC connectivity
Please let me know why my CR and LF characters are removed from my forum posting *****
Hi,
I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip". I have successfully created a JDBC OCI connection.
The connection parameters are given below:
URL: jdbc:oracle:oci8:@xe
Database: xe
username: <userName>
password: <password>
I have tested the above connection in Data source Explorer and it works fine!!!
But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here? Any help is highly appreciated.
com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks
Karthik
Edited by: KARTHIK1 on Oct 14, 2009 9:38 PMHi Ted,
Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI. It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
1) Can you please let me know if there is a way to do this?
2) Will it allow data sources using native database driver?
3) If so, can I use JRC to create these reports from a desktop java program?
Thanks & Regards
Karthik
Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM -
How to connect Oracle 8.0.5 for Linux to Tuxedo
How to connect Oracle 8.0.5 for Linux to Tuxedo?
How to config Tuxedo RM file and setting.Thomas Drolshagen (guest) wrote:
: Oracle 8.0.5. Installation on S.u.S.E. Linux 5.3
: =================================================
: After strugling for 3 weekends with the installation of Oracle
: 8.0.5. on a
: S.u.S.E. 5.3 distribution here are the installation steps that
: worked for me.
I have tried to install Oracle on SuSE 5.2. I almost complted the
installation, but kept getting a failure on installing the
database. The last entry in the install.log is:
Leaving trace.ins- Entering Make Dependent section.
- Entering do_relink==false section.
- Leaving Make dependent section.
- Entering database actions section.
Deciding to start again from scratch, I tried deleting all files
and begining again, but now I get a different error running
orainst. The installer keeps responding that 'file x already
exists'. The name of the file changes each time I run it, and no
file of that name exists. I have tried deleting the temp
directories, as well as dropping them and recreating them
elsewhere (desperation!), but I canot stop this from happening:
An operating system error occurred while trying to spawn
'/orasys/app/oracle/product/8.0.5/bin/otrccref' while
redirecting
output to '^ @^'. (File exists.) Would you like to retry
the
operation, ignore the error, or allow the error to be
processed by
the Installer?
Does anyone have any ideas??
null -
Oracle 8i jdbc/Tomcat connection issues
Tomcat 4.1.8
Oracle 8i JDBC Driver
I have been able to create the DataSource as a global resource and as a local resource inside the context of the application.
The code hangs when it attempts to create a connection. I have been able to connect to the database and perform the necessary query in a standalone application to ensure that I actually can connect.
JSP Code:
<html>
<head>
<title>VTW App</title>
</head>
<body>
<%
vtw.VTWApp tst = new vtw.VTWApp();
tst.init();
%>
<h2>Results</h2>
<%= tst.getList() %>
</body>
</html>
Java Code (Class called by JSP):
package vtw;
import javax.naming.*;
import javax.sql.*;
import java.sql.*;
public class VTWApp {
String list = "EMPTY";
public void init() {
try{
Context ctx = new InitialContext();
if(ctx == null )
throw new Exception("Boom - No Context");
System.out.println("Context Created ...");
DataSource ds =
(DataSource)ctx.lookup(
"java:comp/env/jdbc/oracleDB");
if (ds != null) {
System.out.println("DataSource Created ...");
Connection conn = ds.getConnection();
System.out.println("Connection Pulled");
if(conn != null) {
System.out.println("Connection Good");
Statement st = conn.createStatement();
String query = "";
query += "select grpid, to_char(min(dtlastendtime),'mm-dd-yyyy hh24:mi:ss') ";
query += "from calc_table where equipmentsernum in (";
query += "'888000','888001'";
query += ") group by grpid";
ResultSet rs = st.executeQuery(query);
if(rs != null) {
list = "";
while(rs.next()) {
list += (rs.getString(1) + "," + rs.getString(2));
rs.close();
conn.close();
System.out.println("Connection Closed");
} else {
System.out.println("Connection Not Established");
}catch(Exception e) {
e.printStackTrace();
public String getList() { return list; }
}I figured out the issue ...
In the server.xml file the resource & resource params needed to be modified..
1. Set type to oracle.jdbc.pool.OracleDataSource
2. Set factory to oracle.jdbc.pool.OracleDataSourceFactory
3. In the Java code cast the context lookup to an OracleDataSource instead of a java.sql.DataSource
Oracles DataSource does not subclass the jdbc DataSource for its OracleDataSource class everything works fine now.
<Resource name="jdbc/mydb" scope="Shareable" type="oracle.jdbc.pool.OracleDataSource"/>
<ResourceParams name="jdbc/mydb">
<parameter>
<name>validationQuery</name>
<value></value>
</parameter>
<parameter>
<name>factory</name>
<value>oracle.jdbc.pool.OracleDataSourceFactory</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@server.company.com:1521:dbname</value>
</parameter>
<parameter>
<name>password</name>
<value>guest</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>100</value>
</parameter>
<parameter>
<name>user</name>
<value>guest</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams> -
How to connect oracle 9i database in PHP (Linux)
I found that I cannot connect oracle 9i thru PHP in Linux, where can I get the necessary information and samples to setup this connection?
Hi,
You can find information on http://www.php.net .
Anyway, you have to configure php.ini with oci8 library.
Paolo -
Oracle keeping JDBC connections ...
All
has anyone come got any ideas on this:
WLS6.0 sp2 on Win2k
Oracle v8
JDBC connection pool configured with 10 min connections / 50 max conns (in
increments of 5). Shrinking is active, and is set to run every 15mins.
What were seeing is that Oracle doesnt let go of any of the JDBC
connections. It literally keeps them for days on end, until we have to
manually kill them because theyre causing other DB problems.
any ideas ?
tks
willHello, I am using ALUI G6 (former Plumtree) and I am experiencing the same problem.
JDBC connections are not released and we reach the connection max number easily.
Please, can somebody help us ?
Thanks for your help,
Kind regards -
How to connect to oracle in vpn in linux?
Dear all,
I have to connect to oracle database between two linux server in VPN.
Plz help.check this , seems to be similar
ERROR ORA-12170: TNS:Connect timeout occurred
Re: Inconsistent ora-12170 problems on 10g. -
Connection reset using JDBC Oracle thin Driver (towards 10g DB)
Hi we have a home-grown application and a Oracle 10g (10.2.0.1) database.
We created a scheduled servlet that gets a JDBC connection from a persistent connected cache (an OracleDataSource object registered using OracleConnectionCacheManager). The servlet runs every 15 minutes and runs the query "SELECT SYSTIME FROM DUAL" on 10g Database as XYZ user. The datapool was created yday on web-app and all queries ran successfully for about 5 hours after which it reported a connection reset error.
I can then conclude that we cannot keep the server session alive for the JDBC client by running frequent SQL queries.
We didnt get any messages on the DB server side that indicate the release of the session
Ultimately, we are struggling with reset connections from our applications that are
using the JDBC thin oracle driver; after a couple of hours of idle
connections, we receive the below error from the JDBC driver:
Jul 5, 2007 10:59:53 AM oracle.jdbc.driver.DatabaseError throwSqlException
WARNING: DatabaseError.throwSqlException(e): Unable to find ORA number from
exception Jul 5, 2007 10:59:53 AM oracle.jdbc.driver.DatabaseError
findMessage
WARNING: DatabaseError.findMessage(errNum, obj): returned Io exception:
Connection reset Jul 5, 2007 10:59:53 AM
oracle.jdbc.driver.PhysicalConnection getWarnings
INFO: PhysicalConnection.getWarnings()
Any suggestions please ?
VkThe code itself is fine; the problem is with one of:
1) the connection URL
2) intermediate networking
3) the database itself
1) your connection URL is "jdbc:oracle:thin:@127.0.0.1:1521:orcl"
- is Oracle really running on the default port, 1521
- is the installation SID really "orcl"
2) lots of possibilities, but only a couple are likely
- is TCP/IP configured and running on your host
- is there a persoanl firewall rpduct running? perhaps it's blocking the connection
3) Is Oracle running?
Is the listener running? -
Couldnot connect JBuilder 6 to ORACLE 8i , JDBC driver problem
Hi guys
I am trying to connect to the oracle 8i database from jbuilder 6 using a simple select statement , but it gives the following error
Root cause:
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
at _0002ftestEmployee_0002ejsptestEmployee_jsp_1._jspService(_0002ftestEmployee_0002ejsptestEmployee_jsp_1.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
plse help me how to connect jbuilder to oracle to access the data. I followed jbuilder doc like from the menu (Tools �� enterprise setup �� database driver ��)
but could not select the driver since it is marked as red (uninstalled). How can I made jdbc driver to available to jbuilder.?. I am using oracle 8i. Will oracle 8i supports jdk 1.3 b��cos I have noticed the jbuilder supports from jdk 1.3 onwards. So plse correct me if I am wrong
waiting for reply
sumeshthanks for u'r reply.
you mean to say i need to install the new JDBC driver (Classes12.zip and nls_charset12) to the oracle/ora8i/jdbc/lib folder.currently this folder contains only classes102 and classes11.zip files and the corresponding charset only.After instaling the new classes12.zip file do i need to set the classpath?. -
How to connect Oracle Linux 6 on vmware without GUI
Hi Guys,
I've setup Oracle Linux 6 as Vmware Guest (on External Driver) and Windows 7 as Host. And I'm running Oracle EBS R12 on Linux.
When I'm login to VMWare the Linux starts up with GUI which is just a waste of resources.
Please let me know how can I run the Linux 6 in text mode on VMWare.
Regards
VijayVijayDhapola wrote:
Hi Guys,
I've setup Oracle Linux 6 as Vmware Guest (on External Driver) and Windows 7 as Host. And I'm running Oracle EBS R12 on Linux.
When I'm login to VMWare the Linux starts up with GUI which is just a waste of resources.
Please let me know how can I run the Linux 6 in text mode on VMWare.
Regards
Vijay
In addition to Dude's comments ... it sounds like you are connecting to your vm machine via the vmware console. Personally, I treat that console just like I treat the console on my physical servers in my data center. That is, I don't run down to the data center whenever I need to log on to a linux server. That's what remote console programs such as putty are for. I have a suite of 10 linux vm's on my Win7 desktop, and one of my 4 "Prime Directives" is that I access them using exactly the same Windows desktop tools I use to access my physical servers. -
How to use jdbc to connect oracle
I want use jdbc direct to connect oracle database,and I
want to use sun Company or oracle Company driver. how can I get driver and how do I write connection string?
Deeply to wait your reply,thank you!The correct format would be jdbc:oracle:thin@server:port:sidTry "jdbc:oracle:thin:@192.168.84.20:1521:ORDB","ysys","fareast"and see what happens.
Note that you two formats for the DriverManager.getConnection() method; if DriverManager.getConnection(db_url, username, password) doesn't work, try the other call with a fully-qualified database url:DriverManager.getConnection("jdbc:oracle:thin:ysys/[email protected]:1521:ORDB")The SID is the server ID that was given to the instance when the database was installed; default is ORCL, but may have been changed. Port default is 1521, but again, this may be different for your system. -
How to connect oracle on linux
O/S= Windows XP SP2
ORACLE Client- 10.2.0.1
Oracle : 10.2.0.1... linux RHEL4
Sir,
I am having a machine with RHEL4 installed on VMWare. I want to connect ORACLE installed in linux on windows. I have installed Oracle Client on Windows. Now Pl. guide how can I be able to connect oracle through Oracle Client. I want to use ORACLE for some development on ASP.Net.
Following is the Tnsname.ora file of Linux installation
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Kindly Guide me the Steps how can I connect ORACLE.
ThanksSir,
here I am pasting output of all commands.
[oracle@localhost ~]$ env|sort
CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-onw8BmaUC9
DESKTOP_SESSION=default
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-7u3EBx/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=localhost.localdomain
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_SID=orcl
ORACLE_TERM=xterm
PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle
QTDIR=/usr/lib/qt-3.3
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/3185
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=3213
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-RAdzDO3212/agent.3212
TERM=xterm
TMPDIR=/tmp
TMP=/tmp
USER=oracle
_=/usr/bin/env
WINDOWID=37748817
XAUTHORITY=/home/oracle/.Xauthority
[oracle@localhost ~]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:00:14
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JUL-2010 13:28:24
Uptime 0 days 2 hr. 31 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:00:19
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JUL-2010 13:28:24
Uptime 0 days 2 hr. 31 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$ [oracle@localhost ~]$ lsnrctl service
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:03:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:5 refused:0
LOCAL SERVER
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: localhost.localdomain, pid: 3421>
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=32808))
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
The command completed successfully
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 9 16:03:38 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> startup mount
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[oracle@localhost ~]$
Maybe you are looking for
-
Help - mail keeps crashing after I installed Mavericks!
I have just installed the new Mavericks operating system and I can no longer open mail. I am beginning to panic as I have dozens of folders and thousands of important emails saved and need access to them tomorrow. Please help!
-
No audio in video clip in slideshow
How do I get the audio associated with a video clip to play in iPhoto? I have several clips taken on a digital camera--with audio--and have them imported into iPhoto. When I make a slideshow incorporating one or more of them, they play fine but with
-
Problem in opening 3gp or mp4 files in 6300
HI, I hv a Nokia 6300 and am quite satisfied with the performance. Lately I'm having problem opening some 3gp or mp4 files. I am able open some files while for some files it gives an error "file cannot be opened". Any idea where the problem is? Pleas
-
Where/what is the app to click on to transfer music from the computer to the iphone?
Where/what is the app to click on to transfer music from the computer to the iphone?
-
Plz help me figure out what in the world is going on with my iTunes!!
Title of error: QuickTime Handler Window: iTunes.exe - Bad Image complete error message: The application or DLL c:\...\iTunes\...\Mplugin.dll is not a valid Windows image. PLease check against installation diskette. Things I have tried: Uninstall and