RA-12514: TNS:listener does not in 11g Standby and Primary
Hi,
We are under process of creating active database in Linux,when i am trying to connect to auxiliary database from primary , i am hitting below error, any ideas.
rman target sys/oracle@adg auxiliary sys/oracle@adg1
I am able to do tnsping from both servers.
from standby
[oracle@adg1 admin]$ tnsping adg
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 18-AUG-2011 18:49:15
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xxxx.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg.xxxx.com) (UR=A)))
OK (0 msec)
[oracle@adg1 admin]$ tnsping adg1
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 18-AUG-2011 18:49:15
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxxxcom)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = adg1.xxxx.com) (UR=A)))
OK (0 msec)
[oracle@adg1 admin]$
From Primary:
========
[oracle@adg admin]$ tnsping adg
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 19-AUG-2011 10:06:29
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 = adg.xxx.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg.xxxx.com)(UR=A)))
OK (10 msec)
[oracle@adg admin]$ tnsping adg1
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 19-AUG-2011 10:06:29
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 = adg1.xxx.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg1.xxx.com) (UR=A)))
OK (0 msec)
[oracle@adg admin]$
================================
standby listener.ora
[oracle@adg1 admin]$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/11.2.0/grid/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ADG)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME = ADG1)
standby tnsnames.ora
[oracle@adg1 admin]$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/11.2.0/grid/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ADG1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = adg1.xxx.com) (UR=A)
ADG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = adg.xx.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = adg.xxx.com) (UR=A)
[oracle@adg1 admin]$
I am trying to create active database from standby, how ever its failing with below error, any ideas..?
Here is RMAN error log.
ADG: Primary
ADG1:Standby
==============
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Sep 6 03:26:09 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target *
2> connect auxiliary *
3> run {
4> allocate channel prmy1 type disk;
5> allocate channel prmy2 type disk;
6> allocate channel prmy3 type disk;
7> allocate channel prmy4 type disk;
8> allocate channel prmy5 type disk;
9> allocate auxiliary channel stby1 type disk;
10> duplicate target database for standby from active database
11> spfile parameter_value_convert 'adg','adg1'
12> set db_unique_name='adg1'
13> set standby_file_management='AUTO'
14> set db_create_file_dest='+DATA'
15> set db_recovery_file_dest='+DATA'
16> set DB_RECOVERY_FILE_DEST_SIZE='8G'
17> set control_files='+DATA/ADG1/controlfile/control01.ctl'
18> set log_archive_max_processes='5'
19> set fal_client='adg1'
20> set fal_server='adg'
21> set log_archive_config='dg_config=(adg1,adg)'
22> nofilenamecheck
23> ;
24> }
25>
connected to target database: ADG (DBID=1317755151)
connected to auxiliary database: ADG1 (not mounted)
using target database control file instead of recovery catalog
allocated channel: prmy1
channel prmy1: SID=29 device type=DISK
allocated channel: prmy2
channel prmy2: SID=22 device type=DISK
allocated channel: prmy3
channel prmy3: SID=156 device type=DISK
allocated channel: prmy4
channel prmy4: SID=152 device type=DISK
allocated channel: prmy5
channel prmy5: SID=148 device type=DISK
allocated channel: stby1
channel stby1: SID=96 device type=DISK
Starting Duplicate Db at 06-SEP-11
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwadg' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/orapwadg1' targetfile
'+DATA/adg/spfileadg.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileadg1.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileadg1.ora''";
executing Memory Script
Starting backup at 06-SEP-11
Finished backup at 06-SEP-11
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileadg1.ora''
contents of Memory Script:
sql clone "alter system set audit_file_dest =
''/u01/app/oracle/admin/adg1/adump'' comment=
'''' scope=spfile";
sql clone "alter system set dispatchers =
''(PROTOCOL=TCP) (SERVICE=adg1XDB)'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_dest_1 =
''Location=/u01/archvie VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=adg1'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_dest_2 =
''SERVICE=adg11 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=adg1'' comment=
'''' scope=spfile";
sql clone "alter system set db_unique_name =
''adg1'' comment=
'''' scope=spfile";
sql clone "alter system set standby_file_management =
''AUTO'' comment=
'''' scope=spfile";
sql clone "alter system set db_create_file_dest =
''+DATA'' comment=
'''' scope=spfile";
sql clone "alter system set db_recovery_file_dest =
''+DATA'' comment=
'''' scope=spfile";
sql clone "alter system set DB_RECOVERY_FILE_DEST_SIZE =
8G comment=
'''' scope=spfile";
sql clone "alter system set control_files =
''+DATA/ADG1/controlfile/control01.ctl'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_max_processes =
5 comment=
'''' scope=spfile";
sql clone "alter system set fal_client =
''adg1'' comment=
'''' scope=spfile";
sql clone "alter system set fal_server =
''adg'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_config =
''dg_config=(adg1,adg)'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set audit_file_dest = ''/u01/app/oracle/admin/adg1/adump'' comment= '''' scope=spfile
sql statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE=adg1XDB)'' comment= '''' scope=spfile
sql statement: alter system set log_archive_dest_1 = ''Location=/u01/archvie VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=adg1'' comment= '''' scope=spfile
sql statement: alter system set log_archive_dest_2 = ''SERVICE=adg11 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=adg1'' comment= '''' scope=spfile
sql statement: alter system set db_unique_name = ''adg1'' comment= '''' scope=spfile
sql statement: alter system set standby_file_management = ''AUTO'' comment= '''' scope=spfile
sql statement: alter system set db_create_file_dest = ''+DATA'' comment= '''' scope=spfile
sql statement: alter system set db_recovery_file_dest = ''+DATA'' comment= '''' scope=spfile
sql statement: alter system set DB_RECOVERY_FILE_DEST_SIZE = 8G comment= '''' scope=spfile
sql statement: alter system set control_files = ''+DATA/ADG1/controlfile/control01.ctl'' comment= '''' scope=spfile
sql statement: alter system set log_archive_max_processes = 5 comment= '''' scope=spfile
sql statement: alter system set fal_client = ''adg1'' comment= '''' scope=spfile
sql statement: alter system set fal_server = ''adg'' comment= '''' scope=spfile
sql statement: alter system set log_archive_config = ''dg_config=(adg1,adg)'' comment= '''' scope=spfile
Oracle instance shut down
released channel: prmy1
released channel: prmy2
released channel: prmy3
released channel: prmy4
released channel: prmy5
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/06/2011 03:26:19
RMAN-03015: error occurred in stored script Memory Script
RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
Recovery Manager complete.
Here is alert.log error.
=============
*** 2011-09-06 03:20:24.156
Redo shipping client performing standby login
*** 2011-09-06 03:20:24.200 4539 krsu.c
Logged on to standby successfully
Client logon and security negotiation successful!
Error 16058 attaching RFS server to standby instance at host 'adg1'
Error 16058 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'adg1'
ORA-16058: standby database instance is not mounted
*** 2011-09-06 03:20:24.205 4132 krsh.c
PING[ARC3]: Heartbeat failed to connect to standby 'adg1'. Error is 16058.
*** 2011-09-06 03:20:24.205 2747 krsi.c
krsi_dst_fail: dest:2 err:16058 force:0 blast:1
Redo shipping client performing standby login
OCISessionBegin failed -1
.. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
OCISessionBegin failed. Error -1
.. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
OCISessionBegin failed. Error -1
.. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
*** 2011-09-06 03:26:24.324 4132 krsh.c
Error 1034 received logging on to the standby
*** 2011-09-06 03:26:24.325 869 krsu.c
Error 1034 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'adg1'
Error 1034 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'adg1'
ORA-01034: ORACLE not available
*** 2011-09-06 03:26:24.325 4132 krsh.c
PING[ARC3]: Heartbeat failed to connect to standby 'adg1'. Error is 1034.
*** 2011-09-06 03:26:24.325 2747 krsi.c
krsi_dst_fail: dest:2 err:1034 force:0 blast:1
Similar Messages
-
JDBC - ORA-12514 TNS:listener does not currently know of service requested
Hi, I am using JDBC driver in Java for connecting to my Oracle XE 11g database on Windows 2008 Server R2 Standard, but I am receiving the following error
+java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor+
I am using this connection string:
jdbc:oracle:thin:@WIN-H0E7IBS7HLQ:1521:XE;
The configuration files:
listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = WIN-H0E7IBS7HLQ)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
tsnames.ora:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WIN-H0E7IBS7HLQ)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
I have already run some diagnostic tools:
tnsping XE
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18
013 17:38:48
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = WI
IBS7HLQ)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME
OK (30 msec)
lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-MAR-2013
:10
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 -
ction
Start Date 18-MAR-2013 17:25:02
Uptime 0 days 0 hr. 16 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\net
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\WIN-H0E7IBS7
stener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=8080))(P
ation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
lsnrctl services
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-MAR-2013
:06
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: WIN-H0E7IBS7HLQ, pid: 5248>
(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=57253))
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
I have searched a lot about what is possible is going on, but I have'nt found nothing yet. Can somebody please help me
Edited by: 994624 on 18-mar-2013 15:54Both client and server are in localhost. I had a DNS to change the hostname to 127.0.0.1. I have remove it. Same thing happens. This is the listener.log
Mon Mar 18 18:15:18 2013
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63780)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63781)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63782)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63783)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63785)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63786)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63787)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63788)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63789)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63790)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63791)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63792)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63793)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63794)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63795)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63796)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63797)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63798)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63799)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63800)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63802)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63803)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63804)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63805)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63885)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63886)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63887)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63888)) * establish * xe; * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor -
"ORA-12514 TNS: listener does not currently know of service equested in con
Hi All,
I have Oracle 11g Express edition installed on windows(this is a remore machine)
I searched google and tried many options ....don't know where am i going wrong
below are my tnsnames,listener and sqlnet files
LISTENER.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = XE)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = c:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = XE)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.61.5)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
TRACE_FILE_listener=list_h.trc
TRACE_LEVEL_listener=admin
DEFAULT_SERVICE_LISTENER = (XE)tnsnames.ora
XE=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=192.168.61.5)
(PORT=1521)
(CONNECT_DATA=
(SERVER=dedicated)
(SERVICE_NAME=XE)
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
#SQLNET.AUTHENTICATION_SERVICES =
#NAMES.DIRECTORY_PATH=C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
sqlnet.authentication_services=(NTS)Thanks for your reply....
below is my listener.log
Wed Dec 07 14:12:21 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_5396_5244.trc
Trace level is currently 6
Started with pid=5396
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 14:15:42 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_2352_5320.trc
Trace level is currently 6
Started with pid=2352
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=191.168.61.5)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
Wed Dec 07 14:15:56 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_384_5368.trc
Trace level is currently 6
Started with pid=384
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=191.168.61.5)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
Wed Dec 07 14:16:48 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_5316_5512.trc
Trace level is currently 6
Started with pid=5316
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 14:18:55 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_5992_2320.trc
Trace level is currently 6
Started with pid=5992
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 14:28:22 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_2904_5604.trc
Trace level is currently 6
Started with pid=2904
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 14:40:01 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_4756_4852.trc
Trace level is currently 6
Started with pid=4756
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 14:40:30 2011
07-DEC-2011 14:40:30 * ping * 0
Wed Dec 07 14:40:59 2011
07-DEC-2011 14:40:59 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59621)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:41:15 2011
WARNING: Subscription for node down event still pending
07-DEC-2011 14:41:15 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=thangavelur))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
Wed Dec 07 14:42:22 2011
07-DEC-2011 14:42:22 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\oraclexe\app\oracle\product\11.2.0\server\bin\sqlplus.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59649)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:44:55 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_4312_5456.trc
Trace level is currently 6
Started with pid=4312
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 14:45:34 2011
WARNING: Subscription for node down event still pending
07-DEC-2011 14:45:34 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=thangavelur))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
Wed Dec 07 14:46:06 2011
07-DEC-2011 14:46:06 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=thangavelur))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * services * 0
Wed Dec 07 14:47:20 2011
07-DEC-2011 14:47:20 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59758)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:49:29 2011
07-DEC-2011 14:49:29 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59791)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:49:52 2011
07-DEC-2011 14:49:52 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59795)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:50:08 2011
07-DEC-2011 14:50:08 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59800)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:50:27 2011
07-DEC-2011 14:50:27 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59807)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 14:51:03 2011
07-DEC-2011 14:51:03 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59816)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 15:01:27 2011
07-DEC-2011 15:01:27 * (CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=59996)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 15:02:42 2011
07-DEC-2011 15:02:42 * (CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=60016)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 15:05:31 2011
07-DEC-2011 15:05:31 * ping * 0
Wed Dec 07 15:05:55 2011
WARNING: Subscription for node down event still pending
07-DEC-2011 15:05:55 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=thangavelur))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
Wed Dec 07 15:06:28 2011
07-DEC-2011 15:06:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=thangavelur))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * services * 0
Wed Dec 07 15:08:19 2011
07-DEC-2011 15:08:19 * ping * 0
Wed Dec 07 15:23:50 2011
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
Log messages written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\alert\log.xml
Trace information written to c:\oraclexe\app\oracle\diag\tnslsnr\WP2345\listener\trace\ora_1508_5128.trc
Trace level is currently 6
Started with pid=1508
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
Wed Dec 07 15:24:36 2011
WARNING: Subscription for node down event still pending
07-DEC-2011 15:24:36 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=thangavelur))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
Wed Dec 07 15:24:59 2011
07-DEC-2011 15:24:59 * ping * 0
Wed Dec 07 15:25:40 2011
07-DEC-2011 15:25:40 * (CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=XE)(SERVER=dedicated)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=60525)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
Wed Dec 07 15:26:10 2011
07-DEC-2011 15:26:10 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=C:\Program?Files??x86?\Quest?Software\Toad?for?Oracle\Toad.exe)(HOST=WP2345)(USER=thangavelur))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.61.5)(PORT=60534)) * establish * XE * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor -
Hi at all.... I'm a newbie with database oracle.,
I have the follow problem:
I installed Oracle Database 11g R2 XE on my guest operating system CentOS 6.5.
I have changed the hostname in my SO CentOS (where is installed oracle 11g R2 XE) after installation was completed successfully.
-) Before and during installation the hostname was localhost.
-) After installation I changed the hostname in VMCentOS
From the moment I changed the hostname, nothing starts up automatically. In particular, the listener and the database instance does not starts up automatically.
When I starts up the listener manually and I try to connect to database instance with SQLPLUS i get this error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
I think that the problem is due to the changed hostname because I, for testing and debugging purpose, re-installed a new OS CentOS virtual machine, re-installed oracle database 11g and I have not got that problem. The database instance and the listener starts up automatically!
Can any one tell me if maybe the problem is related to the hostname changed? ... and Why?
P.S.: After changed the hostname I have also modified the listener.ora and the tnsnames.ora by modifying the HOST with the correct hostname.-) Output of command chkconfig (there isn't any line oracle-xe 0:off 1:off 2:on 3:on 4:on 5:on 6:off):
[oracle@VMCentOS /]$ chkconfig
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
abrt-ccpp 0:off 1:off 2:off 3:on 4:off 5:on 6:off
abrtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
blk-availability 0:off 1:on 2:on 3:on 4:on 5:on 6:off
bluetooth 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dnsmasq 0:off 1:off 2:off 3:off 4:off 5:off 6:off
firstboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
htcacheclean 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off
jexec 0:off 1:on 2:on 3:on 4:on 5:on 6:off
kdump 0:off 1:off 2:off 3:on 4:on 5:on 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
quota_nld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rngd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
spice-vdagentd 0:off 1:off 2:off 3:off 4:off 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:off
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
vmware-tools 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vmware-tools-thinprint 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wdaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[oracle@VMCentOS /]$
Moreover in /etc/sysconfig there isn't any file oracle-xe!!!
At this point, I suspect that something in the installation I mistook. -
ORA-12514: TNS:listener does not currently know of service
Hi All,
I've created physical standby in my production 'dbe'. All the steps were success expect listner connections. on my primary site error as
ERROR STATUS
VALID
ORA-12514: TNS:listener does not currently know of service ERROR
requested in connect descriptor
Standby listner file as bellow:
# listener.ora Network Configuration File: /u02/app/oradbe/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = stbdbe.expolanka.com)(PORT = 1522))
ADR_BASE_LISTENER = /u02/app/oradbe
================================================
last lines of log.xml
<msg time='2013-02-01T05:52:17.260+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-02-01T05:52:17.269+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>01-FEB-2013 05:52:17 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stbdbe.expolanka.com)(CID=(PROGRAM=oracle)(HOST=expdb.expolanka.com)(USER=oradbe))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.20.66)(PORT=46579)) * establish * stbdbe.expolanka.com * 12514
</txt>
</msg>
<msg time='2013-02-01T05:52:17.269+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-02-01T05:53:17.283+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>01-FEB-2013 05:53:17 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stbdbe.expolanka.com)(CID=(PROGRAM=oracle)(HOST=expdb.expolanka.com)(USER=oradbe))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.20.66)(PORT=12037)) * establish * stbdbe.expolanka.com * 12514
</txt>
</msg>
<msg time='2013-02-01T05:53:17.284+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-02-01T05:53:17.292+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>01-FEB-2013 05:53:17 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stbdbe.expolanka.com)(CID=(PROGRAM=oracle)(HOST=expdb.expolanka.com)(USER=oradbe))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.20.66)(PORT=12038)) * establish * stbdbe.expolanka.com * 12514
</txt>
</msg>
<msg time='2013-02-01T05:53:17.292+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-02-01T05:53:17.300+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>01-FEB-2013 05:53:17 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stbdbe.expolanka.com)(CID=(PROGRAM=oracle)(HOST=expdb.expolanka.com)(USER=oradbe))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.20.66)(PORT=12039)) * establish * stbdbe.expolanka.com * 12514
</txt>
</msg>
<msg time='2013-02-01T05:53:17.300+05:30' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='stbdbe.expolanka.com'
host_addr='10.2.2.12'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
Pls help me.
Rgds,
AthurumithuruHi,
Thanks for the reply.. Here are results.
On my primary side
=============
[oradbe@expdb ~]$
[oradbe@expdb ~]$ sqlplus "sys/oracle@stbdbe as sysdba"
SQL*Plus: Release 11.2.0.3.0 Production on Fri Feb 1 06:52:11 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name: ^C
[oradbe@expdb ~]$
[oradbe@expdb ~]$ tnsping stbdbe
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 01-FEB-2013 06:52:26
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
/u02/app/oradbe/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = stbdbe.expolanka.com)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = stbdbe.expolanka.com)))
OK (10 msec)
[oradbe@expdb ~]$
[oradbe@expdb ~]$
On my standby site
=============
[oradbe@stbdbe ~]$
[oradbe@stbdbe ~]$ sqlplus "sys/oracle@dbe as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 1 06:48:57 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name: ^C
[oradbe@stbdbe ~]$ tnsping dbe
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 01-FEB-2013 06:49:14
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u02/app/oradbe/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = expdb.expolanka.com)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbe)))
OK (10 msec)
[oradbe@stbdbe ~]$
But on my client machine, I can log into primary
=================
C:\Users\Amila>sqlplus sys/oracle@dbe as sysdba;
SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 1 06:55:38 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> -
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 -
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!! -
Problem: ORA-12514, TNS:listener does not currently know of service request
When I enter a command for an Oracle 10g Express installation I am getting the following error:
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.
Running IRCA for all product(s):
connection="localhost 1521 orcl", -overwrite, orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM
ERROR: Failed to establish database connection due to the following error:
Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
Please check your connection parameters and try again.
Hmm, whats wrong?
Listener status yields:
D:\db\install\soa_schemas\irca>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:04:22
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Startdate 10-FEB-2008 12:48:44
Uptime 0 days 0 hours. 15 min. 38 sec.
Trace-Level off
Security ON: Local OS Authentication
SNMP OFF
Standard-Service XE
Parameter file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
Log file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\log\listener.log
Summary listener endpoints...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services overview...
Service "CLRExtProc" hat 1 Instance(s).
Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
Service "PLSExtProc" hat 1 Instance(s).
Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
Service "XEXDB" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Service "XE_XPT" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Service "xe" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
The command was successfully executed.
D:\db\install\soa_schemas\irca>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:18:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Services _bersicht...
Service "CLRExtProc" has 1 Instance(s).
Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
Handler:
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 Instance(s).
Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
Handler:
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "XEXDB" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"D000" established:0 refused:0 current:0 max:1002 Status:ready
DISPATCHER <machine: LOCALHOST, pid: 3584>
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1049))
Service "XE_XPT" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"DEDICATED" established:1 refused:0 Status:ready
LOCAL SERVER
Service "xe" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"DEDICATED" established:1 refused:0 Status:ready
LOCAL SERVER
The command was successfully executed.Hi,
no, you got it wrong:
Oracle uses network services which are a logical representation of the database to resolve network requests.
in your ntsnames.ora file you have the following:
network_alias = my_alias -- here you can write anything you just need to resolve it correctly
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(host=hostname or IP)
(port=listener adapter port)
) -- this a complete socket information of the listener adapter!!
(CONNECT_DATA=
(SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
A connect decriptor consists of the address part + the connect_data part.
The address part is used to reach the listener.
The connect_data part is the information you hand over to the listener.
So the listener must know the service name.
The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
Hope it helps a little-.
=;-)
If you have further questions pls do not hesitate to ask. O.K.? -
Oracle 10g over Windows 7 - ORA-12514 TNS:listener does not currently know
Dear,
I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well.
Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
I try check many articles via forums but I can't resolve this issue.
so, could any one follow me to handle this issue.
Khaldounuser1941003 wrote:
Dear,
I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well. The only 10g software certified/supported on Win 7 (Professional or higher) is 10.2.0.5. Win Home versions are not supported.
http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
Other versions may or may not work - so fixing any errors that result from unsupported/uncertified combinations is up to you.
>
Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
I try check many articles via forums but I can't resolve this issue.
so, could any one follow me to handle this issue.
KhaldounSrini -
Good Day,
I'm encountering this problem
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
here's the java code
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
String userName = "mssoriano";
String passWord = "mssoriano_4319";
conn = DriverManager.getConnection(url, userName, passWord);
and here's my tnsnames.ora
UCSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
(CONNECT_DATA =
(SID = psusldb11)
Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.Hi,
see this example
Connect to Oracle DB via JDBC driver
Frank -
Perculiar ORA-12514 TNS:listener does not currently know of service request
Hi all
I'm not sure if this is the correct place to ask this but I was wondering whether Anyone has ran into a similar problem or know how to solve this seeing as this involes SOA.
I am running Oracle 10g 10.2.0.4 and Oracle SOA 10.1.3.3. I've also written a piece of code that connects to the database using the database's jndi name from a connection pool. I can start the DB and the SOA with no problems however, if I try and connect to the database using one of the connection objects from the connection pool , i.e.
db = connection.getConnection("jdbc/LocalASDBDataSource");
the listener stops working and I get the error message
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
I know that prior to trying to get the connection from the connection pool, the listener works because if i run lsnrctl services, it reports that the listener is up and running but after the point where I try to get the connection i.e.
db = connection.getConnection("jdbc/LocalASDBDataSource");
the listener stops working. If run lsnrctl services, it then reports that the listener supports no services. The only way I can get the service and the listener to start working is to delete the listener and the Service using Net Manager and then recreating it again but then every time that I run the code again, I get back to the error
the funny thiing is that this only started when I increased the processes because I was gettig ORA-12518: TNS:listener could not hand off client connection
The jndi properties file that I use to create my initial context is
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=opmn:ormi://localhost:6003:oc4j_soa
java.naming.security.principal=oc4jadmin
java.naming.security.credentials=password1
My Listener.ora is
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVPSTEXP)(PORT = 1521))
My TNS Names.ora is
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ASDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ASDB)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Any help will be greatly appreciated
Thanks!The tnsname.ora is not used in this situation as the datasource / connection pool connects via jdbc.
What happens if you bounce the database, instead of deleting the service.
It sounds like you are hitting bug 6017068.
Have a look at that patch
cheers
James -
Thread: ORA-12514: TNS:listener does not currently know of service request
HI guys,
I had installed oracle 10g on an AIX platform
now when I try to connect to the database using the normal way sqlplus dma/***@DMAN
it gives me the error:
$ ./sqlplus dma/dma@DMAN
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 29 09:27:39 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
I can connect to the database specifying before the oracle SID on unix
ORACLE_SID=DMAN
export ORACLE_SID
$ ./sqlplus dma/dma
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 29 09:41:02 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
SQL>
I cant understand the problem
my listener.ora is:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dmora1)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /orasoft/app/oracle/DMAN)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = DMAN)
(ORACLE_HOME = /orasoft/app/oracle/DMAN)
(SID_NAME = DMAN)
and my listener status:
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 29-SEP-2008 09:43:19
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status LISTENER
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dmora1)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
Start Date 29-SEP-2008 08:29:32
Uptime 0 days 1 hr. 13 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /orasoft/app/oracle/DMAN/network/admin/listener.ora
Listener Log File /orasoft/app/oracle/DMAN/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "DMAN" has 2 instance(s).
Instance "DMAN", status UNKNOWN, has 1 handler(s) for this service...
Instance "DMAN", status READY, has 1 handler(s) for this service...
Service "DMANXDB" has 1 instance(s).
Instance "DMAN", status READY, has 1 handler(s) for this service...
Service "DMAN_XPT" has 1 instance(s).
Instance "DMAN", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
has any one any idea about my problem, because I have the same listener.ora in the backup machine and it works fine
Thank YOU in advancePlease don't duplicate threads :
ORA-12514: TNS:listener does not currently know of service requested in con -
ORA-12514: TNS:listener does not currently know of sevice requested in conn
Hi All,
I have a problem, our database was working fine, suddenly we are facing a problem, whenever i try to login through sqlplus from commmand prompt or through sqlplusw iam getting this error -
ORA-12514: TNS:listener does not currently know of sevice requested in connect descriptor
can anyone please help this.....
Thanks in advance,
Avinash,
Pune,
IndiaHi,
I said database was working fine and not is working fine,
well till yesterday we could connect and access the database but sudenly without any changes done by us we are getting this error and we are not able to connect to database as sys thru sqlplus> connect / as sysdba.... we are getting this error since then.....
TNS entry seeme to be fine, but when trying through lsnrctl> start <service_name> then we are getting error - 1060 - failed to open service.... -
ERROR: ORA-12514: TNS:listener does not currently know of service requested
My Data base in Linux box, I have default SID as ORCL, and i have created 3 more instances of DB (TST1,TST2 and TST3) . As long as my system has not restated, I am bale connect to the instances. Once my system restated i am unable to connect to the new instances of DB.. Pl adivice..Thanks..
In sqlplus: username/password @ ORCL - working fine...
username/password @TST1 or other services ...i am getting ..error .. ERROR: ORA-12514: TNS:listener does not currently know of service requested
I have created all instances of DB by using below command:
dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname TST1 -sid TST1 -responseFile NO_VALUE -characterSet AL32UTF8 -memoryPercentage 40 -emConfiguration LOCAL
Edited by: user10980939 on Jul 20, 2011 2:16 PM-- Below is my tnsnames.ora and listner.ora files....Pl let me know how to add different ports...
cat tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_BHPT =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
TFOCUS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TFOCUS)
BDO_PDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.153)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = BDO_PDB)
LISTENER_BDOT =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
LISTENER_TFOCUS =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
BHPT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BHPT)
BDOAIX61 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.224)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bdo)
BDOT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BDOT)
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
Listner.ora file
[oracle@WBE07180 admin]$ cat listener.ora
# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
ADR_BASE_LISTENER = /home/oracle/app/oracle -
Switchover using dgmgrl throwing ORA-12514: TNS:listener does not
Hi,
oracle version : 11.1.0.7
os : sun soalris
i am able to switchover the roles of primary and standby but i am getting this error
DGMGRL> switchover to qecgpoca;
Performing switchover NOW, please wait...
New primary database "qecgpoca" is opening...
Operation requires shutdown of instance "qecgpoce" on database "qecgpoce"
Shutting down instance "qecgpoce"...
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "qecgpoce" on database "qecgpoce"
Starting instance "qecgpoce"...
Unable to connect to database
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Failed.
You are no longer connected to ORACLE
Please connect again.
Unable to start instance "qecgpoce"
You must start instance "qecgpoce" manually
Switchover succeeded, new primary is "qecgpoca"i have set db_unique_name_DGMGRL for listener still i am getting
appreciated any inputs..
Thanks
PrakashReview the basics:
1. ORACLE_HOME
2. ORACLE_SID
3. ping
4. tnsping
5. the docs
Maybe you are looking for
-
Delete from Open Dialog Box?
I'm a new convert from Windows to Mac. My question is: Is there a way to delete a file from a list of files in an Open or Save As dialog box? (On Windows I could just highlight the filename and press the Delete key.) Thanks. MacBook Mac OS X (10.4.
-
HELP!!! Screen Fades away when open or close the s...
Dear All, I am Orlando, owner of a Nokia c6-00 phone. Recently I updated my phone to v 41. and after that a strange issue has occoured. My phone screen fades away when i open or close this sider. I tried googling up this issue. But I guess I am the f
-
How do you remove your credit card details on iOS8?
Can someone Help me on how to remove your credit card details for the App Store, it won't let me update anything without making me put my credit card details in
-
Music Library on an External Hard Drive
I recently transferred all my music to an external hard drive in an attempt to free some space on my computer's drive. It worked fine for a while but now the drive, which is a 400gb ac powered device allows my music to cut and it takes time to load i
-
The sound effects volume is all the way down. It pops up for a second once in awhile and then disappears. I can't find it in the Setting. Music sound plays fine, but no sound on my apps. Any idea how to fix it?