Perfect Solution to ORA-12514

Hi All, here is the solution for :
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
STEP 1 : SET ORACLE_SID = <YOUR_SID>
STEP 2 : sqlplus "/as sysdba"
If u get as insufficient privilleges , then
Enter username : sys as sysdba
Password : your db password
SQL>
Now, take a moment and see if u have init<your_sid>.ora file in path as shown below :
C:\app\q741372\product\11.1.0\db_1\database\
If not you can create the same, find the spfile of you sid (from same location), copy the contents and paste the same into new text document.
Remove all the junk characters from new created file and save it in same location as init<your_sid>.ora
Then back to sql prompt again.
SQL> startup pfile='C:\app\q741372\product\11.1.0\db_1\database\init<your_sid>.ora';
Database will be mounted and started
Now you manually put the listner entry...
sql>create spfile from pfile
sql> shu immediate;
sql> startup
sql> alter system set local_listener='(address=(protocol=tcp)(host=localhost)(port=1521))' scope=both;
And see if the port number in your listener.ora and tnsnames.ora is same, if not change it to the port number which you specify in above command
sql> alter system register;
That's it... your database will be working fine... Enjoy !!!!!
COURTESY : KSG and Kanchana (Thanks to both of you for helping me out)
Regards
Shirish katti
[email protected]

Please include DB version, OS version information in your post.
You can even post link to your previous post where you were fighting with this issue.
Personally I never had similar situation. In my databases local_listener parameter is empty.

