SQLDeveloper, db links, and ora-12514

There are several ducks to line up here, so please bear with me.
First, the lineup, the batting order …
Workstation WKS_DBA; Win 7 Pro 64bit; Oracle 10g 32bit client; Oracle 11g 64bit client (in that order in PATH); SQL Developer version 3.2.20.09, build MAIN-09.87
Workstation WKS_OLD; Win 7 Pro 32bit; Oracle 10g 32bit client; SQL Developer version 3.0.04, build MAIN-04.34
Workstation WKS-NEW; Win 7 Pro 64bit; 11g 32bit client; 11g 64bit client (in that order in PATH).
Database server SVRLCL; Oracle Linux 5.6 x86-64; Oracle database 10.2.0.4 64bit (let’s call it DBLCL); database link LK_DBRMT pointing to ..
Database server SVRRMT; Windows server 2003 R2, SP2, 32bit; Oracle database 10.2.0.4 (let’s call it DBRMT).
The situation: Connected to DBLCL, we have an UPDATE statement with a WHERE clause that includes a SELECT on a table @LK_DBRMT.
If the statement is executed by SQLDeveloper on WKS_DBA, it works.
If the statement is executed by SQLDeveloper on WKS_OLD, it works.
If the statement is executed by SQLDeveloper on WKS_NEW, it returns an ora-12514, pointing to the db link.
What’s equally strange is that from WKS_OLD and WKS_NEW, SQLDev is sending some CREATE DATABASE LINK statements prior to sending the UPDATE statement. When coming from WKS_NEW, that supposed db link creation includes SERVICE_NAME=null. Here is a sequence of packets received by database DBLCL from SQLDev, beginning with the last query that SQLDev issued on its own behalf, the select from dba.xml_schemas.  The only statement we asked sqldev to execute was the UPDATE.
(obviously, the trace has been edited in several ways for brevity and readability. Actualy packet contents include only key clear text to identify what was going on.)
15:02:26:948]     nttrd:      socket 24 had bytes read=112
15:02:26:948]     nsprecv:    |..select.1.from.dba_xml_schemas.|
15:02:26:949]     nttwr:      socket 24 had bytes written=159
15:02:26:949]     nspsend:    |........|
15:02:31:124]     nttrd:      socket 24 had bytes read=277
15:02:31:124]     nsprecv:      |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.null))).'..|
15:02:31:128]     nttwr:      socket 24 had bytes written=60
15:02:31:128]     nspsend:    |.<............................D.............................    |
15:02:31:129]     nttrd:      socket 24 had bytes read=269
15:02:31:129]     nsprecv:      |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.null))).'..|
15:02:31:129]     nttwr:      socket 24 had bytes written=11
15:02:31:129]     nspsend:    |...........     |
15:02:31:130]     nttwr:      socket 24 had bytes written=11
15:02:31:130]     nspsend:    |...........     |
15:02:31:130]     nttrd:      socket 24 had bytes read=11
15:02:31:130]     nsprecv:    |...........     |
15:02:31:130]     nttwr:      socket 24 had bytes written=84
15:02:31:130]     nspsend:    |...(ORA-02011:.duplicate.database.link.name.    |
15:02:31:131]     nttrd:      socket 24 had bytes read=269
15:02:31:131]     nsprecv:      |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.null))).'..|
15:02:31:132]     nttwr:      socket 24 had bytes written=11
15:02:31:132]     nspsend:    |...........     |
15:02:31:132]     nttwr:      socket 24 had bytes written=11
15:02:31:132]     nspsend:    |...........     |
15:02:31:132]     nttrd:      socket 24 had bytes read=11
15:02:31:132]     nsprecv:    |...........     |
15:02:31:132]     nttwr:      socket 24 had bytes written=84
15:02:31:132]     nspsend:    |...(ORA-02011:.duplicate.database.link.name.    |
15:02:31:134]     nttrd:      socket 24 had bytes read=848
15:02:31:134]     nsprecv:    |.....update.TRANS_DETAIL.RT.|
15:02:31:138]     nttwr:      socket 11 had bytes written=227
15:02:31:138]     nspsend:      |..(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.nn.nnn.88)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=null)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=KIlroy))))     |
15:02:31:138]     nttrd:      socket 11 had bytes read=103
15:02:31:138]     nsprecv:      "|""..[(DESCRIPTION=(TMP=)(VSNNUM=169870336)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4)))) |
15:02:31:139]     nttwr:      socket 24 had bytes written=11
15:02:31:139]     nspsend:    |...........     |
15:02:31:139]     nttwr:      socket 24 had bytes written=11
15:02:31:140]     nspsend:    |...........     |
15:02:31:140]     nttrd:      socket 24 had bytes read=11
15:02:31:140]     nsprecv:    |...........     |
15:02:31:140]     nttwr:      socket 24 had bytes written=136
15:02:31:140]     nspsend:    |....[ORA-12514:.TNS:listener.does.not.currently.know.of.service.requested.in.connect.descriptor.|
Here is the same sequence, using WKS_OLD
09:25:34:694]     nttrd:      socket 24 had bytes read=112
09:25:34:694]     nsprecv:    |..select.1.from.dba_xml_schemas.|
09:25:34:694]     nttwr:      socket 24 had bytes written=159
09:25:34:694]     nspsend:    |........|
09:25:39:883]     nttrd:      socket 24 had bytes read=279
09:25:39:883]     nsprecv:      |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.DBRMT))).'|
09:25:39:979]     nttwr:      socket 24 had bytes written=60
09:25:39:979]     nspsend:    |.<......|
09:25:39:980]     nttrd:      socket 24 had bytes read=271
09:25:39:980]     nsprecv:      |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.DBRMT))).'|
09:25:39:981]     nttwr:      socket 24 had bytes written=11
09:25:39:981]     nspsend:    |...........     |
09:25:39:981]     nttwr:      socket 24 had bytes written=11
09:25:39:981]     nspsend:    |...........     |
09:25:39:981]     nttrd:      socket 24 had bytes read=11
09:25:39:981]     nsprecv:    |...........     |
09:25:39:982]     nttwr:      socket 24 had bytes written=84
09:25:39:982]     nspsend:    |...(ORA-02011:.duplicate.database.link.name.    |
09:25:39:983]     nttrd:      socket 24 had bytes read=271
09:25:39:983]     nsprecv:      |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.DBRMT))).'|
09:25:39:984]     nttwr:      socket 24 had bytes written=11
09:25:39:984]     nspsend:    |........... |
09:25:39:985]     nttwr:      socket 24 had bytes written=11
09:25:39:985]     nspsend:    |...........     |
09:25:39:985]     nttrd:      socket 24 had bytes read=11
09:25:39:985]     nsprecv:    |...........     |
09:25:39:985]     nttwr:      socket 24 had bytes written=84
09:25:39:986]     nspsend:    |...(ORA-02011:.duplicate.database.link.name.    |
09:25:39:988]     nttrd:      socket 24 had bytes read=864
09:25:39:988]     nsprecv:    |.....update.ROY_TRANS_DETAIL.RT.|
09:25:40:015]     nttwr:      socket 12 had bytes written=229
09:25:40:015]     nspsend:      |..(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.nn.nnn.88)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=KIlroy))))   |
09:25:40:020]     nttrd:      socket 12 had bytes read=8
09:25:40:020]     nsprecv:    |........|
09:25:40:020]     nttwr:      socket 12 had bytes written=229
09:25:40:020]     nspsend:      |..(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.nn.nnn.88)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=KIlroy))))   |
09:25:40:021]     nttrd:      socket 12 had bytes read=32
09:25:40:021]     nsprecv:    |........|
09:25:40:021]     nttwr:      socket 12 had bytes written=38
09:25:40:021]     nspsend:    |..x86_64/Linux.2.4.xx.  |
09:25:40:021]     nttrd:      socket 12 had bytes read=179
09:25:40:021]     nsprecv:    |.....IBMPC/WIN_NT-8.1.0.|
And the same sequence when executing from WKS_DBA
[10-JUL-2013      14:34:24:546]     nttrd:      socket 24 had bytes read=111
[10-JUL-2013      14:34:24:546]     nsprecv:    |.select.1.from.dba_xml_schemas.w|
[10-JUL-2013      14:34:24:547]     nttwr:      socket 24 had bytes written=159
[10-JUL-2013      14:34:24:547]     nspsend:    |........|
[10-JUL-2013      14:34:45:262]     nttrd:      socket 24 had bytes read=856
[10-JUL-2013      14:34:45:262]     nsprecv:    |.....update.ROY_TRANS_DETAIL.RT.|
[10-JUL-2013      14:34:45:267]     nttwr:      socket 11 had bytes written=226
[10-JUL-2013      14:34:45:267]     nspsend:      |..(DESCRIPTION=(address=(protocol=tcp)(host=svrrmt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=estevens))))      |
[10-JUL-2013      14:34:45:272]     nttrd:      socket 11 had bytes read=8
[10-JUL-2013      14:34:45:272]     nsprecv:   
[10-JUL-2013      14:34:45:272]     nsprecv:    |........|
[10-JUL-2013      14:34:45:272]     nttwr:      socket 11 had bytes written=226
[10-JUL-2013      14:34:45:272]     nspsend:      |..(DESCRIPTION=(address=(protocol=tcp)(host=svrrmt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=estevens))))      |
[10-JUL-2013      14:34:45:273]     nttrd:      socket 11 had bytes read=32
[10-JUL-2013      14:34:45:273]     nsprecv:    |........|
[10-JUL-2013      14:34:45:273]     nttwr:      socket 11 had bytes written=38
[10-JUL-2013      14:34:45:273]     nspsend:    |..x86_64/Linux.2.4.xx.  |
[10-JUL-2013      14:34:45:273]     nttrd:      socket 11 had bytes read=179
[10-JUL-2013      14:34:45:273]     nsprecv:    |.....IBMPC/WIN_NT-8.1.0.|
Several questions suggest themselves, not the least of which are
1- Why is SQLDev even issuing those CREATE DATABASE LINK statements in the first place?
2- Where is it getting the information with which to do that?
3- Why is the same version of SQLDev behaving differently on WKS_DBA and WKS_NEW ?

