ORA-12514 error: Instant Client 11 connect to remote Oracle 8i
I encountered a problem that I have spent hours fixing that. Here is the problem:
I am trying to connect to a remote Oracle 8i server using Oracle 11 instant client: here is my connection string in PHP:
*$conn = oci_connect('db_user', 'db_pass', "db_ip/db_service");*
db_ip is the ip of the server, such as "12.34.56.78". db_service is the service of server, such as "test".
The error shown is "*ORA-12514:* TNS:listener does not currently know of service requested in connect descriptor"
I could use the same client to connect to another oracle 10g server. The php code is same, only change the db_user or db_pass or db_ip. db_service is not provided.
I dont use tnsnames.ora for either oracle *10g s*erver or oracle 8i server. I just use the simple IP of server. Does this matter?
Server using: Windows Server 2008 R2
PHP: php 5.2.17
Oracle Instant Client: 11_2
Any ideas will be appreciated.
Best, Sam
Pl do not post duplicates - PHP 5.2.17 and Oracle 8i
Similar Messages
-
ORA-12514 error while connecting to server
I am using instantclient to connect to Oracle 9i server.
The connection string is given using this format
//host:[port][service name].
In our development environment we can successfully connect to the server. But the connection fails in the production environment giving ORA-12514 error. This occurs even when we copy the instant client dll's onto separate folder and set the library loading path to this folder.
Can u please help me in resolving this problem.Vinay,
Since you are using Windows, are you setting PATH (the lib loading path of Windows)? -
Sqlplus error - instant client 10.1.0.2 with 8.1.7.4
Hi,
I've installed the instant client basic & sql plus from rpm on a debian system. When I try to connect with sqlplus I get
SP2-0642: SQL*Plus internal error state 2165, context 4294967295:0:0
The sqlplus cmd line I use should have everything it needs cause I don't have a tnsnames.ora. Here's the cmd line with user & password as xxx
sqlplus xxx/xxx@"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.178.191)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=PWDEV03)))"
Can someone please give me an idea how to figure this out?
Thanks,
ScottDid you read the Release Notes? It often includes some basic setup instructions.
If you also have DB 8.1.7 installed, which includes Client and RSFs, the problem could be with env setup. Be sure paths (eg. PATH) do not include any reference to 8.1.7 files. (so you're not running a mix-up of different installations)
It is usually a good idea to use an env script for each "oracle home", if you want to run two or more installations (from same user).
Instant Client product home
http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
Instant Client OTN forum
Instant Client -
Hi,
I get this error and i really don't know what to do..
C:\Documents and Settings\Sorin>sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 2 19:03:43 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> conn system/password@scoala
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptorCan you advise me of what to do?
Edited by: Roger22 on 02.07.2011 19:05Roger22 wrote:
Yes, probably they have been asked (e.g. ora-12514 error) and i already have googled it. But maybe i have a problem that i did not found already on google or on this forum. And maybe here i can get helpThis particular error is not arcane or difficult to debug. Did you read the link I gave you? There's really only 3 steps
on the client - tnsping - to see where the connection request is going and what service is being requested.
on the server - lsnrctl - to see what services the listener supports.
If the listener supports no services, the database needs to be register itself with the listener. -
ORA-12514: ERROR MESSAGE PLZ HELP ME
Hi all,
I'm using Linux Redhat server and Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 version.
I'm trying to connect to remote Oracle database (database2) from my database1 using a dbLink.
I'm using local naming method (TNSNAMES.ORA file): I added in TNSNAMES.ORA this entry in database1 server:
database2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = database2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = database2)
----> database2 : the name of my remote machine
then I create my DBLINK with SYS user on database1 :
create PUBLIC DATABASE LINK DB2
connect to USER_CLIENT
identified by RklEoz816959
using 'database2' ;
when trynig to execute a query on database1 using the DBLINK DB2 :
select * from USER_CLIENT.clients@DB2 ;
I have this Error : ORA-12514: TNS:listener does not currently know of service requested in connectdescriptor
Could you help me please :)
Message was edited by:
HAGGARYes;
[oracle@advdb01 bdump]$ tnsping database2 ;
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 26-NOV-2007 14:03:20
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.2.0/advdb_1/network/admin/sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=database2))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.55.71)(PORT=1521)))
OK (0 msec) -
ORA-12514 Error when using Net Configuration Assistant
I have recently installed Oracle 11g on a Windows 2008 server and am now trying to connect via the Oracle client on my local machine.
Here is how I've been using Net Configuration Assistant so far:
Listener Configuration
The name of my listener is LISTENER_PROXIMA (proxima is the name of the server). Does this need to be named something else? Something specific?
I'm using TCP to connect.
I'm using standard port 1521.
Naming Methods
Local Naming and Easy Connect Naming
Local Net Service Name
Service name is ADMI04 (checked this against the lsnrstl service status on the server and it's correct)
Using TCP
Using the hostname proxima.domain-name.com
I'm attempting to connect as SYS (but have tried others with the same result)
When I go to test the connection I keep getting the ORA-12514 error. Does anyone know what I should do? Reinstall the listener? If so, are there any suggestions or guidance for that?
Thank you.=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
===================================== -
Hi all,
I have installed the oracle xe in my windows xp machine. for some reason i have shut down the oracle and given "startup restrict" mode, but it is thrown the below mentioned error
"SQL> startup restrict;
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor"
please help me.
ThanksThe reason why this error shows is because oracle is self-registered against listener, so when it shuts down the listener deregisters the instance and any further attempt to contact it will result in an ORA-12514 error.
Once the instance is restarted it will contact again the listener and will registers against it once more. This process will take no more than 60 seconds, but you can force it by issuing the command:
ALTER SYSTEM REGISTER;
~ Madrid -
ORA-12514 Error in remote office
I installed and created a 10g (rel2) database while connected to my office's network. Because my company uses DHCP I had to create a loopback connector and give it a fixed IP address. Everything went as expected.
Now I've travelled to a remote location and, even though the Oracle instance is on my laptop, I'm getting an ORA-12514 error (TNS:listener does not currently know of service requested in connect string). I'm using Windows XP Pro and this is what I get from doing a lsnrctl status:
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-JAN-2008 14:29:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
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
The command completed successfully
This is my listener.ora file:
# listener.ora Network Configuration File: C:\Ora10gHomes\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Ora10gHomes\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521))
As you can see, it isn't creating a service for anything other than the EXTPROC entry. I tried doing a TNSPING on the SID (LAKOTA) and got this:
TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 14-JAN-2
008 14:24:50
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Ora10gHomes\DevSuiteHome\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = lakota.cgifederal.com)))
OK (40 msec)
So now I'm stumped. I've tried stopping and starting the listener, but nothing changed. Is it because I'm physically connected to a different network than when I installed the software and created the database? If that's the case, is there a work-around because I'm going to be travelling a LOT more than I'm going to be in the home office and I need access to my oracle instance no matter where I am or what backbone I'm connected to. Any and all assistance gratefully appreciated.
Leigh SmithYou are trying to connect to a service named: lakota.cgifederal.com but from the output of the listener status it can be seen that the instance has not yet been registered against the listener. Your listener is at 1521 port, this means that can be self registered against it. Just make sure your instance is started.
There is a command to force instance registration, it is from the sql command prompt connected with either sys or system issue: alter system register Automatic instance registration should take less than a minute, if after the time has expired and issuing the command don't work, then if required, instead of relying on automatic instance registration, you can change it to be manually configured. You can do this from the network manager.
~ Madrid -
Suddenly getting ORA-12514 error Oracle 11gr2
I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
My tnsnames.ora file:
# tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_MYDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
MYDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb.orcl)
SE3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = se3.orcl)
LISTENER_SE3 =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
and my listener.ora file is as follows:
# listener.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = G:\oracledb
* i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBERHi,
Instead of this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
have the following in your listener file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(SID_NAME = mydb)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
(SID_DESC =
(SID_NAME = se3)
(ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
localhost.
Restart listener and try.
Thanks &
Best Regard, -
Instant Client to connect to Oracle 8i
Does anyone know where I can download a version of Instant Client that is compatible with Oracle Server 8i (8.1.7.0). The only download I can find is for 11.1 and that's not compatible.
All I'm trying to do is setup some OLE DB data sources in SSIS to pull Oracle 8i data into sql server 2005, but getting a little bit more than I bargined for...
ThanksHere
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
you can find Instant Client 10.1 and 10.2 for Windows.
These can be used to access Oracle 8.1.7.4, but they do not include an OLE DB provider.
If you want to use OLE DB to access an Oracle 8 server, you'll have to install the regular client (10.2 optimally).
Yours,
Laurenz Albe -
Connect to Remote Oracle Database
I am unsuccessfully trying to connect to remote Oracle database using OleDB/ODBC/Oracle Client.
Do I have to install Oracle Client in order to use those drivers and which version?
I would really appreciate any help. THANK YOU!Marina,
Please refer this question to the general Installation forum. Thanks!
The short answer is yes, you need to have the Oracle client software installed. -
JDBC connect to remote Oracle, IOException,Help!
I am trying to connect to remote Oracle 8.1.6 resides on IBM AIX server, the oracle SID is correct, and ping host address is also successful. also, downloaded JDBC driver classes12.zip from oracle...but i still encounter the IOException: Network adapter cannot establish connection!...could anyone tell me how to test whether the oracle's listener works...?
i also tried to run the following piece of code on that IBM server, changed the host address to 'localhost', but still, the IOExcetpion:Network adapter cannot establish connection!...why? cos i am running the code on the server where Oracle resides.....
great appreciation for anyone replies me.....the code is here:
import java.io.*;
import java.sql.*;
import java.text.*;
import oracle.jdbc.driver.*;
public class viewtable
Connection con;
Statement st;
public viewtable (String args[]) throws ClassNotFoundException,FileNotFoundException,IOException,SQLException
url="jdbc:oracle:thin:system/manager@IP:1521:SID";
Class.forName ("oracle.jdbc.driver.OracleDriver");
try
con=DriverManager.getConnection(url);
st = con.createStatement ();
doexample ();
st.close ();
con.close ();
}catch(SQLException e)
System.err.println(e.getMessage());
public void doexample () throws SQLException
ResultSet rs = st.executeQuery("select * from sales");
if(rs!=null) {
while(rs.next())
int a = rs.getInt("no"); System.out.println("NO = "+a);
rs.close();
public static void main (String args[])
System.out.println ("Oracle Exercise 1 \n");
try
viewtable test = new viewtable(args);
} catch (Exception ex)
System.err.println ("Exception caught.\n"+ex);
ex.printStackTrace ();with an RS/6000, don't you have a db admin ? he/she should know how to set up the listener properly.
if you have to do it on your own, try the following things:
- www.orafaq.com is often very helpful
- search the web for "oracle listener" etc. A first goolg search gave me the following link: http://www.ibiblio.org/mdw/HOWTO/Oracle-7-HOWTO.html
- check the files listener.ora and tnsnames.ora. They should be located somewhere in your oracle home direcotry on the server
good luck
PS: to start a listenter, type "startup" in the lsnrctl tool, maybe you can already see something. -
ORA-12514 Error when connection from OEM
I have RAC database. I can access Cluster from https://rs1pre91dvdba01.pre.ccosvc.com:5500/em
but when clicking on database tab -> Performance -> Afer giving username / password I get
Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (description=(address_list=(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(load_balance=yes))(connect_data=(service_name=DWH1)))
[oracle@rs1pre91dvdba01 admin]$ . oraenv
ORACLE_SID = [oracle] ? DWH1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
[oracle@rs1pre91dvdba01 admin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://rs1pre91dvdba01.pre.ccosvc.com:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/log
How can I access Performance tab from OEM.
thanks.[oracle@rs1pre91dvdba01 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:35
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JAN-2011 12:06:28
Uptime 28 days 3 hr. 31 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/rs1pre91dvdba01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.201)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.203)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ lsnrctl service
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:44
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:34200 refused:0 state:ready
LOCAL SERVER
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:106 refused:0 state:ready
LOCAL SERVER
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 6845>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=45445))
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:56105 refused:0 state:ready
LOCAL SERVER
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 24224>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=59486))
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[oracle@rs1pre91dvdba01 admin]$ env | sort
ASM_SID=+ASM1
_=/bin/env
COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
DISPLAY=localhost:10.0
DWH_SID=DWH11
G_BROKEN_FILENAMES=1
GI_HOME_BIN=/u01/app/11.2.0/grid/bin
GI_HOME=/u01/app/11.2.0/grid
GRID_HOME=/u01/app/11.2.0/grid
HISTSIZE=1000
HOME=/home/oracle/
HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
INPUTRC=/etc/inputrc
LANG=en_GB
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/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
MDM_SID=MDM11
NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
OLDPWD=/u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/config
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=DWH1
ORACLE_UNQNAME=DWH1
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
PWD=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=172.30.0.125 58337 22
SSH_CONNECTION=172.30.0.125 58337 172.30.2.201 22
SSH_TTY=/dev/pts/0
SVN_EDITOR=vi
TERM=xterm
TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
USER=oracle -
ORA-12514 Error coming whenever trying to connect to database in TOAD
Hi,
When i'm logging in database(10g) through TOAD, i'm getting the error as:
"ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor"
My listener.ora contains
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
My tnsnames.ora contain:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
The listener status is as follows:
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 05-OCT-2008 06:40:42
Uptime 0 days 0 hr. 16 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
The database is up and running and I've stopped-started the listener.
Still the error occurs. Could anyone suggest what can be done.
Regards,
SouvikThe error basically means that the connection service which you are requeting in your connection string is not yet to known to the listener of yours. See here the output of the listener's supported services from your post.
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))+
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
It clearly shows that the listener is only working to listen for the PLSExtproc service which is meant for external procedures.
Is the database just started? If that's the case than it may take a while to get the PMON register the db with the listener. Or you can issue,
alter system register from your db's sql prompt which can ask listener for immediately register the db with it. Try this command and post feedback. If that won't work than you may have to manualy register your db with the listener.
HTH
Aman.... -
Getting "ORA-12514 error" while connecting first time
Hi,
Getting below error while connecting to the database first time.
ORA-12514: TNS:listener does not currently know of service requested in connect
apludc01dat25:e2cmpc1 > tnsping ora37_ap
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 26-MAR-2012 12:00:58
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/grid/product/crs/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apl11764clu01-scan-oravip.nat.bt.com)(PORT = 61901)) (CONNECT_DATA = (SERVICE_NAME = ORA37_ap))
OK (0 msec)
apludc01dat25:e2cmpc1 > sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:15 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: outln@ora37_ap
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
apludc01dat25:e2cmpc1 > sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:22 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter user-name: outln@ora37_ap
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>
Please help me out to resolve this issue.
Thank you.
Regards,
DasarathHi,
We are getting this error while connecting remotely.
PFB output of listener status and services
apl11764a001:ORA37a > lsnrctl services LISTENER_ORA37
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:06
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
Services Summary...
Service "ORA37_ap" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
LOCAL SERVER
Service "ORA37_ap_XPT" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0 state:ready
LOCAL SERVER
Service "ORA37aXDB" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: apl11764a001, pid: 25970>
(ADDRESS=(PROTOCOL=tcp)(HOST=apl11764a001)(PORT=10862))
The command completed successfully
apl11764a001:ORA37a > lsnrctl status LISTENER_ORA37
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:20
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
STATUS of the LISTENER
Alias LISTENER_ORA37
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 26-MAR-2012 12:15:17
Uptime 0 days 0 hr. 3 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /grid/product/crs/network/admin/listener.ora
Listener Log File /grid/product/crs/log/diag/tnslsnr/apl11764a001/listener_ora37/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA37)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.4)(PORT=62037)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.7)(PORT=62037)))
Services Summary...
Service "ORA37_ap" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Service "ORA37_ap_XPT" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
Service "ORA37aXDB" has 1 instance(s).
Instance "ORA37a", status READY, has 1 handler(s) for this service...
The command completed successfully
Thank you.
Regards,
Dasarath
Maybe you are looking for
-
How can I create and organize a symbol to be integrated into Illustrator's stock symbols?
Hello, I am trying to create a series of symbols for maps (north arrows, scale bars, etc.) and then save them in Illustrator's "stock" symbol libraries - such as "maps". The goal is that whenever I create a new Illustrator file, I can immediately gr
-
Oracle E-Business Suite integration is failing with OSSO
Hi all, We are integration EBS 12.1.1 with OSSO 10g (OID 10.1.4.3) using txkrun.pl script. This is a production environment and has 2 nodes of OID and 2 nodes of Database in RAC mode. When we run the txkrun.pl script we are getting the below error: M
-
Describe the process flow in MM
hi i m new to MM, can u pls describe the process flow in MM thanks
-
hi dear all pl go through with following details IT IS OBSERVED THAT USERS ARE CREATING DOUBLE GR WITH SAME DC NUMBER, CAN WE PROVIDE , D.C. NO VALIDATION FOR GR PREPARATION . Thanks in Advance deb
-
I have an ibook g4 with 1.2 powerpc g4 with 768 mb can i run leopard and how fast would it be