Similar Messages

  • Problem in accessing second database instance on same host (ORA-12514)

    Hi,
    I had a database ICMDB installed on my machine. After that i created a second database instance (Service name: BI_APPS) using DBCA on the same machine. Using NETCA i also created a new listener OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER on port 1522 on my machine. Then i configured this listener to listen for connections to service BI_APPS by adding the following to my tnsnames.ora:
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    Then i changed the port in my tns entry for BI_APPS to 1522 as follows:
    BI_APPS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BI_APPS)
    I then restarted the following services:
    OracleOraDb11g_home1TNSListener
    OracleServiceBIAPPS
    OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
    After this, when i try to access my first DB ICMDB via toad, the connection is successful. However, when i try to access the service BI_APPS i get the following error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    What am i doing wrong? Here is the content of my files:
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    BI_APPS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = BI_APPS)
    LISTENER_ICMDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ICMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = icmdb)
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 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= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    LISTENER.ORA
    # listener.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
    SID_LIST_BI_APPS_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    Here is output of lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2013 16:17:01
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                12-DEC-2013 10:34:35
    Uptime                    0 days 5 hr. 42 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         d:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICMDEVDB)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.109)(PORT=1521)))
    Services Summary...
    Service "BIAPPSXDB" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "BI_APPS" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "icmdb" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    Service "icmdbXDB" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Jimit wrote:
    Hi Ed,
    I understand your point, however whenever i have tried to use the same listener to access my second instance, this is the error i have always received:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    That does not indicate you need a second listener.
    And, after deleting the listener.ora file ,if i try the the command lsnrctl start, i get the error:
    ORA-12560: TNS:protocol adapter error
    Hence i restored the files. What do i do?
    I've never experienced a 12560 trying to start a listener.  I'll need to see if I can create a test system on Windows and try to recreate.  Will be a good subject for my blog, that has been too long with no new content.
    Since this is windows, I'd first check that the Windows service for the listenr is started.
    Whatever, multiple listeners is NOT the solution.

  • Once again ora 12514

    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 22 22:28:13 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsI am referring [url https://forums.oracle.com/forums/thread.jspa?threadID=2318993&start=0&tstart=0]this link
    and the links within the above link,( Ed Stevens link )
    tnsping orcl works
    sqlplus "/as sysdba" works
    ora 12514 when i try to test the string with net manager
    sql developer on the other hand shows ora 12505...
    my tnsnames file
    ORCL_2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 15021))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 15021))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )my sqlnet file
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)my listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = G:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.100)(PORT = 15021))
      )also c:\app\dfernandes\diag\tnslsnr\sedona\listener\alert\log.xml is not there in my system
    i have
    fastCopyLog.xml
    installIP1Log.xml
    they are all modified in the year 2012
    the issue has cropped up after i bought an internet connection.. all was well before this
    i have tried a few solutions in vain
    this is for my personal learning purposes
    any help wil be a lot helpful
    thanks
    Edited by: 946207 on Jan 22, 2013 10:51 PM

    thank you for your prompt reply
    here is what you asked for
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 22:13:50
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Service OracleOraDb10g_home1TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.100)(PORT=15021)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Service OracleOraDb10g_home1TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> exitand
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.100)(PORT=15021)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    LSNRCTL>and
    LSNRCTL> service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.100)(PORT=15021)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    LSNRCTL>
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ WRITE
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\Administrator.W-8947E10749A84>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 23:08:23
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    G:\oracle\product\10.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 = 127.0.0.1)(PORT = 15021))) (CONNECT_DATA
    = orcl)))
    OK (30 msec)a cut out of listener.log file
    17-JAN-2013 04:31:46 * service_update * orcl * 0
    17-JAN-2013 04:55:07 * service_update * orcl * 0
    17-JAN-2013 04:58:05 * service_died * orcl * 12547
    TNS-12547: TNS:lost contact
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-JAN-2013 14:12:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=1920
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=w-8947e10749a84)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-JAN-2013 14:13:53 * service_register * orcl * 0
    17-JAN-2013 14:18:01 * service_update * orcl * 0
    17-JAN-2013 14:18:09 * service_died * orcl * 12547
    TNS-12547: TNS:lost contact
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-JAN-2013 21:49:10
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=272
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    21-JAN-2013 21:49:22 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1737)) * establish * orcl * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    21-JAN-2013 21:57:22 * (CONNECT_DATA=(SERVICE_NAME=orcl)(SERVER=DEDICATED)(CID=(PROGRAM=G:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=W-8947E10749A84)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1876)) * establish * orcl * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-JAN-2013 22:13:24
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=3684
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    21-JAN-2013 22:13:27 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    21-JAN-2013 22:06:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    21-JAN-2013 22:28:13 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=4671)) * establish * orcl * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 21:44:07
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=2260
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    22-JAN-2013 21:44:10 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on stop
    22-JAN-2013 21:44:22 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * stop * 0
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 21:44:33
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=4068
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    22-JAN-2013 21:44:36 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    22-JAN-2013 21:44:50 * (CONNECT_DATA=(SERVICE_NAME=orcl)(SERVER=DEDICATED)(CID=(PROGRAM=G:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=W-8947E10749A84)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1294)) * establish * orcl * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    22-JAN-2013 21:50:27 * (CONNECT_DATA=(SERVICE_NAME=orcl)(SERVER=DEDICATED)(CID=(PROGRAM=G:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=W-8947E10749A84)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15
    Edited last by: 946207 on Jan 22, 2013 11:49 PM to delete the unneccesary portion

  • Can't deploy - error ora-12514

    Hi,
    I've got problem. During deploying some errors occured:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    </NAMESPACE>
    RUNTIME_SERVICES_DEBUG [WhValidationGenerationTransaction] DeploymentSpecificati onImpl.addToUnitSpecificationImplArrayList: created UnitSpecification for Deploy mentAdapterName DDLDeployment StoreUOID= 8FF70863EE62307EE043A9B6BF4B307E Action = 1 FCO list= EXT_TAB_STMT_KL,SOME_NAME__REJECTED_ROWS_LOCATION_0,SOME_NAME__EXT_TAB_LOGS_LO CATION,SOME_NAME__STMT_LOCATION_0,
    Notification (Unit): start SOME_NAME_DATA_LOCATION (Create) - 0 (Adapter=DDLDeploy ment Location=SOME_NAMEDATA_LOCATION)
    Notification (Message): Listener refused the connection with the following error :
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Notification (Message): RPE-01008: Recovery of this request is in progress.
    Notification (Message): Listener refused the connection with the following error :
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Notification (Unit): complete SOME_NAME_DATA_LOCATION (Create) - 0 (Adapter=DDLDep loyment Location=SOME_NAMEDATA_LOCATION)
    MEM:GenerationValidationService:internalCompile:after transaction:U: 126938816%
    If I test connection in Connection Explorer on SOME_NAME_DATA_LOCATION it comes with Successfull.
    Listener is in ready state and connection with ie toad works.
    Can somebody give me some clues?
    PS. Sorry for my English.

    check if this helps:
    Cause
    Oracle Workflow software was installed but the packages/repository have not been created.
    RPE-002053 indicates that Oracle Workflow Installation is incomplete and OWF_MGR schema should not be empty.
    Solution
    1) From Oracle Workflow ORACLE_HOME:
    - Run $ORACLE_HOME/wf/install/wfinstall.csh
    - Follow Oracle Workflow Configuration Assistance screen to install Workflow packages under OWF_MGR schema.
    2) Review if there is any error after running the script.
    3) Re-deploy OWB Process Flow.
    Edited by: Darthvader-647181 on Mar 6, 2009 2:28 AM

  • ORA-12514 error every morning

    I get the following error every morning when I try to log on: ORA-12514 TNS:Listner could not resolve SERVICE_NAME given in connect descriptor.
    I checked the services and the tnslistner is started.
    I ran:
    C:\>tnsping lxez
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 27-OCT-20
    04 06:27:34
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    C:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = db-geosvr)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = LXEZ)))
    OK (20 msec)
    I tried:
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 27-OCT-2004 06:22:
    25
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db-geosvr)(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
    The command completed successfully
    any suggestions?

    Hi
    Problem could be with your backup program hitting on the redo logs.
    Veritas backup run against an Oracle 8.1.7 database gave the same effect you are having. Database running fine
    during the day. Come in next morning and listener service
    Had to reset server and database comes ok and runs for rest of day. Database went down soon after backup started.
    Solutions :-
    set archive log on or
    change backup software or
    Take oracle dir out of backup and run batch file to create a full system backup and include dump on backup
    strategy
    Hope this helps
    Ian

  • Deployment Error ORA-12514

    I have the following problem:
    After a failed deployment the deploy status of the project is failed, with the error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    I'm using Oracle 10g Release 1 and Oracle Warehouse Builder 10g Release 1
    I've read several threads already about the same error message, but none of the provided solutions worked for me. I've checked the tnsnames.ora files for the service names which should be correct. The runtime repository connection I've created should work because I'm able the start the editor for the runtime repository connection.
    Anyone got any suggestions for what the problem could be?
    MIS-a

    Hello,
    Have you looked at the TNSNAMES.ORA file in the ORACLE_HOME of the instance where your OWB Runtime is installed?
    Check that the registered location (in Deployment Mgr) of your target matches the TNSNAMES.ORA entry and also matches the real target instance location.
    I believe that the runtime environment instance's TNSNAMES.ORA is used to resolve the registered target location, not your design client TNSNAMES.ORA.
    [Last minute addition: It might be the design repository instance you need to check, not the runtime repository - we have all in one instance, so I'm not sure exactly where the target location is resolved]
    Regards, Hans Henrik

  • Ocilogon()  error trying to retrieve ORA-12514

    I'm trying to Connect a 10.2.0 client to a remote 8i database with php 4.4.0.
    I've tried using both Apache 2.0.55 and 1.3.34.
    For ocilogon("user", "pwd", "sid") I get "Error trying to retrive text for error
    ORA-12514.
    I've read that this is caused by environment variables not being set.
    My ORACLE_HOME and LD_LIBRARY_PATH seem to be set to the correct path.
    They both show up when I try phpinfo()
    I can connect to the remote database with sqlplus just fine.
    I've been looking for a solution all week.
    Thank you

    the oci8 section shows the compile-time ORACLE_HOME as one I used previously but have since changedThat would sound like a very possible source of the problem.
    Given what you've tried, you have me stumped. Obviously a band-aid technique would be to create a symlink from the old $ORACLE_HOME to the new correct one, but if reconfiguring and recompiling PHP with the correct --with-oci8 parameters didn't point PHP at the correct $ORACLE_HOME, then I'm not sure what to do next.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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

  • ORA-12514 error while running adcfgclone.pl

    Dear Hussein,
    We are cloning an R12 instance, while running adcfgclone.pl dbTier, we are gettign the below error:
    ============================================================
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : db1
    sDbDomain : ******.com
    sDbPort : 1551
    sDbSid : ERPUAT
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@db1.******.com:1551:ERPUAT
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT)))
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT.******.com)))
    Exception occurred: 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
    Connection could not be obtained; returning null
    =============================================================
    and in alert log file, there is below error:
    =============================================================
    alter database open resetlogs
    ORA-1194 signalled during: alter database open resetlogs...
    alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE...
    alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE...
    Sun Sep 13 23:53:24 2009
    Shutting down instance (abort)
    License high water mark = 1
    USER (ospid: 1809): terminating the instance
    Instance terminated by USER, pid = 1809
    Sun Sep 13 23:53:25 2009
    Instance shutdown complete
    ================================================
    Please suggest
    Bilal
    Edited by: user5499416 on Sep 14, 2009 12:24 AM
    Edited by: user5499416 on Sep 14, 2009 12:52 AM

    Bilal,
    Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directoryPlease verify that the database was created successfully and it is up and running.
    Regards,
    Hussein

  • 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."

  • Oracle-xe-universal / debian lenny / ORA-12514

    Hi,
    I have the following situation here:
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(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)
    lsnrctl services
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 06-JUL-2009 00:20:31
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    tnsping localhost
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 06-JUL-2009 00:20:56
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
    OK (0 msec)
    tnsping XE
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 06-JUL-2009 00:22:15
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)
    */etc/hosts*
    127.0.0.1 localhost
    10.223.125.167 c2aplathq001
    When trying to connect with sqlplus system@XE I get the following error:
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 6 00:23:21 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Same error after:
    sqlplus /nolog
    connect / as sysdba
    Snippet of listener.log:
    06-JUL-2009 00:16:35 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus)(HOST=c2aplathq001)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=55719)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    06-JUL-2009 00:20:31 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=c2aplathq001)(USER=root))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * services * 0
    06-JUL-2009 00:20:56 * ping * 0
    06-JUL-2009 00:22:15 * ping * 0
    06-JUL-2009 00:23:26 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus)(HOST=c2aplathq001)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=49526)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    System is Debian Lenny.
    I already tried it with the real hostname (c2aplathq001) in tnsnames.ora and listener.ora.
    Help would be greatly appreciated :-)
    Edit:
    Oracle specific env variables:
    LDPATH="/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib"
    ORACLE_HOME="/usr/lib/oracle/xe/app/oracle/product/10.2.0/server"
    ORACLE_SID="XE"
    PATH="/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    TWO_TASK="XE"
    Edited by: user4568737 on 05.07.2009 15:56

    Hi,
    oracle@c2aplathq001:~$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 8 14:27:54 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    c2aplathq001:~# hostname
    c2aplathq001
    I'm fine with TWO_TASK not set if its not necessary.
    Stefan
    Edited by: user4568737 on 08.07.2009 05:32
    Edit: You actually solved my problem :-)
    Seem like it was no good idea to set TWO_TASK or ORACLE_SID before trying to install ORACLE.
    I unset both variables purged the package reinstalled it and everything is up and running.
    Thank You
    Edited by: user4568737 on 08.07.2009 05:49

  • Connecting to Oracle XE via regular 10g client - ORA-12514

    I have had the 10g client installled on my computer for a while, for developing against our company Oracle databases. I have now installed the XE database locally on my computer so I can do some local development - according to the information I've been able to find the two should live side-by-side without problem.
    I can still connect to our company databases just fine, but I can't get a connection to the local XE database at all.
    I've added this line to tnsnames.ora:
    XE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = XE)))
    The error I'm getting connecting is:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Thanks for any help!

    Hi,
    I did mean duplicates even between different tnsnames.ora files.
    As I understand, if you XE works, you should not need do anything for that tnsnames.ora.
    Just find how entry should be for client.
    BTW, what tool you will use for XE? Do you need client?
    E.g. if you use SQL Developer, you do not need client or set anything to tnsnames.ora
    Regards,
    Jari
    Edited by: jarola on Jan 18, 2011 2:30 PM
    BTW, it might good to search Instant Client forums if you find help there.
    If you do not find answer, then it might good idea post question there.
    At least for me this is more client question than XE.
    Instant Client
    But as I understand it should not be any problem use 10g client for XE.
    I just have never done that =)

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

    GOT 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!!

  • Report ORA-12514 once restart Oracle 10.2 database

    OS: Windows2003 Standard Edition SP1
    Oralce 10.2.0.1.0 for Micorsoft Windows(32bit)
    I install Oracle 10.2 on Windows 2003, during installation, reports a waring at Product-Specific Prerequisite Checks:
    Checking Network Configuration requirements ...Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    I try to modify the Network config from assign IP address automatically to specify static IP address. then, Oralce can be installed successfully, and create database, connect to database... all work well.
    But once I do restart(stop/start) the database server, then the database can not be connected and report error ORA-12514. but I do not do any changes, only restart the database server.
    I also try to configure LoopBack metioned in the warning message, but it does not work as well.
    I try to install Oracle10.2 on other clean machines with different OS, like Windows XP sp2, I got the same result.
    Also, I doubt database server does not really start when restarting it, although no error or warning is reported. because of I watch the system memory usage, I do not see any increase of memory when I start the database server, it's not normal.
    I setup a Oralce10.1 server on the same machine, it has not this problem.
    Could anyone help me to solve it?
    Thanks verfy much.
    Frank
    below is my sqlnet.ora, listener.ora and tnsnames.ora .
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 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= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    # 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 = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = cnpb-dbserver5)(PORT = 1521))
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA102EN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cnpb-dbserver5)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora102en)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ------------------------------------------------------------------

    Paste the results of tnsping ora102en, hope it's useful to find any clue.
    C:\Documents and Settings\Administrator>tnsping ora102en
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-JUL-2
    006 14:24:40
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cnpb-dbs
    erver5)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ora10
    2en)))
    OK (30 msec)

  • Help!Can not start the database by sqlplus!!!ORA-12514:

    OS:window xp
    oracle 10g
    sqlplus /nolog
    SQL*Plus: Release 10.1.0.2.0 - Production on &#26143;&#26399;&#20845; 5&#26376; 20 15:08:26 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect sys/demo@demo as sysdba
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Message was edited by:
    [email protected]

    Yes!
    lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 20-5&#26376; -2006 15:1
    2:44
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    no "demo" service,why?

