TNS Listener Poison Attack...externally or internally ?
Hello all,
with regrads to the below thread which mostly talks about Oracle Security Alert for CVE-2012-1675 "TNS Listener Poison Attack"....i just wanted to find out if this effect DB that are externally or internally....meaning 95% of our DB are in network(internally) behind our firewall....and rest of the 5% are outside our firewall facing the world wide web....so does this apply to both of just one ?
Oracle TNS Poison vulnerability
user097815 wrote:
with regrads to the below thread which mostly talks about Oracle Security Alert for CVE-2012-1675 "TNS Listener Poison Attack"....i just wanted to find out if this effect DB that are externally or internally....meaning 95% of our DB are in network(internally) behind our firewall....and rest of the 5% are outside our firewall facing the world wide web....so does this apply to both of just one ?The attack is on the Listener itself - so if you want to prevent this attack, you need to secure that Listener, irrespective of its location.
IMO, mandatory if you expose your Listener to an unsecured or public network (e.g. internet).
As for Listeners running on your internal network - if this attack is used, securing your Listeners mean very little IMO. Because your internal network already needs to be compromised in order for the attack to occur. Which means you have far more serious problems then someone attacking your Listeners.
Similar Messages
-
TNS Listener Poison attack : Oracle Security Alert for CVE-2012-1675
Hi,
I'm looking to implement the following oracle document about COST but not sure what we need to do for Standby Environment ,
Can you guys please advise.
Oracle Using Class of Secure Transport (COST) to Restrict Instance Registration [ID 1453883.1]
Oracle Security Alert for CVE-2012-1675
Thanksuser097815 wrote:
with regrads to the below thread which mostly talks about Oracle Security Alert for CVE-2012-1675 "TNS Listener Poison Attack"....i just wanted to find out if this effect DB that are externally or internally....meaning 95% of our DB are in network(internally) behind our firewall....and rest of the 5% are outside our firewall facing the world wide web....so does this apply to both of just one ?The attack is on the Listener itself - so if you want to prevent this attack, you need to secure that Listener, irrespective of its location.
IMO, mandatory if you expose your Listener to an unsecured or public network (e.g. internet).
As for Listeners running on your internal network - if this attack is used, securing your Listeners mean very little IMO. Because your internal network already needs to be compromised in order for the attack to occur. Which means you have far more serious problems then someone attacking your Listeners. -
Hi Gurus,
Recently i came across an alert from Oracle, which talks about TNS Listener Poison attack in Oracle database environment, which i do not understand how can someone attack the listener and get access to the database. is it possible to provide a scenario as an example.
Thanks in advance.TNS Listener Poison Attack
The Oracle database server has a separate network connection process that usually operates on TCP port 1521. The database registers as a listener with this process and the process forwards the client requests on to the actual database system that handles the requested database instance.
Since version 8i, these network connection processes can register additional listeners. Such a listener can even be registered for an existing database instance. The active listener interprets this as a new Oracle Real Application Clusters (RAC) node and uses the new listener to implement load balancing. In other words: every second database connection will be routed via the new listener.
This security hole is particularly serious "because it allows remote and unauthenticated attackers to redirect the database's network traffic on the database server to an arbitrary server and then intercept it. All they need to know is the Oracle SID or Oracle service name."
Immediate solution for non-cluster envernment:
dynamic_registration_<listener> = off
For Example:
Step 1
======
LSNRCTL> show dynamic_registration
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=XS2.WORLD))
LISTENER parameter "dynamic_registration" set to ON
The command completed successfully
Step 2
======
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(PROGRAM = extproc)
(SID_DESC =
(global_dbname = ORCL.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = hostname)
ADR_BASE_LISTENER = /u01/app/oracle
INBOUND_CONNECT_TIMEOUT_ = 120
DYNAMIC_REGISTRATION_LISTENER = off
Conclusion:
The attack is on the Listener itself - so if you want to prevent this attack, you need to secure that Listener, irrespective of its location.
Note: Mandatory if we expose our Listener to an unsecured or public network (e.g. internet).
As for Listeners running on your internal network - Internal network already needs to be compromised in order for the attack to occur.
http://shanojkumar.wordpress.com/2012/05/23/oracle-security-alert-for-cve-2012-1675-tns-listener-poison-attack/ -
TNS Listener Poison Attack - CVE-2012-1675
I have few databases from Oracle 9i to Oracle 11g. Many are standalone instances,and few RAC instances.
My questions are
1) For standalone instances, will the following setting in listener.ora file and restarting listener addresses this vulnerability? Or is there any thing else we need to do? We want to avoid any patches now and see if we can resolve this quickly.
DYNAMIC_REGISTRATION_LISTENER = off
2) If we dont configure "remote_listener", is it applicable for us?
3) For RAC instances, I can follow the steps mentioned in
Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC [ID 1340831.1]
Regards,
SarayuSarayu;
1) For standalone instances, will the following setting in listener.ora file and restarting listener addresses this vulnerability? Or is there any thing else we need to do? We want to avoid any patches now and see if we can resolve this quickly.
DYNAMIC_REGISTRATION_LISTENER = off
A: No you need to add another setting : ( (ADDRESS = (PROTOCOL = IPC)(KEY = REGISTER)) )
Example :
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = your hostname)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = REGISTER))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
Plus for each database
alter system set local_listener='(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=REGISTER)))' scope = both;
stop and start the listener
Read note 1453883.1
Oracle 9 - No idea
2) If we dont configure "remote_listener", is it applicable for us?
A: Yes you should still fix your listener.ora
3) For RAC instances, I can follow the steps mentioned in
Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC [ID 1340831.1]
A: Yes.
Best Regards
mseberg
Aman - Great memory! -
Listener Poison Attack (CVE-2012-1675).
I want to fix Listener Poison Attack for non RAC system, but I can't open the url https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1453883.1
Can someone get the note for me ? Thanks!Hi there,
You posted this in the Application Express forum. At first glance, it looks like this issue is with the database listener - nothing directly to do with Application Express, really.
Joel -
ORA-12514: TNS:listener does not currently know of service requested in con
Hi All,
I am trying to create a physical standby using RMAN duplicate command.Yesterday I created it succesfully ,today I dropped the standby database I tried to create new one when I got hit by this error"
<code>
[email protected](standby) $ rman target sys/root123#@db1 auxiliary sys/root123#@standby
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Mar 3 11:38:08 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
[email protected](standby) $
</code>
below is my tnsname and listener files from primary
[email protected](db1) $ pwd
/u01/app/oracle/dbhome_1/network/admin
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ ls -ltr
total 28
-rw-r--r-- 1 oracle oinstall 187 May 7 2007 shrept.lst
drwxr-xr-x 2 oracle oinstall 4096 Sep 12 22:12 samples
-rw-r--r-- 1 oracle oinstall 40 Jan 20 03:38 sqlnet.ora_1
-rw-r----- 1 oracle oinstall 1004 Mar 3 00:33 tnsnames.ora
-rw-r--r-- 1 oracle oinstall 1004 Mar 3 11:27 tnsnames13030311AM2745.bak
-rw-r--r-- 1 oracle oinstall 514 Mar 3 11:27 listener13030311AM2745.bak
-rw-r--r-- 1 oracle oinstall 508 Mar 3 11:28 listener.ora
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1.primary.swapnilkambli.com)
RCAT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rcat.primary.swapnilkambli.com)
DB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db2.primary.swapnilkambli.com)
STANDBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = standby.standby.swapnilkambli.com)
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = rcat.primary.swapnilkambli.com)
(ORACLE_HOME = /u01/app/oracle/dbhome_1)
(SID_NAME = rcat)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
[email protected](db1) $
[email protected](db1) $ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:42:52
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=primary.swapnilkambli.com)(PORT=1521)))
Services Summary...
Service "db1.primary.swapnilkambli.com" has 1 instance(s).
Instance "db1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:6 refused:0 state:ready
LOCAL SERVER
Service "db1XDB.primary.swapnilkambli.com" has 1 instance(s).
Instance "db1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: primary.swapnilkambli.com, pid: 2617>
(ADDRESS=(PROTOCOL=tcp)(HOST=primary.swapnilkambli.com)(PORT=23611))
Service "rcat.primary.swapnilkambli.com" has 1 instance(s).
Instance "rcat", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
[email protected](db1) $ tnsping db1
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:36
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db1.primary.swapnilkambli.com)))
OK (0 msec)
[email protected](db1) $
[email protected](db1) $
[email protected](db1) $ tnsping standby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:44
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = standby.standby.swapnilkambli.com)))
OK (0 msec)
and below are my entries from standby server
[email protected](standby) $ pwd
/u01/app/oracle/dbhome_1/network/admin
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ ls -ltr
total 24
-rw-r--r-- 1 oracle oinstall 187 May 7 2007 shrept.lst
drwxr-xr-x 2 oracle oinstall 4096 Sep 12 22:12 samples
-rw-r----- 1 oracle oinstall 576 Mar 3 11:21 tnsnames.ora
-rw-r--r-- 1 oracle oinstall 576 Mar 3 11:25 tnsnames13030311AM2540.bak
-rw-r--r-- 1 oracle oinstall 514 Mar 3 11:25 listener13030311AM2540.bak
-rw-r--r-- 1 oracle oinstall 514 Mar 3 11:26 listener.ora
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1.primary.swapnilkambli.com)
STANDBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = standby.standby.swapnilkambli.com)
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = standby.standby.swapnilkambli.com)
(ORACLE_HOME = /u01/app/oracle/dbhome_1)
(SID_NAME = standby)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
[email protected](standby) $
[email protected](standby) $ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:43:14
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=standby.swapnilkambli.com)(PORT=1521)))
Services Summary...
Service "standby" has 1 instance(s).
Instance "standby", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "standby.standby.swapnilkambli.com" has 1 instance(s).
Instance "standby", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:3 refused:0
LOCAL SERVER
The command completed successfully
[email protected](standby) $ tnsping db1
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:49:12
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db1.primary.swapnilkambli.com)))
OK (0 msec)
[email protected](standby) $
[email protected](standby) $
[email protected](standby) $ tnsping standby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 03-MAR-2013 11:49:18
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = standby.swapnilkambli.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = standby.standby.swapnilkambli.com)))
OK (0 msec)
tnsping works from both side I am able to connect from primary as below:
[email protected](db1) $ rman target sys/root123#@db1 auxiliary sys/root123#@standby
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Mar 3 11:44:23 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: DB1 (DBID=1402881212)
connected to auxiliary database: DB1 (not mounted)
RMAN>
DB version 11.2.0.1.0
OS version Linux 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
primary server--- primary.swapnilkambli.com
primary database--- db1
standby server--- standby.swapnilkambli.com
standby database--- standby
After I dropped the physical standby first time I did make some changes in tns of standby server which I dont recollect.
Help on this error ORA-12514 is available on internet but I did not find anything helpful to my situation
Edited by: user12860499 on Mar 2, 2013 10:45 PMGOT IT!!!!
I check listener trace and found below:
Log messages written to /u01/app/oracle/diag/tnslsnr/standby/listener/alert/log.xml
03-MAR-2013 12:21:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=standby.swapnilkambli.com)(USER=oracle))(COMMAND=reload)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * reload * 0
03-MAR-2013 12:22:00 * service_register * standby * 0
Sun Mar 03 12:22:16 2013
03-MAR-2013 12:22:16 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1.primary.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=39512)) * establish * db1.primary.swapnilkambli.com * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54862)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54863)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.102)(PORT=54864)) * establish * standby.standby.swapnilkambli.com * 0
Sun Mar 03 12:22:27 2013
03-MAR-2013 12:22:27 * service_update * standby * 0
Sun Mar 03 12:22:40 2013
03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60821)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60822)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:40 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=standby.standby.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=primary.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=60823)) * establish * standby.standby.swapnilkambli.com * 0
03-MAR-2013 12:22:42 * service_update * standby * 0
03-MAR-2013 12:22:45 * service_update * standby * 0
Sun Mar 03 12:22:51 2013
03-MAR-2013 12:22:51 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=db1.primary.swapnilkambli.com)(CID=(PROGRAM=rman)(HOST=standby.swapnilkambli.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=39536)) * establish * db1.primary.swapnilkambli.com * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
there was a entry in /etc/hosts which was directing primary.swapnilkambli.com to 127.0.01
This was because I created this OS from a Virtual box template wherein that entry was made.
I changed the /etc/hosts to refelct the true address and it worked!! -
TNS-12518: TNS:listener could not hand off client connection TNS-12547
Hi guys,
I have started my listener from 10.2.0.5 home , which was in 10.2.0.4.
from that point am having issue connect to 10.2.0.4 databases which are in restricted session(DR db)
when I try to connect to databases which are in restricted session it says TNS connection closed. databases which are open am able to connect.
listener.log shows
TNS-12518: TNS:listener could not hand off client connection TNS-12547: TNS:lost contact TNS-12560: TNS:protocol adapter error TNS-00517: Lost contact Solaris Error: 32: Broken pipe
any idea why its happening.902988 wrote:
Hi guys,
I have started my listener from 10.2.0.5 home , which was in 10.2.0.4.
from that point am having issue connect to 10.2.0.4 databases which are in restricted session(DR db)
when I try to connect to databases which are in restricted session it says TNS connection closed. databases which are open am able to connect.
listener.log shows
TNS-12518: TNS:listener could not hand off client connection TNS-12547: TNS:lost contact TNS-12560: TNS:protocol adapter error TNS-00517: Lost contact
Solaris Error: 32: Broken pipeOS/Networking misconfiguration.
Oracle is victim; not culprit.
Root cause & solution is external to Oracle
How many different DB versions installed on this system?
post results from following OS command
env | sort
Handle: 902988
Status Level: Newbie
Registered: Dec 17, 2011
Total Posts: 7
Total Questions: 4 (4 unresolved)
Why post here when you NEVER get any answers?
Edited by: sb92075 on Apr 13, 2012 1:12 PM -
Hi All,
While restarting the hyperion service we see this exception. Nothing was changed on the hyperion server. Checking with DB team if anything was change on their end.
Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:283)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1330)
Truncated. see log file for complete stacktrace
We don't have oracle client on our end, so this is not a tnsnames issue. This is preventing all the hyperion services coming up.
Thanks,The listener is up , the message is from the listener indicating the listener does not know of SID/SERVICE name that you are giving it. Manually connect to the db using sqldeveloper in order to make sure the parameters you are providing are working. Pay special attention to SID vs SERVICE_NAME. Then try to open config tool and go back to your database connection info. Reconfigure your database connection. It will likely you will find your connection error there. Also sometimes the config tool has trouble figuring out whether you mean SID or SERVICE_NAME. You can open advanced properties on the connection in configtool and specify / or : in the url.
Java JDBC - How to connect to Oracle using Service Name instead of SID - Stack Overflow -
ORA-12514: TNS:listener - RMAN - Target Database
Hi Pals,
Today while configuring two of my machines (On same Network) for RMAN I'm facing some issues while connect to the Catalog Server and register a target database.
Here are more details about the (Environment) -- machines:
Machine 1 - ORCL (Catalog Server)
Machine 2 - PRCL (Target Database)
Both machines and in same network.
Tnsping results: both machines are able to ping each other
Unix Ping results: both machines are able to ping
Listeners: Up and Running on both machines
Names: Listeners (Both Machines)
TNSnames: Created an for both machines in each others tnsnames.ora file.
tnslsnr status: Connected Both Machines)
OS: Linux Red Hat 5
Db: Oracle 11gR2
Status: DB are up and working good and both are in ARCHIVELOG Mode.
Env: VMWARE Team (Version 6)
So, while trying to connect to Catalog Server(DB Name: ORCL) from Target Machine (DB name: PRCL) I'm getting a TNS:Listener based error.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[oracle@localhost ~]$ rman target / catalog rman/oracle90@orcl
Recovery Manager: Release 11.2.0.1.0 - Production on Mon May 21 20:49:08 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: PRCL (DBID=459947553)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04004: error from recovery catalog database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
[oracle@localhost ~]$
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please assist and let me know in case more details required.
Thanks
Prashant DixitHi Tychos/DMorgan,
Below provided are tnsentries and listener.ora file contents from both of the machines.
Yes, i'm using vmware (Team) and have 2 machines in the same network (1st ORCL - 2nd PRCL). Both of them are able to ping each other.
First Machine 1 - ORCL Instance:
*1. listener.ora file:*
+++++++++++++++++++++++++
# listener.ora Network Configuration File: /u01/app/oracle/product/11.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 = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = extproc)
LISTENER1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
ADR_BASE_LISTENER = /u01/app/oracle
----> tnsnames.ora__
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.localdomain)
PRCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prcl.localdomain)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Machine 2: PRCL Instance -
listener.ora file
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# listener.ora Network Configuration File: /u01/app/oracle/product/11.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 = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
---> tnsnames.ora file
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
PRCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prcl.localdomain)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.localdomain)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I've tried several options with SERVICE_NAME and HOST name after your's and Morgan's post but no luck so far. Please let me know if need (*tnslsnr* status results as well)
So, this is what i originally have on my machine and yes I'm still getting ORA-12514: TNS:listener error.
Thank you guys for your attention.
Please help.
Thanks
Prashant Dixit
Edited by: OracleAnt ... on May 22, 2012 4:58 PM -
TNS-12500: TNS:listener failed to start a dedicated server process
Hello all,
I have recently applied a patch on apps tier, after which the concurrent manager is not up & running,
while viewing the internal log
im getting the below error
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to : 25-NOV-2013 13:02:02
Starting AVAILMGR Concurrent Manager : 25-NOV-2013 13:02:02
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager AVAILMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to : 25-NOV-2013 13:02:02
Process monitor session ended : 25-NOV-2013 13:02:02
========================================================================
Starting test_1125@test Internal Concurrent Manager -- shell process ID 25362
logfile=/d01/apps/testcomn/admin/log/test_test/test_1125.mgr
PRINTER=noprint
mailto=appltest
restart=N
diag=N
sleep=60 (default)
pmon=20 (default)
quesiz=1 (default)
Routine &ROUTINE has attempted to start the internal concurrent manager. The ICM is already running. Contact you system administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP.Request_Session_Lock.
Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
Possible DBMS_LOCK.Request resultCall to establish_icm failed
The Internal Concurrent Manager has encountered an error.
Review concurrent manager log file for more detailed information. : 25-NOV-2013 13:03:01 -
Shutting down Internal Concurrent Manager : 25-NOV-2013 13:03:01
List of errors encountered:
_ 1 _
Routine AFPCSQ encountered an ORACLE error. .
Review your error messages for the cause of the error. (=<POINTER>)
List of errors encountered:
_ 1 _
Routine AFPCAL received failure code while parsing or running your
concurrent program CPMGR
Review your concurrent request log file for more detailed information.
Make sure you are passing arguments in the correct format.
The test_1125@test internal concurrent manager has terminated with status 1 - giving up.
WARNING: RunAsUser for MSP ignored, check group ids (egid=501, want=51)
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
Also in apps tier $TNS_ADMIN
the log says
25-NOV-2013 14:57:51 * ping * 0
25-NOV-2013 14:57:51 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=5147)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipeHI thanks for your reply,
I tried the above guide but dint helped me,
I tried modifiying Concurrent:GSM Enabled to N & concurrent manager started but all requests were in pending state not running so i reverted back to Concurrent:GSM Enabled Y
I ran autoconfig & this is the lastes error I am getting in internal manager log.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:18
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:18
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:18
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:18
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:20
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:20
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:20
The below is the log from $TNS_ADMIN log directory apps_test.ora
25-NOV-2013 16:06:01 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.30.82)(PORT=13510)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
25-NOV-2013 16:06:01 * ping * 0
25-NOV-2013 16:06:01 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=13512)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
25-NOV-2013 16:06:02 * ping * 0
25-NOV-2013 16:06:02 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=13514)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
25-NOV-2013 16:06:02 * ping * 0
25-NOV-2013 16:06:02 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.30)(PORT=13516)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe -
TNS:listener could not find available handler with matching protocol stack
Hi,
I am getting the following stack trace in b2b.log file:
2009.01.06 at 14:34:35:869: Thread-108: BusinessLogicLayer - (ERROR) caught error: Error -: AIP-13002: SQL error getting the DataSource
2009.01.06 at 14:34:35:870: Thread-108: IP - (ERROR) java.sql.SQLException: Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with matching protocol stack
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVICE_NAME=test)))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:292)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:429)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:217)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:113)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:76)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:58)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:493)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:368)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:306)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:285)
at oracle.tip.buslogic.common.DBConnectivity.getConnection(DBConnectivity.java:151)
at oracle.tip.buslogic.common.ExecutionContextImpl.getService(ExecutionContextImpl.java:379)
at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
at oracle.tip.adapter.b2b.data.B2BExecutionContext.activate(B2BExecutionContext.java:98)
at oracle.tip.adapter.b2b.data.DBContext.initialize(DBContext.java:90)
at oracle.tip.adapter.b2b.data.DataContext.getNewDBContext(DataContext.java:365)
at oracle.tip.adapter.b2b.data.DataContext.getDBContext(DataContext.java:346)
at oracle.tip.adapter.b2b.transport.InterfaceListener.onMessage(InterfaceListener.java:232)
at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:858)
at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:302)
When I ran the enquire script. I am getting the following exception:
IPEnqueue start...
Action Name = null
oracle.jms.AQjmsException: ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
ORA-06512: at "SYS.DBMS_AQIN", line 454
ORA-06512: at line 1
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1180)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1407)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1512)
at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:201)
[Linked-exception]
java.sql.SQLException: ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
ORA-06512: at "SYS.DBMS_AQIN", line 454
ORA-06512: at line 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:183)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:872)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1085)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2983)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3025)
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1110)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1407)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1512)
at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:201)
Error -: AIP-13121: Connection-related error. Please verify that the database server is running.: java.sql.SQLException: Closed Connection
at oracle.tip.buslogic.common.SessionDownException.isSessionDown(SessionDownException.java:96)
at oracle.tip.common.IPException.initIPException(IPException.java:179)
at oracle.tip.common.IPException.<init>(IPException.java:114)
at oracle.tip.repos.core.persistency.DCException.<init>(DCException.java:68)
at oracle.tip.repos.core.driver.CatalogDriver.disconnect(CatalogDriver.java:1666)
at oracle.tip.repos.core.persistency.PersistencyService.disconnect(PersistencyService.java:578)
at oracle.tip.buslogic.common.ExecutionContextImpl.disconnectService(ExecutionContextImpl.java:602)
at oracle.tip.buslogic.common.ExecutionContextManager.cleanContextResources(ExecutionContextManager.java:629)
at oracle.tip.buslogic.common.ExecutionContextManager.leaveContext(ExecutionContextManager.java:581)
at oracle.tip.buslogic.common.ExecutionContextManager.leaveContext(ExecutionContextManager.java:720)
at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:245)
Caused by: java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:226)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1041)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:90)
at oracle.tip.repos.core.driver.CatalogDriver.disconnect(CatalogDriver.java:1662)
... 6 more
I tested the database and it was up. Any help is appreciated.You may be interested in http://www.tek-tips.com/viewthread.cfm?qid=1368266&page=10
-
ORA 12541:TNS: listener could not solves SERVICE_NAME given in connect
when i tried to start the service
OracleOraDb10g_home1TNSListenercompiere using services.msc
it has given the following message
Could not start the OracleOraDb10g_home1TNSListenercompiere on local computer .the service could not return an error. This could be an internal window error or service error.
When i tried to connect from client i got the following error.
TNS: listener could not solves SERVICE_NAME given in connect
pls help
harinderThanks!
There was os problem of trusted domain.
I have changed sqlnet.ora (NTS to NONE)
Thanks and Regards
Harinder -
TNS:listener was not given the SID in CONNECT_DATA
Hi Experts,
I would like share my current issues that might you have this.
Currently we have 1 external application that need to connect to oracle DB.
The input are 3 things, database type (oracle), servername, DB username and password.
I have created another SID on my DB. so 1 oracle running 2 SID.
My tnsname.ora would be:
NKD.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
(CONNECT_DATA =
(SID = NKD)
(GLOBAL_NAME = NKD.WORLD)
NKD_ORG.WORLD =
(DESCRIPTION =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = NKDORG)
(SERVICE_NAME = NKD_ORG)
(GLOBAL_NAME = NKD_ORG.WORLD)
LISTENER_NKDORG.WORLD =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
and my listener.ora
ADR_BASE_LISTENER_NKDORG = /oracle
SID_LIST_LISTENER_NKD =
(SID_LIST =
(SID_DESC =
(SID_NAME = NKD)
(ORACLE_HOME = /oracle/NKD/112_64)
CONNECT_TIMEOUT_LISTENER_NKD = 10
LISTENER_NKDORG =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1521))
STARTUP_WAIT_TIME_LISTENER_NKD = 0
ADMIN_RESTRICTIONS_LISTENER_NKD = on
LISTENER_NKD =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = NKD.WORLD))
(ADDRESS = (PROTOCOL = IPC)(KEY = NKD))
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
TNSping successfull, lsnrctl status have The listener supports no services.
I can connect to DB via sqlplus.
But everytime the apps try to connect always given me: TNS:listener was not given the SID in CONNECT_DATAHello;
I think the issue is here, using both a service_name and a SID.
NKD_ORG.WORLD =
(DESCRIPTION =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = NKDORG)
(SERVICE_NAME = NKD_ORG)
(GLOBAL_NAME = NKD_ORG.WORLD)
)SID missing from the CONNECT_DATA
NKD_ORG.WORLD =
(DESCRIPTION =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = NKDORG)
(SERVICE_NAME = NKD_ORG)
(GLOBAL_NAME = NKD_ORG.WORLD)
)should be
(CONNECT_DATA =
(SERVICE_NAME = NKD_ORG)
) You have (SERVER = DEDICATED) and (SID = NKDORG) between
In any event this is almost always an issue with the tsnames.ora file.
http://docs.oracle.com/cd/B19306_01/win.102/b14307/featConnecting.htm#sthref114
About Naming and Connect descriptors :
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/concepts.htm#i1041378
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#sthref683
Worth checking the parameter "local_listener" I'm thinking this should be set default.
Also check lsnrctl status and/or restart/start the listener
TROUBLESHOOTING GUIDE TNS-12518 TNS listener could not hand off client connection [ID 550859.1]
Best Regards
mseberg
Edited by: mseberg on Apr 5, 2012 5:39 AM
Edited by: mseberg on Apr 5, 2012 7:07 AM -
Hi all,
Our E-Business Suite support is fully outsourced. We have 3 Administrators at the outsourced company who are the ONLY ones with root access,ORACLE_HOME owners and these 3 are the only ones in the DBA group. Because of this limited number admins (the 3 of them) they claim they dont need a TNS Listener password, tns listener admin restrictions switched on or tns listener logging enabled. Does this sound reasonable.If a password is not set on the listener, anyone who knows hostname and port number has full control over the listener. Hence, the Listener files can be compromised or corrupted or even a Denial of Service Attack can be launched against the system. In this type of attack, the attacker is able to stop the listener, set a listener password so that the listener cannot be started without a password, although the DBA simply has to edit the file and remove the password line.
My personal recommendation is, Continue to have adequate password controls for access to LISTNER. The DBA should ensure that the password is encrypted. -
TNS Listener error while opening a Form !
Hi all,
I have installed Form/Reports 11gr2 with Weblogic 10.3.6 64-bit & database 11gr2.
All installations and configures are successful.
But when I give URL address (servername:portno/forms/frmservlet?form=main) to open a form, it gives me following error;
ora-12514: TNS:listener does not currently know of service requested in connect descriptor.
I searched on google, but didn't clear my error. I also checked Oracle services, all are started.
So please guide me !
Thanks/Regards.
DassI never changed settings in tnsnames.ora, it is always as per default settings. If required now then let me know.
Please note that when I connect my form builder with databases, it is connected. But when I run my form it again show same error and open a dialog box for
username,password & databases connection string.
I copied this file into "E:\Oracle\Middleware\asinst_1\config" of form.
Below is my tnsnames.ora file;
# tnsnames.ora Network Configuration File: E:\app\admin\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Thanks.
Maybe you are looking for
-
Basics - 2008 iMac, 2.8 Ghz, 4 Gig RAM, 500 Gig HDD with over 100 Gig free. DId Disk Utility verification and files-disk are fine. Programs will run, but any filing just stops everything (spinning beach ball). I've managed to back up some major conte
-
I have a Iphone 3g,every now and then some of my music will disappear then reappear.I've tried to sync the music from my library on my laptop,nothing happens.How do I get my music back,without having to wait for it to reappear?
-
Reminder tasks on Mac want repeat set to 3 months
Reminder tasks on Mac want repeat set to 3 months
-
Preview, photo Orientation is wrong after fixing
I have taken several pictures sideways with my camera. I opened them in preview and turned the orientation to right side up. I then save the files and load them onto my iPod touch. When I view them on the touch they are still sideways and not oriente
-
Docx file upload to content repository on MS Sharepoint
I have installed Primavera P6 EPPM version 8.2 in use with content repository on MS Sharepoint 2010 SP1. When I an trying to upload files with extensions "docx", "xlsx" ... system message "uknown error, please contact your System Administrator" pop u