TNS listener failure
Hi
I am a newbie to programming and to Oracle. I have Oracle SQL Developer installed on my machine. But I have having a hard time connecting to my database. I keep getting the fol error from the Database Connection window:
"Status: Failure-Listener refused the connection with the following error: ORA-12505, TNS listener does not know if SID given in connect description.."
I have checked that the information on the TNS names file is correct and that the SID matches the Listener.
I will appreciate any insights on this issue.
Here is my TNSname file content:
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora92
\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
RTM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sv03cm3)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = RTM)
HARVEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sv03cm3)(PORT = 1521))
(CONNECT_DATA =
(SID = harvest)
TDORASERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sv03cm)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = harvest)
)
C:\>lsnrctl services
LSNRCTL for 32-bit Windows: Version 9.2.0.8.0 - Production on 07-MAR-2007 09:38:
34
Thank you for making that distinction. Well I ran the lsnrctl services at the command prompt and had the following results:
Copyright (c) 1991, 2006, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
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
I am assuming that it is functioning properly.
Similar Messages
-
Problems with tns/listener
Hi,
i have a question regarding a problem i am experiencing in my development oracle env.
i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
We can connect to oracle 11.2.0.3 but not 11.2.0.1.
what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
and sqlplus username/[email protected] connects instantly.
One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
The error messsage i see in alert logs are
/* In alert log */
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 14-JUN-2013 14:21:20
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6720) as a result of ORA-609
/* In listener tarce file */
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
** DBGRL Error: Text Alert Log
** DBGRL Error: SLERC_OERC, 48180
** DBGRL Error: OSD-00001: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 53: Unknown error
TNS-12518: TNS:listener could not hand off client connection
TNS-12571: TNS:packet writer failure
TNS-12560: TNS:protocol adapter
Thanks for the help in advance.
Srinath946544 wrote:
Hi,
i have a question regarding a problem i am experiencing in my development oracle env.
i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
We can connect to oracle 11.2.0.3 but not 11.2.0.1.
what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
and sqlplus username/[email protected] connects instantly.
One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
The error messsage i see in alert logs are
/* In alert log */
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 14-JUN-2013 14:21:20
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6720) as a result of ORA-609
/* In listener tarce file */
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
** DBGRL Error: Text Alert Log
** DBGRL Error: SLERC_OERC, 48180
** DBGRL Error: OSD-00001: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 53: Unknown error
TNS-12518: TNS:listener could not hand off client connection
TNS-12571: TNS:packet writer failure
TNS-12560: TNS:protocol adapter
Thanks for the help in advance.
Srinath
by definition, you have two different ORACLE_HOME folders.
You should be running a single listener from the V11.2.0.3 directory; which depends upon the content of the PATH variable.
Are the OS Services for both the database & listener started & running now.
Unfortunately, the ORA-12560 is somewhat of a catchall error that results from a handful of different causes. -
ORA-12518: TNS:listener could not hand off client connection
guys,
i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
ORA-12518: TNS:listener could not hand off client connection
i had learned about this error here before, and i toke some notes as follows:
h2. listener.log
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:23:49
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is C:\oracle\product\10.2.0\db_2\network\admin\listener.ora
Log messages written to C:\oracle\product\10.2.0\db_2\network\log\listener_bkp_1.log
Trace information written to C:\oracle\product\10.2.0\db_2\network\trace\listener_bkp_1.trc
Trace level is currently 0
Started with pid=2212
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WINXP)(PORT=1523)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
25-SEP-2009 01:24:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
25-SEP-2009 01:24:49 * (CONNECT_DATA=(SERVICE_NAME=financeira.winxp)(CID=(PROGRAM=C:\ORACLE?instantclient_10_2\sqlplus.exe)(HOST=PAULO_NOTEBOOK)(USER=ORACLE_DBA))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=51649)) * establish * financeira.winxp * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
25-SEP-2009 01:24:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
h2. lsnrctl services
C:\>lsnrctl services listener_bkp_1
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:33:40
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=WINXP)(PORT=1523)))
Services Summary...
Service "FINANCEIRA.WINXP" has 1 instance(s).
Instance "FINANCEI", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:1
LOCAL SERVER
The command completed successfully
h2. listener.ora file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = FINANCEIRA.WINXP)
(SID_NAME = FINANCEI)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1521))
SID_LIST_LISTENER_BKP_1 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = FINANCEIRA.WINXP)
(SID_NAME = FINANCEI)
LISTENER_BKP_1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1523))
h2. v$resource_limit
RESOURCE_NAME ; CURRENT_UTILIZATION ; MAX_UTILIZATION ; INITIAL_ALLOCATION ; LIMIT_VALUE
processes ; 26 ; 30 ; 150; 150
sessions ; 30 ; 35 ; 170 ; 170
2 rows selected
this means that it didn't reach the resource limites yet. What i can do to solve the problem ???
another important information is that connecting by the default listener LISTENER instead of the LISTENER_BKP_1 listener, the connection is completed successfully. There's enough SGA memory space too.
Tks,Paulo_BR wrote:
i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
ORA-12518: TNS:listener could not hand off client connectionDon't do Oracle on Windows, so I'm not sure how the following relates to the Listener dealing with a dedicated server connection request on Linux/Unix.
On Linux/Unix, a dedicated server request means just that - a dedicated process has to be started to service that client. The Listener does it by using the parameters of the configured listener.ora service to execute +$ORACLE_HOME/bin/oracle+. This process then starts up, and the Listener hands off the client connection for this process for servicing.
If there is a failure somewhere on this series of steps fail, the Listener throws the ORA-12518 exception. For example, the +$ORACLE_HOME+ has been incorrectly configured in listener.ora and it fails to execute and startup a dedicated server process.
And this relates to the underlying error you are seeing:
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directoryI think that the Listener on Windows uses the CreateRemoteThread() Win32 call to start up the server process thread. However, it needs a valid process identifier (of the existing Oracle instance) for this call - and thus needs to first identify the Oracle instance process. Could be that this step uses a ORACLE_HOME reference. And if that directory path is not valid, it is unable to identify the process id of the Oracle instance and thus unable to spawn a dedicated thread to service that client. -
Tns listener with 10g grid control
i have a primary database on site A and a standby database on site B. yesterday the relationship between the 2 was alright with logs being shipped and applied. now my standby is down(probably due to a power failure) and each time i try to start it up i get the following:
Error: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
This is oracle database 10g rel2 and grid control 10g rel2 sitting on windows xp. I have checked all the listener.ora and tnsnames.ora and do not seem to find anything amiss.
what i need to know is:
1 - are there any issues relating to installing rel2 on win xp?
2 - when enterprise manager looks at the listener, is it the listener on the server with the primary or standby database?
3 - has anybody ever had this issue, if so, what was the resolution?
sincerely
simba1 There are no more issues compared to other platforms
2 It looks at the listener on the host you specify in tnsnames.ora
3 Look: it is quite simple: too many people post here about common errors they can't seem to resolve themselves, because they don't use already available resources. If you would have simply searched this forum for ora-12505 you would already have read the solution.
Typically, there is no need to ask around whether someone already ran into this. You are not unique, you are not the only one with this problem, and there are FAQs.
ORA-12505 simply means in your tnsnames.ora you are using a SID which doesn't occur in listener.ora
And you would have known this if you would have simply looked up the error in the online documentation. But alas: most people around here never use the documentation, though the Forums Etiquette post (also no one reads) recommends otherwise.
Sybrand Bakker
Senior Oracle DBA -
ORA-12505, TNS:listener
Hello there, is it possible to connect Oracle Sql Developer to an Oracle Database via network? I have made attempts to connect via a network to a target database on a different computer and I get the error message
"Status : Failure -Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client..."
Please any clue on how to go about this?How are you setting up the connection?
The message implies that one of the parameters you supplied is wrong (or possibly that the service is not running)
If you are using the basic tab, you need to supply host name, port number (probably 1521) and EITHER a SID or a SERVICE. If you have a local TNSNAMES.ORA look in there to see the relevant settings. -
Ora-12514:TNS:listener does not
Hi All,
My DB Version: 10.2.0
OS: Solaris
i just shutdown the database and when try to restart the db it give me error like:
Ora-12514:TNS:listener does not
when i check the tnsnames.ora file entry of db is listed there
but when i do
lsnrctl status
it will not show services of db that is orcl
can any one help me outThanks for your help
now db is up
can you tell me the reason for the same why it happened.
one thing more to ask
when trying to take up the rman hot backup i am getting below error:
RMAN> backup incremental level 0 database;
Starting backup at 10-JAN-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=74 devtype=DISK
channel ORA_DISK_1: starting incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00006 name=/export/home/u01/app/oracle/oradata/orcl/tbs_md01.dbf
input datafile fno=00007 name=/export/home/u01/app/oracle/oradata/orcl/system02.dbf
input datafile fno=00001 name=/export/home/u01/app/oracle/oradata/orcl/system01.dbf
input datafile fno=00003 name=/export/home/u01/app/oracle/oradata/orcl/sysaux01.dbf
input datafile fno=00002 name=/export/home/u01/app/oracle/oradata/orcl/undotbs01.dbf
input datafile fno=00005 name=/export/home/u01/app/oracle/oradata/orcl/example01.dbf
input datafile fno=00004 name=/export/home/u01/app/oracle/oradata/orcl/users01.dbf
channel ORA_DISK_1: starting piece 1 at 10-JAN-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/10/2012 22:44:05
ORA-19504: failed to create file "/export/home/nasvol/BACKUP/orcl/ora_ORCL_set1_piece1_20120110_01n0er9i_1_1"
ORA-27040: file create error, unable to create file
Intel SVR4 UNIX Error: 13: Permission denied
is this means i don't have the permission on backup location
right
Edited by: Vikas Kohli on Jan 10, 2012 11:43 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 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. -
ORA-12514: TNS:listener does not currently know of service requested
While connecting "sqlplus SYSADM/SYSADM@HCM" I am getting the below error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Installation background:
Windows 7 l(64-bit) laptop.
Created linux virtualbox to installl peoplesoft VM templates.
so far installed: Oracle11gR2.vdi and HCMDB.vdi on the linux virtualbox.
Followed the steps exactly what it is in the link below: Got the above error in page 4 of the link at connecting to database via sqlplus.
http://bloggingaboutoracleapplications.org/running-oracle-vm-templates-oracle-enterprise-linux-guide-part-1-7/
Below provided initHCM.ora, tnsnames.ora, listerner.ora and some responses I tried. I could not figure out what causing the issue even after researching in web.
Your help would be highly appreciated.
tnsnames.ora:
=============
# tnsnames.ora Network Configuration File:
HCM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HCM)
Listener.ora:
=============
# listener.ora Network Configuration File:
/u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
initHCM.ora:
============
DB_FILES =256
OPEN_CURSORS = 1000
db_block_size = 8192
remote_login_passwordfile = NONE
undo_tablespace=PSUNDOTS
NLS_LENGTH_SEMANTICS=CHAR
# Cache and I/O
#db_block_size=
db_file_multiblock_read_count=16
# Database Identification
# db_domain=us.oracle.com
# db_name=
# Diagnostics and Statistics
#background_dump_dest=
#core_dump_dest=
#user_dump_dest=
# Job Queues
job_queue_processes=10
# Processes and Sessions
processes=150
# SGA Memory
sga_target=287309824
# Security and Auditing
#audit_file_dest=
#remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=95420416
# System Managed Undo and Rollback Segments
undo_management=AUTO
#undo_tablespace=
unnestsubquery=false
# Miscellaneous
compatible=11.2.0.2.0
control_files=(/u01/app/oracle/oradata/HCM/control01.ctl)
DB_NAME=HCM
[oracle@hcmdb91 ~]$ tnsping hcm
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
07:40:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
HCM)))
OK (20 msec)
[oracle@hcmdb91 ~]$
[oracle@hcmdb91 ~]$ tnsping hcm
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
07:40:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
HCM)))
OK (20 msec)
[oracle@hcmdb91 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:41:32
Copyright (c) 1991, 2010, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
[oracle@hcmdb91 ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:20
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 28-MAR-2013 07:29:21
Uptime 0 days 0 hr. 13 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
Listener Log File
/u01/app/oracle/product/11.2.0.x/db_1/log/diag/tnslsnr/hcmdb91/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hcmdb91.example.com
)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@hcmdb91 ~]$ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:44
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@hcmdb91 ~]$
[oracle@hcmdb91 ~]$ sqlplus SYSADM/SYSADM@HCM
SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 28 07:44:25 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in
connect descriptor
My guess is that the database service "HCM" is not up and running but not sure how to make up and running. Even I could not find it listed in the linux services list.
Note: Able to login sqlplus using "sqlplus sys/sys as sysdba" but failing to access database table as "select * from PSRECDEFN;"
thanks
Espii.
Edited by: 995437 on Mar 28, 2013 6:52 AM
Edited by: 995437 on Mar 28, 2013 6:59 AMHi Nicolas,
I have no luck and the error still persists.
I have set the "export ORACLE_SID=HCM" from root user and oracle user too.
I guess, I have already loaded database when I ran the "cd /opt/oracle/psft/vm
./oraclevm-template.sh"
The outcome of the above script as similar as below:
Creating
ovm_configure_pre
CreateVirtualEnvironment
/u01/scripts/db-reconfig.sh: line 238: ovm_set_password: command not found
/u01/scripts/db-reconfig.sh: line 239: ovm_configure_network: command not found
INFO:
Starting Oracle database reconfiguration.
Oracle Database Configuration
This will configure on-boot properties of Oracle Database.
The following questions will determine whether the database should be
starting upon system boot, the ports it will use.
Press <Enter> to accept the defaults.
Do you want to relink binaries? (y/n) [n] y
Specify a port that will be used for the database listener [1521]:
Do you want Oracle Database to be started on boot (y/n) [y]:y
Wrote to /etc/sysconfig/oracle11g
Relinking Oracle Binaries...
Oracle Relinking Completed Successfully
Logs: /home/oracle/relink.log
Running orainstRoot.sh and root.sh...
set 2GB tmpfs
Enabling Oracle Database service
Configuration Completed Successfully.
Enter the name of the database SID [TESTDB]:HCM
ORACLE instance started.
Total System Global Area 288104448 bytes
Fixed Size 2225832 bytes
Variable Size 104859992 bytes
Database Buffers 176160768 bytes
Redo Buffers 4857856 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
1 row updated.
160 rows updated.
Commit complete.
Kumar - I have found no sqlnet.ora file exist in the $ORACLE_HOME/NETWORK/ADMIN
Edited by: 995437 on Mar 28, 2013 9:15 AM -
TNS Listener error in Obiee 11g
Hi folks,
I am struggling with one in Obiee11g . whenever login into the presentation services(http://localhost:9704/analytics), im getting ,username and password nt authenticated . i saw error msg in the server.log file.
Error msg is :
Received exception while creating connection for pool "mds-owsm": Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Could u guys resolve this problem.
Regards
C'nucheck with this:
Cannot connect to Database from the OBIEE 11g upgraded RPD -
TNS Listener: Entry Point Not Found
First I installed 8.1.6 Personal edition
on my laptop (NT4 SP5):
Folder: d:\orant.
Oracle Home: DEFAULT_HOME
That went fine. I could connect to the database with SQLPLUS, DBA etc.
Then I tried to install Portal using:
Folder: d:\9iAS
Oracle Home: iSuites
Spent three days trying to get Portal to install ok. Have finally got through the installation of 9iAS (HTTP Server Only), which the Universal Installer claims to be successfull.
Started the Apache Server and tried to connect to the portal. I get the following error message:
Proxy log On failed.
Please verify that you have specified correct connectivity information i.e.username, password & connect-string in the Database Access Descriptor
Error-Code:12154
Error TimeStamp:Tue, 23 Jan 2001 23:20:00 GMT
Database Log In Failed
TNS could not resolve service name
Verify that the TNS name in the connectstring entry of the DAD for this URL is valid.
I can access the admin page:
http://<machine>:80/pls/admin_/
To debug this I tried to connect to the database with SQLPLUS and I got this error message:
I:\>sqlplus
SQL*Plus: Release 8.1.7.0.0 - Production on Tue Jan 23 16:08:58 2001
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Enter user-name: system
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name:
Checked my Services and found that the TNS listener was not started. When I try to start the OracleDEFAULT_HOMETNSListener in my Services I get the following error message:
TNSLSNR.exe - Entry Point Not Found
The procedure entry point snlpcgtsrvbynm could not be located in the dynamic link library oranl8.dll.
I have tried swicthing my primary Oracle Home using the Home Selector. Did not help.
Shouldn't the TNS listener be started, or?
Any ideas what to check?I have found the solution of my problem from Oracle9i Portal's Configuration Guide , the troubleshooting part. The document can be found in the Oralce9i Documentation web site.
The problem is that I set the incorrect information in my tnsnames.ora file when installing Oracle9i Portal.
The solution is set the host name, port number and SID in the tnsnames.ora file. This file is located at
\Oracle_Home\network\admin\
Here is the example of the content in that file:
PORTALDB_MyHost =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1521))
(CONNECT_DATA = (SID = PortalDB)(SERVER = DEDICATED))
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1521))
(CONNECT_DATA = (SERVER = SHARED)(SERVICE_NAME = PortalDB)(PRESENTATION = http://admin))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO))
--------------------------------------------- -
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!! -
Data Guard Broker teasing error ORA-12514: TNS:listener
Hello,
I have spent many hours but don't understand what little thing I am missing or confusing me.. Please help to fix the issue.
Physical Standb db created successfully, but now facing following issue: Though it should be and must be fixed but really making me mad
DGMGRL> SHOW CONFIGURATION;
Configuration - DATA GUARD
Protection Mode: MaxPerformance
Databases:
dg - Primary database
Fast-Start Failover: DISABLED
Configuration Status:
DISABLED
DGMGRL> ADD DATABASE DG_DB2
> AS CONNECT IDENTIFIER IS DG_DB2
> MAINTAINED AS PHYSICAL;
Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Failed.
PRIM:
db_name: DG
db_unique_name: dg
service_names: dg
STBY:
db_name: DG
db_unique_name: dg_db2
service_names: dg_db2
# TNSNAMES same entries on both Primary and Standby: HOSTNAMES are different.
DG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dg)
DG_DB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dg_db2)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521)) db02.domain for Standby on standby machine.
# Listener.ora on PRIMARY:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = dg_DGMGRL.domain)
(ORACLE_HOME = /oracle/app/11g/db)
(SID_NAME = dg)
(SERVICE_NAME = dg.domain)
# Listener.ora on Standby:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = dg_db2_DGMGRL.domain)
(ORACLE_HOME = /oracle/app/11g/db)
(SID_NAME = dg_db2)
(SERVICE_NAME = dg_db2.domain)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
I created Stby DB with the minimum parameters required, so that I configure BROKER and see it magic, but badly stuck in this situation here. I have read many docs related to this..but can not fix it unfortunately.
Please guide me from your own experience as note ids, blogs are not helping me here...
Bundle of thanks.
Best RegardsHi,
Your listener.ora file has SERVICE_NAME = dg_db2.domain whereas tnsnames.ora file has SERVICE_NAME = dg_db2.
Check in your database for exact service name and reflect the same in both the files.
SQL> sho parameter service_names
Restart the listener and try connecting.
Thank you!! -
ORA-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
Hi
i installed a fresh oracle linux and installes 11.2.0 database server. the server works fine but i have a proplem to connect to the database from a windows 2008 r2
client. For the client connection i installed the oracle instantclient on the windows system. Now i want to configure the system dsn to connect to the oracle
server like this
data source description: vSphere 64
description: ----
TNS Service Name: VCDB
user id: system
then i go to TEST connection
Service Name: VCDB
user name: system
Password: mypassword
so i copied the tnsnames.ora from the server to the client
then i get
ora-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
here´s my tnsnames.ora from the client
VCDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.31.98.173)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vcdb.vmware)
i tested serveral config´s but nothing works. I can ping the server and also i cn telnet the server on port 1521. The listener on the server works fine
lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-SEP-2010 20:48:52
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vc-db1.mydomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 20-SEP-2010 20:47:45
Uptime 0 days 0 hr. 1 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/vc-db1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vc-db1mydomain)(PORT=1521)))
Services Summary...
Service "vcdb.vmware" has 1 instance(s).
Instance "vcdb", status READY, has 1 handler(s) for this service...
Service "vcdbXDB.vmware" has 1 instance(s).
Instance "vcdb", status READY, has 1 handler(s) for this service...
The command completed successfully
but it´s not possible to create a connection to the server. My enviroment variables are this
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_HOSTNAME=vc-db1.mydomain
ORACLE_SID=vcdb
ORACLE_TERM=xterm
so i think on the server site everything is correct. How could i establish a connection from the windows client
to the linux database server. Or is ODBC the wrong method for this?
Kind regards
ACID25Hi,
Check the listener log and see if the connection information is logged (in this case with error)
If logged, then we are reaching the correct listener.
Then check tnsping VCDB works fine along with sqlplus connection through listener using VCDB as connect string.
If above both works, then issue can be isolated to ODBC configuration or setup issue.
In case even if the tnsping / sqlplus is failing to connect with VCDB, then worth taking a client sqlent trace at level 16 and listener trace at level 16 to analyse the issue further.
Thanks,
Sathya -
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
Hi Friends,
I have created 10g database for catalog.
I kept the tns entry in some other server. Tnsping is working fine.. I can see the result.
mexn01:$ tnsping rman09na
TNS Ping Utility for HPUX: Version 9.2.0.5.0 - Production on 28-APR-2008 19:29:07
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/apps/app/oracle/local/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))
OK (0 msec)
When I am trying to connect to the database I am getting following error..
mexn01:$ sqlplus ismdba/xxxxx@rman09na
SQL*Plus: Release 9.2.0.5.0 - Production on Mon Apr 28 19:29:22 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
descriptor
Please help me..
Thanks in advance.Try on the server where it doesn't work:
sqlplus ismdba/xxxxx@"(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
or
tnsping "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
(note the double quotes)
If that works then your tnsnames.ora is incorrect on that server.
Maybe you are looking for
-
IMac won't go past apple logo screen and vertical lines on display
I have an old white iMac that won't boot. When booting up the screen has vertical purple lines and I can see the Apple logo. The little "dial" just spins and spins. Does anyone know how to fix this? thank you for any and all help.
-
Hello All, I have a LAP, that I run Windows 2008 R2 Server as a DC. I have A Folder name "Admin" located on that DC. I shared this folder to specific people with just "Read and Write" and they can't delete. I notice that, all files text, *.dwg etc..
-
Facing issue while provisioning to Exchange mail server in OIM 11gR2
Hi All, I am getting following error while provisioning user in exchange. [2013-12-19T16:04:02.634-08:00] [oim_server1] [ERROR] [] [XELLERATE.DATABASE] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xel
-
SQL Loader loads duplicate records even when there is PK defined
Hi, I have created table with pk on one of the column.Loaded the table using sql loader.the flat file has duplicate record.It loaded all the records without any error but now the index became unusable. The requirement is to fail the process if there
-
How can I change file to Podcast from Music or Audiobook?
I am frustrated with how some of my files are automatically categorized. For example, I listen to podcasts of This American Life on my iPod. If I purchase them, they show up as Audiobooks. If I get them from the podcast, they show up under Podcasts.