Maybe you are looking for

  • 10g installation error... Need help

    I launched the ./runInstaller comman, met all the installer requirements, and then this:... [oracle@localhost database]$ Exception in thread "main" java.lang.InteranalError: Can't connect to X11 window server using 'localhost.localdomain:0.0' as the

  • Replacing a laptop with Mac mini

    I am looking into replacing an aging TOSHIBA Windows PC, and I need to get out of Windows World.  I have been considering switching to the Mac mini.  I was wondering if anyone had any insight into how good of an idea this is, given my situation. The

  • BW -  Can Wild Carding be done  with Variables or what ?

    Hello All, Topic is "Can Wild Carding be done in BW" ? Need direction and solutions to this question. My definition is the abiliy to select key data within a  characteristic to generate a report. The data can be any part of the characteristic. An exa

  • Importing multi-page PDF into ID.

    Help. I have a 25 page PDF file that is made to be printed and folded. The pages are setup in sequence. I want to be able to import all those pages, but I wonder how I would be printing the document if I'm able to import it in ID. I want to print the

  • Copy BW Web Templates

    Hi BW experts, After processing an upgrade to BW 7.0 on our TST system, we wish to copy all the exist web templates in the system. The copy operation purpose is to save a copy of all reports, in case the migration process (running for the reports whi