rp0428 wrote:
>
On WKS_NEW, the UPDATE returns an ora-12514 on the reference to the db_link.  Of course the db_link is at the database so at first blush the client should have not bearing.
>
I don't know why sql developer should be sending CREATE DATABASE LINK ddl at all so the dev team should look into this. Gary's attempt to get a response from Vadim didnt' work.
The only 'common' thing I see is that on WKS_NEW you have the 32 bit Oracle client ahead of the 64 bit client; the others don't have that.
Ok, on Friday, I had un-restricted access to the problem workstation (developer was out of office).  I completely removed all oracle clients, then started re-installing and testing. I removed and reinstalled only the Oracle clients, not SQL Dev.  All removals were 'ripping it out by the roots' - deleting the installation directories (c:\app\oracle  etc), the inventory directories (c:\Program Files\oracle and c:\Program Files (x86)\oracle) and the registry entires (hklm\software\oracle and hklm\software\Wow6432Node\oracle).
First I installed just the 32-bit. SQL Dev choked and said 'cannot load 32-bit libraries'
Removed the 32 and installed the 64 bit.  Ran the tests and got the same results as before .. SELECT works, SELECT in the UPDATE fails
Removed 64, installed 32 then 64. Ran the tests and got the same results as before .. SELECT works, SELECT in the UPDATE fails
Reversed the PATH entries, putting 32-bit first. Ran the tests and got the same results as before .. SELECT works, SELECT in the UPDATE fails
Which begs the question: what type of connection are you using: OCI or thin? If OCI try using the THIN driver to see if you get the same issue and log entries.
If that selection is made by setting the connection properties as "basic" (thin?) or "tns" (OCI?) then yes, tried it both ways, no change.
As to other things to try I would suggest more tests to try to isolate the offending part a little more.
Test various aspects of the DB_LINK itself to see which use cases work and which do not. Many of these can just be done from WKS_NEW
1. Try a plain SELECT * from myTable@dblink - tests if the DB link itself even works in the FROM clause with NO local table reference.
2. Try a similar SELECT * and add a second remote table in the WHERE clause - that is ALL tables and conditions are from the remote server.
3. Try a SELECT from a local table that joins the remote table and db link in the FROM clause rather than the WHERE clause
I think the original pretty well covers the bases.  Here's the actual full update statement (with certain names made generic for public posting)
update LOCAL_TRANS_DETAIL RT
   set rt.sent_to_remoteapp_date = sysdate
where rt.transactionid in
(select rt.transactionid
   FROM LOCAL_TRANS_DETAIL RT
   JOIN LOCALSCHEMA.RMT_MASTER_ITEMS RMI ON RT.NEW_ITEM_NUM = RMI.NEW_ITEM_NUM
   JOIN RMTSCHEMA_A.PAC_PRODUCT_NUMBER@RMTDB PPN ON RT.NEW_ITEM_NUM = PPN.PRODUCT_NUMBER
   JOIN RMTSCHEMA_A.PAC_PRODUCT_NUMBER@RMTDB PPN2 ON PPN.PRODUCT_ID = PPN2.PRODUCT_ID AND PPN2.PRIMARY_SW = 'Y'
   JOIN RMTSCHEMA_B.PRD_IMPRESSION@RMTDB PI ON PI.ORDER_NO = PPN2.PRODUCT_NUMBER
WHERE RT.SENT_TO_remoteapp_DATE is NULL and
      rt.order_id = 'W4011693' and
      rt.item_ship_date < '01-AUG-2013')
4. Try removing the 32 bit Oracle client form the WKS_NEW machine to test if it was getting in the way.
Done. No difference, see previous comment.

Similar Messages

  • RAC Node down and ORA-12514

    I have a two node rac setup. One Node went down because of hardware issues. And it seems that I cannot connect from client (jdbc) when SCAN gives particular ip.
    I receive : ORA-12514, TNS:listener does not currently know of service requested in connect descriptor. If DNS returns the correct ip - everything works fine.
    connection string:
    jdbc:oracle:thin:@(DESCRIPTION= (LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST=testracscan.internal.int)(PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=testdb.internal.int)))
    Interfaces show that VIPS and SCANS are assigned correctly on Node 1:
    vlan65 Link encap:Ethernet HWaddr 2C:76:8A:4F:B5:CC
    inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80::2e76:8aff:fe4f:b5cc/64 Scope:Link
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    RX packets:937195 errors:0 dropped:0 overruns:0 frame:0
    TX packets:852745 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:186434457 (177.7 MiB) TX bytes:141217705 (134.6 MiB)
    vlan65:1 Link encap:Ethernet HWaddr 2C:76:8A:4F:B5:CC
    inet addr:192.168.2.25 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    vlan65:2 Link encap:Ethernet HWaddr 2C:76:8A:4F:B5:CC
    inet addr:192.168.2.35 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    vlan65:3 Link encap:Ethernet HWaddr 2C:76:8A:4F:B5:CC
    inet addr:192.168.2.30 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    vlan65:4 Link encap:Ethernet HWaddr 2C:76:8A:4F:B5:CC
    inet addr:192.168.2.110 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    vlan65:5 Link encap:Ethernet HWaddr 2C:76:8A:4F:B5:CC
    inet addr:192.168.2.115 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    [oracle@srvtestdb1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 03-SEP-2012 15:35:05
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date 29-AUG-2012 15:52:57
    Uptime 4 days 23 hr. 42 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/srvtestdb1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.10)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.110)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "testdb.internal.int" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    Service "testdbXDB.internal.int" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    Service "testdbsvc.internal.int" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@srvtestdb1 ~]$
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.110)(PORT=1521))))
    remote_listener string testracscan.internal.int:1521
    nslookup testracscan.internal.int
    Server: 192.168.0.18
    Address: 192.168.0.18#53
    Name: testracscan.internal.int
    Address: 192.168.2.30
    Name: testracscan.internal.int
    Address: 192.168.2.25
    Name: testracscan.internal.int
    Address: 192.168.2.35
    Problems arise when client ip is resolved to 192.168.2.35 - i get ORA12514.
    When IP is resolved to 192.168.2.110 it simply sits ant waits for a moment and then begins to work, and nestat shows:
    tcp 0 0 ::ffff:1 192.168.2.5:51685 ::ffff:192.168.2.110:1521 ESTABLISHED
    What might be causing this?

    [grid@srvtestdb1 ~]$ ps -ef|grep tns
    root 65 2 0 Aug29 ? 00:00:00 [netns]
    grid 4449 1 0 Aug29 ? 00:00:25 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
    grid 4454 1 0 Aug29 ? 00:00:23 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
    grid 4481 1 0 Aug29 ? 00:00:33 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    grid 37028 1 0 09:38 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
    grid 37901 36372 0 09:45 pts/0 00:00:00 grep tns
    [grid@srvtestdb1 ~]$
    [grid@srvtestdb1 ~]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
    [grid@srvtestdb1 ~]$
    [grid@srvtestdb1 ~]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node srvtestdb1
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is running on node srvtestdb1
    SCAN Listener LISTENER_SCAN3 is enabled
    SCAN listener LISTENER_SCAN3 is running on node srvtestdb1
    [grid@srvtestdb1 ~]$ srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node srvtestdb1
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node srvtestdb1
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node srvtestdb1

  • ORA-12505, TNS:listener and ORA-12514: TNS:listener

    All,
    Connecting to the database through the SQL Developer is giving me the error "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor"
    Database version : Oracle 10g XE
    O/S : Windows 7, 32 bit
    I have restarted my machine and tried but no luck. Tried from sqlplus also and the error was
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    Please provide me the steps to check and resolve this issue.
    Thank you very much in advance.
    Thanks

    Here is what I have in my tnsnames.ora file
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MSPL-08-09-D169.MSFTPNQ.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Database name is 'XE'

  • Oracle 10g XE and ORA-12514

    Hi,
    I just installed Oracle 10g XE on my computer (WinXP Home) and tried to use sqlplus to connect to the db by entering the following standard command:
    sqlplus system/system@XEUnfortunately I got ORA-12514 error
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    but then sqlplus prompts me once again for user name and pass (it does not prompt for service name) and after entering those two connection is established as shown below
    Enter user-name: system
    Enter password: <hidden_pass=system>
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Calling the command
    lsnrctl servicesgives me the following result
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUN-2007 21:51:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    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
    The command completed successfully
    I have no idea why the XE service is unavailable while it is properly configured in my tnsnames.ora file.
    I will appreciate your help and advices on how to configure the database to be able to connect to it by providing the service name.
    Best regards
    Mans

    Hm, 12514 or 12154?
    ORA-12154: TNS:could not resolve the connect
    identifier specifiedThis means that your tnsnames.ora (or other naming method) is missing the called for entry/stanza.
    E.g.
    C:\>sqlplus u/p@an_alias_not_defined
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 6 23:02:34 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#BABBBGGG
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/tnsus.htm#sthref14854
    >
    but then sqlplus prompts me once again for user name
    and pass (it does not prompt for service name) and
    after entering those two connection is established as
    shown belowIn the username field you could input for example user@service
    If this is the only oracle product installed on the machine, and you are connecting to it locally, you could use just
    sqlplus system/system
    which uses the "default" instance (on Windows, that is).
    lsnrctl services
    I have no idea why the XE service is unavailable
    while it is properly configured in my tnsnames.oralsnrctl serv is on the server side, it does not matter what you have in tnsnames.ora
    Normally the database should register itself to the listener, so the XE instance should have a service for it listed.
    If you restart the instance's Windows service, does it show up in the listener?
    Message was edited by:
    orafad

  • Oracle 10g ora 12560 and ora 12514 errors

    i am a new oracle user. and i have some problems
    i installed 10g then,
    when i was creating a database,
    i received an error messagge "ora-12560",
    therefore i cancelled creating database.
    i run sqlplus, i received error messagge again
    but this messagge differ from first one. it is "ora-12514"
    and i tested net manager my oranokta in tnsnames,
    same problem is continuesly
    and last thing i have a toshiba notebook with intel centrino 1.6
    and windows xp with sp2.
    i attached below my tnsnames, listener and sqlnet.ora files.
    listener.ora
    # listener.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = muttim)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    sqlnet.ora
    # sqlnet.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA10 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = muttim)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = Ora10)
    ORANOKTA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = muttim)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OraNokta)
    thank you for help

    hi oradba
    i opened
    start=>run=>services.msc
    i didn't find "oracleservice<sid>"
    and
    i found dbca logfiles,
    i attached them
    cloneDBCreation.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    CloneRmanRestore.log
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    lockAccount.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    postDBCreation.log
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    postScripts.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    dropping default lexer preference...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    dropping default wordlist preference...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    dropping default stoplist preference...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    dropping default policy...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    lang_abbr de&#287;erini girin: SP2-0310: "D:\oracle\product\10.1.0\db_1\ctx\admin\defaults\drdefset.sql" dosyas&#305; aç&#305;lam&#305;yor
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    SP2-0640: Ba&#287;l&#305; de&#287;il
    rmanRestoreDatafiles.sql
    set echo off;
    set serveroutput on;
    select systimestamp from dual;
    variable devicename varchar2(255);
    declare
    omfname varchar2(512) := NULL;
    done boolean;
    begin
    dbms_output.put_line(' ');
    dbms_output.put_line(' Allocating device.... ');
    dbms_output.put_line(' Specifying datafiles... ');
    :devicename := dbms_backup_restore.deviceAllocate;
    dbms_output.put_line(' Specifing datafiles... ');
    dbms_backup_restore.restoreSetDataFile;
    dbms_backup_restore.restoreDataFileTo(4, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\USERS01.DBF', 0, 'USERS');
    dbms_backup_restore.restoreDataFileTo(3, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\SYSAUX01.DBF', 0, 'SYSAUX');
    dbms_backup_restore.restoreDataFileTo(2, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\UNDOTBS01.DBF', 0, 'UNDOTBS1');
    dbms_backup_restore.restoreDataFileTo(1, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\SYSTEM01.DBF', 0, 'SYSTEM');
    dbms_output.put_line(' Restoring ... ');
    dbms_backup_restore.restoreBackupPiece('D:\oracle\product\10.1.0\db_1\assistants\dbca\templates\Seed_Database.dfb', done);
    if done then
    dbms_output.put_line(' Restore done.');
    else
    dbms_output.put_line(' ORA-XXXX: Restore failed ');
    end if;
    dbms_backup_restore.deviceDeallocate;
    end;
    select systimestamp from dual;
    ultraSearchCfg.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ==============     Ultra Search Configuration ==============
    ============== argument list
    WKSYSPW=XXXXXXXX
    JDBC_CONNSTR=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=muttim)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=OraNokta)))
    LAUNCH_ANYWHERE=false
    CONN_STRING=
    OH=D:\oracle\product\10.1.0\db_1
    JDBCDRIVER_PATH=D:\oracle\product\10.1.0\db_1\jdbc\lib\classes12.zip
    JDBCNLS_PATH=D:\oracle\product\10.1.0\db_1\jdbc\lib\nls_charset12.zip
    JRE_HOME=D:\oracle\product\10.1.0\db_1\jdk\jre\
    JAVA_EXE_PATH=D:\oracle\product\10.1.0\db_1\jdk\bin\java.exe
    PSEP=;
    CTXHX=D:\oracle\product\10.1.0\db_1\bin\ctxhx.exe
    ==================
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ============== populating the WK$CRAWLER_CONFIG_DEFAULT table
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ============== load crawler classpath
    ...... setting the crawler classpath
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ============== updating crawler configuration
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating lexer preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating wordlist preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating storage preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating stoplist
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating section group
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating zone sections
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating field sections
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating filter preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating datastore preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ... checking for invalid objects... see list below
    ================== list start
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ================== list end
    ==============     End of Configuration ==============
    note : my operating system's language is turkish.

  • A question about CREATE PUBLIC DATABASE LINK and ORA-12154 error

    Dear all,
    I have a problem about public database link creation and I would appreciate if you could kindly give me a hand. I have the following connection parameters in my
    tnsnames.ora file:
    DGPAPROD.WORLD =
         (DESCRIPTION =
           (ADDRESS_LIST =
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
           (CONNECT_DATA = (SID = DGPAPROD))
    ...Having the above mentioned parameters I can connect to this remote database directly in a SQL*Plus shell:
    $ sqlplus username/[email protected] works pretty well and the connection is established without any problem.
    Now, what I would like to do is to create a public database link to this remote database in order to avoid the user/connection switching for viewing the
    content of this database. I proceeded according to the syntax indicated in the Oracle online documentation:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205
    Therefore I run the following in order to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';Apparently there is no error and the link is created successfully. However it cannot resolve the remote host and whenever I run the following query
    (myenterprise is the name of a table in that remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedWhat causes this problem?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    spajdy wrote:
    You must have defined DGPAPROD.WORLD in tnsnames.oar on server where you DB is runnig.Hello there,
    Thanks a lot for this nice solution. In fact I had to add the connection parameters into the tnsnames.ora file of the server on which the link was created (not the tnsnames.ora of my oracle client stored on the localhost)
    After a bit googling I found another solution that allows to create the database link:
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING '(DESCRIPTION =  (ADDRESS_LIST =  (ADDRESS = (COMMUNITY=tcp.world)
    (PROTOCOL=TCP)(HOST=ip_adresse)(PORT=1521)))(CONNECT_DATA = (SID = GPAPROD)))';Thanks a lot for your help!
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on 18 nov. 2009 07:15

  • Db links and ora-03113

    I currently run two 7.3.4 databases linked with a public database link. Every now and then my cobol process on my first db aborts due to ora-03113 while access my second db via the link. I restart the cobol process, and it works fine. It does not appear to correlate to and db or network events. Both are on same host (unix 11). first has shared pool size 10 x that of second-does that matter?
    What do I look for?

    I currently run two 7.3.4 databases linked with a public database link. Every now and then my cobol process on my first db aborts due to ora-03113 while access my second db via the link. I restart the cobol process, and it works fine. It does not appear to correlate to and db or network events. Both are on same host (unix 11). first has shared pool size 10 x that of second-does that matter?
    What do I look for?

  • Sqldeveloper: ORA-12514, TNS:listener does not currently know of service re

    Hello everybody.
    I want to connect with Sqldeveloper and I have the error :
    ORA-12514, TNS:listener does not currently know of service re
    But with SQL*PLUS, I connect correctly.
    I have Windows Vista.
    My tsnames.ora is
    # tnsnames.ora Network Configuration File: C:\app\HP_Propietario\product\11.2.0\dbhome_3\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = orcl)
         (INSTANCE_NAME = orcl)
    PRUEBA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = PRUEBA)
    My listener.ora
    # listener.ora Network Configuration File: C:\app\HP_Propietario\product\11.2.0\dbhome_3\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\HP_Propietario\product\11.2.0\dbhome_3)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\HP_Propietario\product\11.2.0\dbhome_3\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\HP_Propietario
    I write the host 10.10.10.10 because I have installed a loopback adapter with address 10.10.10.10
    The information in SQLDeveloper is:
    Conection Type: BASIC
    Host Name: 10.10.10.10 (address of loopback adapter in file of windows hosts)
    Port 1521
    Service Name : orcl
    Could somebody help me?
    Thanks in advance
    Carlota Viña Sirgo

    user3096536 wrote:
    Hello,
    I send more information:
    SQL> select value from v$parameter where name='service_names'
    2 ;
    VALUE
    orcl
    SQL> show parameter listener;
    NAME TYPE VALUE
    listener_networks string
    local_listener string LISTENER_ORCL
    remote_listener string
    SQL>
    SQL> select instance_name, status, database_status from v$instance;
    INSTANCE_NAME STATUS DATABASE_STATUS
    orcl OPEN ACTIVE
    LSNRCTL> status
    Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    ESTADO del LISTENER
    Alias LISTENER
    Versi¾n TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Fecha de Inicio 22-MAY-2013 07:01:44
    Tiempo Actividad 0 dÝas 4 hr. 45 min. 39 seg.
    Nivel de Rastreo off
    Seguridad ON: Local OS Authentication
    SNMP OFF
    Parßmetros del Listener C:\app\HP_Propietario\product\11.2.0\dbhome_3\NETWORK\
    ADMIN\listener.ora
    Log del Listener c:\app\hp_propietario\diag\tnslsnr\carlota\listener\al
    ert\log.xml
    Recibiendo Resumen de Puntos Finales...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1521)))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
    servicio...
    El comando ha terminado correctamente ok
    LSNRCTL>
    LSNRCTL> services
    Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
    servicio...
    Manejador(es):
    "DEDICATED" establecido:5 rechazado:0
    LOCAL SERVER
    El comando ha terminado correctamente
    LSNRCTL>
    C:\app\HP_Propietario\product\11.2.0\dbhome_3\BIN>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 22-MAY-2
    013 11:49:07
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Archivos de parßmetros utilizados:
    C:\app\HP_Propietario\product\11.2.0\dbhome_3\NETWORK\ADMIN\sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Intentando contactar con (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10
    .10.10)(PORT = 1521)) (CONNECT_DATA = (SERVER = SHARED) (SERVICE_NAME = orcl) (I
    NSTANCE_NAME = orcl)))
    Realizado correctamente (290 mseg) ok
    C:\app\HP_Propietario\product\11.2.0\dbhome_3\BIN>
    Thanks in advance
    Carlota Viña SirgoYour marked the thread as 'answered', yet this post looks like additional information seeking additional help.
    see: [url http://edstevensdba.wordpress.com/2011/03/19/ora-12514/] ora-12514 Listener does not know of requested service 

  • 10g Installation and Error : ORA-12514 : Listerner cant recog. service requ

    Hi,
    I installed 10g, and trying to start sql plus. I entered
    username: orcl
    password: my own password
    host string: name of my computer
    I am getting the error: ORA-12514: TNS: Listener does not currently know of service orequested in connect descriptor.
    I started the services and tried again but same problem.
    I also tried system and sysman as username, w/o a password and included my computer name, but still facing the same problem.
    Any thing else I should do besides uninstalling and reinstalling ?
    Thanks

    Where did the user name orcl come from? It certainly is not going to be there unless you logged in with a DBA account and created it: Did you?
    So back to basics ... what version of Oracle did you install? 10g is a marketing label not a version number. It is likely something between 10.1.0.2 and 10.2.0.4.
    Second how did you install the database? With the Oracle Universal Installer or with a script? Were there any error messages?
    Have you checked the installation log?
    Has it ever worked in the past and is now broken or has it never worked?
    Is the listener running? How did you check?
    When you say "I started the service" you are in what operating system and you started what service and how?
    My guess, and it is only a wild guess given how little information you provided, is that there is an issue in your listener.ora and/or tnsnames.ora files: Post them along with the value you are entering as "Host" when you try to log in.
    Again just a guess ... the user name should be SYSTEM, the password whatever you entered, and the Host "orcl."

  • Ora-12514 and dns

    Hi im new to oracle and im having trouble in connecting oracle 10g XE with asp.net2005 and im using windows 2003 server.i installed the odt.net tools and every thing looked well untill i tried to connect with database using connect to oracle in asp.net. here is the error
    Oracle Explorer
    An error occured while opening the connection:
    ORA-12514:TNS:listener does not currently know the service requested in connect descriptor.
    i tried to put data source name as localhost or the IP and i have no clue what else can that be.
    any one with some suggestion??
    please give a descriptive reply as im quite new to this

    Hi,
    to connect to oracle database you need more than just server name (or server ip), you also need the database service name, for your case, XE. So you just need to construct your connection string into something similar to this,
    connectionString="Data Source=//localhost/xe;Password=hr;User ID=HR" Just replace Password and User ID to suit your configuration.
    You can also replace localhost with other server name and xe with service available in that server.
    [url http://www.nur-hidayat.net/files/WebODP.rar]Here is a quick and dirty asp.net sample to display Employees table in HR sample schema available in XE.
    Cheers,
    [url http://www.nur-hidayat.net]Nur Hidayat

  • ORA-12514 after I Changed NLS_LANGUAGE and cant get into DB

    Hello all, I just installed Oracle 10g XE on my Windows XP PC.
    I ran this command:
    ALTER SYSTEM SET NLS_LANGUAGE = 'AMERICAN_AMERICA.IW8PC1507' SCOPE=SPFILE;
    and since then I cant connect to my DB, all i'm getting is:
    ORA-12514: TNS:listener does not currently know of service requested in connectdescriptor
    I tried to do everything the Oracle 10g libraries says, but they all reffer to the Net Services Administrator's Guide and more stuff that are not supported in the XE.
    I cant even see the connect page of the Oracle XE Management!!
    please try to help me if you can.

    'AMERICAN_AMERICA.IW8PC1507' is an invalid value for NLS_LANGUAGE.
    So it is a bug that ALTER SYSTEM doesn't catch the invalid value.
    It looks like your database doesn't startup after it is shutdown as you specified SCOPE=SPFILE.
    You need to re-create the spfile
    create spfile='C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' FROM pfile='C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\init.ora';
    What did you intend to do by executing the alter system command?
    Makoto

  • Listener (and database instance) does not starts up automatically: ORA-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.

  • Instance not accessible (ora-12514) and recovery..

    So, I was doing some changes on a network (from dhcp to fixed ip's), and after that I was not able to access my oracle (10.2.0) instance (win xp), and I don't know why.
    Of course, listener starts (and I can tnsping it), but when I start instance, no memory is consumed, like it does not starts (thus I receive ora-12514 error). I didn't changed anything, no db_name, port, tnsnames.ora... anything..
    so, now I guess if I do physical backup (datafiles, redo log files, control files, pwd file), and recreate instance (reinstall oracle) can I restore db at that way?

    well, this is LISTENER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\ora10)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = da1.lan)(PORT = 1522))
    this is TNSNAMES.ORA
    ORA10 =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = da1.lan)
    (PORT = 1522)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora10.da1)
    in sp file and init.ora, db is named 'ora10'.
    service name (win xp) is OracleServiceORA10
    listener service name is: Oracleora10TNSListener
    in oradim.log file there is:
    Wed Jan 28 00:33:44 2009
    D:\oracle\product\10.2.0\ora10\bin\oradim.exe -startup -sid ora10 -usrpwd * -log oradim.log -nocheck 0
    Wed Jan 28 00:33:46 2009
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_ORA10'
    Edited by: Bongo on Jan 27, 2009 3:46 PM

  • ORA-12514 and UNKNOWN status

    Hi,
    on 10.2.0.3 on Win can not connect to DB by :
    sqlplus user/password@MYDB
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor.
    lsnrctl status  gives :
    Service "MyDB.server.LOCAL" has 1 instance(s).
      Instance "MYDB", status UNKNOWN, has 1 handler(s) for this service..
    But tnsping MYDB is OK.
    I can connect with :
    set ORACLE_SID=MYDB
    sqlplus / as sysdba
    Any idea ?
    Thank you.

    user10274093 wrote:
    Realy thank you.
    Here they are :
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 21-AUG-2013 17:18:19
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.29.116.4)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - Production
    Start Date                21-AUG-2013 16:34:39
    Uptime                    0 days 0 hr. 43 min. 40 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\oracle\network\admin\listener.ora
    Listener Log File         D:\oracle\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.39.116.4)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "MYDB.SERVERDOMAIN.LOCAL" has 1 instance(s).
      Instance "MYDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.39.116.4)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "MYDB.serverdomaine.LOCAL" has 1 instance(s).
      Instance "MYDB", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    Since every connection request to the listener gets logged, listener.log file will contain a line with 12514 as status code.
    T21-AOÛT -2013 17:18:19 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=user))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870080)) * status * 0
    21-AOÛT -2013 17:20:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=user))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870080)) * services * 0
    21-AOÛT -2013 17:23:16 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MYDB)(CID=(PROGRAM=D:\oracle\bin\sqlplus.exe)(HOST=SERVER)(USER=_syadministrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.39.116.4)(PORT=3033)) * establish * MYDB * 12514
    TNS-12514: TNS : listener does not currently know of service requested in connect descriptor
    connection request was for "MYDB" service but listener only know about service name below
    >Service "MYDB.serverdomaine.LOCAL" has 1 instance(s).
    which is NOT named "MYDB"!
    so either change listener or change requested Service name so they match each other!

  • 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 AM

    Hi 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

Maybe you are looking for

  • How do I transfer purchases from one ID to another

    I first set up itunes on my PC. I used a hotmail address to set up that account. Now I have a mac and want to use my icloud address and account for purchases. Is there anyway I can merge the accounts or transfer from the hotmail acccount to the iclou

  • Is it possible to change the scale of graph in webi ?

    Hi All, How to change the scale of graph in the web intelligence report. Thanks in advance, Ravi

  • How to connect to Firefox Sync if operating system was reinstalled?

    Can I connect to Firefox Sync if i have the sync key? When I go to Tools>Options>Sync>Set Up Firefox Sync I see only Create new Account and Connect that does not allow me to connect to my account. Thank you.

  • Is it a bug? GridBagLayout  with textField

    Hi, The following method does not work fine. The textfield field gets all the space but if i change JTextField field = new JTextField(); with JPanel field = new JPanel(); it will work fine. I think there is a problem with GridBagLayout and textField.

  • DRM video playback - HELP PLEASE

    I have searched and searched and searched online but cant find anything and from what I can Adobe doesnt have any examples, but I am building an AIR desktop video player application and want to be able to play videos with DRM such as bought iTunes mo