Ora-12514 from 8.0.6 home

Hi,
After upgrading my DB from 9.2.0.7 to 10.2.0.3 ( on 11.5.10 ) i am not able to connect to db from my 8.0.6 home.
I am getting ORA-12514
However, tnsping80 PROD works fine.
Can somebody guid me ??
I am on windows, single node.
thx.

Are you able to connect without typing the <SID> (i.e. sqlplus apps/apps)?
Please source the database env file, issue "lsnrctl status", and post the result here.

Similar Messages

  • ORA-12514 when disconnecting from LAN domain

    Hi all,
    I'm facing issue that when I use Oracle XE locally and when I'm connected to the LAN domain, I can connect successfully to the teh DB but at home or when I'm disconnecting from the LAN, I got the error ORA-12514 from toad and sql plus
    I thought that the error was the hostname on tnsname.ora but I already changed it to 127.0.0.1 and also localhost but the same issue appears
    Hope that someone can help me on that
    Thanks in advance
    l12me

    tnsname.ora but I already changed it to 127.0.0.1 and also localhostBoth localhost and 127.0.0.1 are the loopback TCP address, its part of an IP interface but connections to that IP don't go anywhere but the local machine. A working 127.0.0.1 just verifies that TCP is configured- and that's about it for usefulness of localhost|127.0.0.1, or when remote http access is disabled it is the address part of the URL to access Apex.
    The tnsnames.ora host= has to have the correct IP address or hostname to connect to the machine where the database is running, as well as the port= for the listener port, and a connect_data ... service_name= or SID= entry to complete the connection string details.
    If you're getting a -12514 error the host= and port= are pointing to an address and port with an Oracle listener, so:
    A) service_name= or sid= aren't correct in tnsnames.ora
    Or
    B) host= isn't contacting the correct host.

  • Urgent -- ORA-12514.

    Hi,
    I restarted my database (RAC). After that I am getting ORA-12514 from second node while trying to connect username/pwd@cs, but it is working in first node.
    Can any body will help me.
    Regards,
    Kiran

    Hi,
    I am getting the following message:
    in 1 st node:
    ===========
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ETEFS-DB1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ETEFS-DB2-vip)(PORT = 1521))
    (LOAD_BALANCE = yes) (FAILOVER = yes) (FAILOVER_MODE = (TYPE = select)
    (METHOD = preconnect) (RETRIES = 5) (DELAY = 3)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = KASTLE)))
    OK (150 msec)
    in 2nd node:
    ===========
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)
    (HOST = ETEFS-DB1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ETEFS-DB2-vip)(PORT = 1521))
    (LOAD_BALANCE = yes) (FAILOVER = yes (FAILOVER_MODE = (TYPE = select)
    (METHOD = preconnect) (RETRIES = 5) (DELAY = 3)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = KASTLE)))
    TNS-12533: TNS:illegal ADDRESS parameters
    Regards,
    Kiran

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given

    Hi
    I have 3 server having oracle 9i database same version
    -one at head office
    -one at ours sister company and
    -one at port
    when i create string from Gui (SQL*NET configuration head office database)
    to connect sister co's database it works well and then i create db
    link by using this string its working fi9.
    but when i create string from head office to port database
    its giving me error when i test string during wizard
    Connecting..
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given
    in connect descriptor
    Although from port databse i can connect to head office database succesfully.
    I am giving correct machine name and sid during creating string from database SQL*NET configuration wizard.
    Why its giving ORA-12514 from Head office to connect port database
    but not from Port to Head office database nor from Head office to
    sister co's Data base?
    Khurram Siddiqui
    [email protected]

    Hi Pal Here is wot u required
    D:\oracle\ora92>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-JAN-2006 16:27:
    25
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "icsyard.com" has 2 instance(s).
    Instance "icsyard", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "icsyard", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:17 refused:0 state:ready
    LOCAL SERVER
    Service "icsyardXDB.com" has 1 instance(s).
    Instance "icsyard", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: ICSYARD, pid: 360>
    (ADDRESS=(PROTOCOL=tcp)(HOST=icsyard.icsdomain.com)(PORT=1141))
    The command completed successfully
    D:\oracle\ora92>
    Tnsname.Ora For Head Office
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HATAF.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = hataf)
    OEMREP.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OEMREP.gacpak.com)
    EXTPROC_CONNECTION_DATA.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    INST1_HTTP.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    KHURRAM.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = YAWAR)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = YAWAR.WORLD)
    Thanks for urs quick response
    Khurram Siddiqui
    [email protected]

  • Error in duplicating dataguard, RMAN-04006: error from auxiliary,ORA-12514

    Hi All,
    Trying to duplicate using rman and facing below issue
    rman TARGET sys/oracle@pawsdb AUXILIARY sys/oracle@adpaws
    Recovery Manager: Release 11.2.0.3.0 - Production on Tue Jun 19 20:47:09 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    connected to target database: PAWSDB (DBID=3014417093)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    TNS on aux looks like this
    ADPAWS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.210.23.227)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = adpaws)
    Listener under grid home  (ASM) on aux looks like this
    # listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME= /home/oracle/app/oracle/product/11.2.0/grid)
    (SID_NAME = adpaws)
    (GLOBAL_DBNAME= adpaws.example.com)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cuscmetl.hillscte.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = /home/oracle/app/oracle
    output of lsnrctl on aux looks like this
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 19-JUN-2012 20:53:49
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cuscmetl.hillscte.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date 19-JUN-2012 20:53:42
    Uptime 0 days 0 hr. 0 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/cuscmetl/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuscmetl.hillscte.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "adpaws.example.com" has 1 instance(s).
    Instance "adpaws", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    TNS on target is also configured properly, both are tnsping successful from each other, running this command from aux server results in failure
    Please help
    thanks

    Thanks for reply, below are the last 50 lines from listener log
    <msg time='2012-06-19T21:10:13.125-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:13 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56363)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:13.160-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:13 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56364)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:18.125-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56366)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:18.160-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56367)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:23.126-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:23 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56368)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:23.159-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:23 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56369)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:28.125-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:28 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56371)) * establish * etldb * 0
    </txt>
    </msg>
    <msg time='2012-06-19T21:10:28.160-05:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='server2.server.com'
    host_addr='10.210.23.227'>
    <txt>19-JUN-2012 21:10:28 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=etldb)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.210.23.229)(PORT=56372)) * establish * etldb * 0
    </txt>
    </msg>

  • ORA-12514 Error when connection from OEM

    I have RAC database. I can access Cluster from https://rs1pre91dvdba01.pre.ccosvc.com:5500/em
    but when clicking on database tab -> Performance -> Afer giving username / password I get
    Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (description=(address_list=(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(load_balance=yes))(connect_data=(service_name=DWH1)))
    [oracle@rs1pre91dvdba01 admin]$ . oraenv
    ORACLE_SID = [oracle] ? DWH1
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
    [oracle@rs1pre91dvdba01 admin]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://rs1pre91dvdba01.pre.ccosvc.com:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/log
    How can I access Performance tab from OEM.
    thanks.

    [oracle@rs1pre91dvdba01 admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:35
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 05-JAN-2011 12:06:28
    Uptime 28 days 3 hr. 31 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/oracle/diag/tnslsnr/rs1pre91dvdba01/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.201)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.203)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "DWH1" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Service "DWH1XDB" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Service "MDM1" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    Service "MDM1XDB" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@rs1pre91dvdba01 admin]$ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:44
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:34200 refused:0 state:ready
    LOCAL SERVER
    Service "DWH1" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:106 refused:0 state:ready
    LOCAL SERVER
    Service "DWH1XDB" has 1 instance(s).
    Instance "DWH11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 6845>
    (ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=45445))
    Service "MDM1" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:56105 refused:0 state:ready
    LOCAL SERVER
    Service "MDM1XDB" has 1 instance(s).
    Instance "MDM11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 24224>
    (ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=59486))
    The command completed successfully
    [oracle@rs1pre91dvdba01 admin]$ id
    uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
    [oracle@rs1pre91dvdba01 admin]$ env | sort
    ASM_SID=+ASM1
    _=/bin/env
    COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
    DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
    DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    DISPLAY=localhost:10.0
    DWH_SID=DWH11
    G_BROKEN_FILENAMES=1
    GI_HOME_BIN=/u01/app/11.2.0/grid/bin
    GI_HOME=/u01/app/11.2.0/grid
    GRID_HOME=/u01/app/11.2.0/grid
    HISTSIZE=1000
    HOME=/home/oracle/
    HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
    INPUTRC=/etc/inputrc
    LANG=en_GB
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    MDM_SID=MDM11
    NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
    OLDPWD=/u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/config
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=DWH1
    ORACLE_UNQNAME=DWH1
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
    PWD=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=172.30.0.125 58337 22
    SSH_CONNECTION=172.30.0.125 58337 172.30.2.201 22
    SSH_TTY=/dev/pts/0
    SVN_EDITOR=vi
    TERM=xterm
    TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
    USER=oracle

  • 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

  • 10g stopped working after 11g installed. Getting ORA-12514: error

    I had Oracle 10g installed in win2000 sp2. with port 1521.
    I have installed Oracle 11g on the same system. with port 1522.
    I am able to start both the instances and tnslistener but I am not able to connect to Oracle10g database. Getting following error.
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I have done the following check.
    c:\> tnsping tek10g
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-MAR-2
    008 13:04:26
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\app\mmurugai\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = PC456)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = tek10g) (SRVR = DE
    DICATED)))
    OK (50 msec)
    2) Checked lsnrctl services
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PC456.SYNTELORG.COM)(PO
    T=1522)))
    Services Summary...
    Service "orcl11g" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    Service "orcl11gXDB" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: PC456, pid: 284>
    (ADDRESS=(PROTOCOL=tcp)(HOST=PC456.SYNTELORG.COM)(PORT=2963))
    Service "orcl11g_XPT" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    LSNRCTL>
    I am not able to see my tek10g 10g database details.
    I also checked my tnsnames.ora file which has the entries properly.
    Sqlnet.ora file has
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    How to solve this issue? Is that possible to run oracle 10g and oracle 11g in same host?
    Thanks in Advance...
    regards,
    Manikandan

    The approach I would take, in general is:
    1) pick a listener, and only one. Get that working.
    2) Make sure all the databases register to that listener
    3) Fix the TNSNAMES.ORA files appropriately.
    To fix the listener
    1) Verify the listener address matches the current environment
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)     << - MUST point to correct HOME
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
      )where
    myHOST is this host's resolvable name or IP address
    myPORT is the port (default 1521) that the listener should monitor
    The HOST is often a problem if the machine uses DHCP.
    2) Register the databases
    On startup, database will auto-register to the listener defined in the init parameter 'LOCAL_LISTENER', which defaults to 'HOST={current_host}, PORT=1521'
    After startup, if the listener is taken down, you can register each database manually using the DBA command
    ALTER SYSTEM REGISTER;
    Either way, it should show up in the output of 'lsnrctl status'
    While you are accessing the database, you might want to find out which services the database supports. That can be done in SQLPlus using the command
    SHOW PARAMETER SERVICE_NAMES
    Note that the database name is the default service name.
    3) Fix [all] the TNSNAMES.ORA file[s].
    Each SERVICE_NAME from the previous list that you want to access from this client, yu should find an entry that looks like
    myTEST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mySERVICE)
    myTEST is the alias I want to look up by using it as the connect target string.
    myHOST should match the HOST= entry in the LISTENER.ORA
    myPORT MUST match the PORT= entry in the LISTENER.ORA
    mySERVICE is the Service to which I am asking the listener to connect me, as found in the lsnrctl status output

  • Oracle 10g over Windows 7 - ORA-12514 TNS:listener does not currently know

    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well.
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    Khaldoun

    user1941003 wrote:
    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well. The only 10g software certified/supported on Win 7 (Professional or higher) is 10.2.0.5. Win Home versions are not supported.
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
    Other versions may or may not work - so fixing any errors that result from unsupported/uncertified combinations is up to you.
    >
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    KhaldounSrini

  • Can't start up after shutdown - ORA-12514

    Hi -
    I installed 11gR2 on RHEL 5.4, creating a database during installation.
    After shutting down via SQLPlus (remotely), I found I am unable to startup.
    Attempts to startup via SQLPlus fail with: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    However, I am able to startup via Enterprise Manager.
    I have been viewing similar threads but cannot seem to get the issue resolved.
    # listener.ora Network Configuration File: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521))
    ADR_BASE_LISTENER = /home/app/oracle
    # tnsnames.ora Network Configuration File: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ELF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = elf.srs-7.net)
    tnsping:
    [oracle@s2 bin]$ tnsping elf
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 04-MAR-2010 22:21:56
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /home/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = elf.srs-7.net)))
    OK (0 msec)
    Stop and Start Listener: (shows "listener supports no services")
    [oracle@s2 bin]$ lsnrctl stop
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-MAR-2010 22:16:18
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    [oracle@s2 bin]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-MAR-2010 22:16:24
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /home/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /home/app/oracle/diag/tnslsnr/server12/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=s2.srs-7.net)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-MAR-2010 22:16:24
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/app/oracle/diag/tnslsnr/server12/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=s2.srs-7.net)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    My environment
    [oracle@s2 bin]$ env
    HOSTNAME=s2.srs-7.net
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    TMPDIR=/tmp
    KDE_NO_IPV6=1
    USER=oracle
    TEMP=/tmp
    LD_LIBRARY_PATH=/home/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib:/usr/local/lib
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=elf
    ORACLE_BASE=/home/app/oracle
    KDEDIR=/usr
    MAIL=/var/spool/mail/oracle
    PATH=/home/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    INPUTRC=/etc/inputrc
    PWD=/home/app/oracle/product/11.2.0/dbhome_1/bin
    LANG=en_US.UTF-8
    KDE_IS_PRELINKED=1
    ORACLE_TERM=xterm
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/oracle
    LOGNAME=oracle
    CLASSPATH=/home/app/oracle/product/11.2.0/dbhome_1/JRE:/home/app/oracle/product/11.2.0/dbhome_1/jlib:/home/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/home/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    _=/bin/env
    OLDPWD=/home/app/oracle/product/11.2.0/dbhome_1
    I have tried to add a static entry (below) to my listener,ora file, but this not does not solve the issue and prevents starting up even via EM until the entry is removed:
    ELF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = elf.srs-7.net)
    All else (so far) seems to be functioning normally and I have encountered only this issue.
    Any input would be greatly appreciated.
    S Rosen.
    Edited by: ScottRn on Mar 4, 2010 2:02 PM

    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.2.0.1.0 - Production
    [oracle@s2 bin]$ env | sort
    _=/bin/env
    CLASSPATH=/home/app/oracle/product/11.2.0/dbhome_1/JRE:/home/app/oracle/product/11.2.0/dbhome_1/jlib:/home/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=s2.srs-7.net
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    KDE_IS_PRELINKED=1
    KDE_NO_IPV6=1
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/home/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib:/usr/local/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    OLDPWD=/home/app/oracle/product/11.2.0/dbhome_1
    ORACLE_BASE=/home/app/oracle
    ORACLE_HOME=/home/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=elf
    ORACLE_TERM=xterm
    PATH=/home/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    PWD=/home/app/oracle/product/11.2.0/dbhome_1/bin
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    TEMP=/tmp
    TERM=xterm
    TMPDIR=/tmp
    USER=oracle
    [oracle@s2 bin]$ sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Mar 5 00:34:21 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter user-name: */ as sysdba*
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2042241024 bytes
    Fixed Size 1337548 bytes
    Variable Size 503318324 bytes
    Database Buffers 1526726656 bytes
    Redo Buffers 10858496 bytes
    Database mounted.
    Database opened.
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.2.0.1.0 - Production
    [oracle@s2 bin]$
    Thanks,
    Scott
    Edited by: ScottRn on Mar 4, 2010 3:41 PM

  • ORA-12514 Error in remote office

    I installed and created a 10g (rel2) database while connected to my office's network. Because my company uses DHCP I had to create a loopback connector and give it a fixed IP address. Everything went as expected.
    Now I've travelled to a remote location and, even though the Oracle instance is on my laptop, I'm getting an ORA-12514 error (TNS:listener does not currently know of service requested in connect string). I'm using Windows XP Pro and this is what I get from doing a lsnrctl status:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-JAN-2008 14:29:25
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    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
    This is my listener.ora file:
    # listener.ora Network Configuration File: C:\Ora10gHomes\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:\Ora10gHomes\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521))
    As you can see, it isn't creating a service for anything other than the EXTPROC entry. I tried doing a TNSPING on the SID (LAKOTA) and got this:
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 14-JAN-2
    008 14:24:50
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Ora10gHomes\DevSuiteHome\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = lakota.cgifederal.com)))
    OK (40 msec)
    So now I'm stumped. I've tried stopping and starting the listener, but nothing changed. Is it because I'm physically connected to a different network than when I installed the software and created the database? If that's the case, is there a work-around because I'm going to be travelling a LOT more than I'm going to be in the home office and I need access to my oracle instance no matter where I am or what backbone I'm connected to. Any and all assistance gratefully appreciated.
    Leigh Smith

    You are trying to connect to a service named: lakota.cgifederal.com but from the output of the listener status it can be seen that the instance has not yet been registered against the listener. Your listener is at 1521 port, this means that can be self registered against it. Just make sure your instance is started.
    There is a command to force instance registration, it is from the sql command prompt connected with either sys or system issue: alter system register Automatic instance registration should take less than a minute, if after the time has expired and issuing the command don't work, then if required, instead of relying on automatic instance registration, you can change it to be manually configured. You can do this from the network manager.
    ~ Madrid

  • Urgent:ORA-12514: TNS:listener does not currently know of service requested

    Database server LinuxAS4 10g
    oracle client in windows XP
    getting error
    lister.ora
    # listener.ora Network Configuration File: /home/oracle/product/network/ad
    stener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/product)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.9.19)(PORT = 1521))
    tnsnames.ora
    ORCL=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.9.19)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    sqlnet.ora
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQLNET.AUTHENTICATION_SERVICES= (none)
    tnsping orcl is working fine
    C:\Documents and Settings\Administrator>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-JUN-2
    006 11:17:31
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    E:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
    9.19)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))
    OK (0 msec)
    from the client
    c:> set oracle_sid=orcl
    C:>sqlplus scott/tiger@orcl
    C:\Documents and Settings\Administrator>cd c:\
    C:\>sqlplus scott/tiger@orcl
    SQL*Plus: Release 10.1.0.2.0 - Production on Wed Jun 21 11:21:30 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

    [oracle@localhost admin]$ lsnrctl start
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 21-JUN-2006 11:52:20
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /home/oracle/product/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /home/oracle/product/network/admin/listener.ora
    Log messages written to /home/oracle/product/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.9.19)(PORT=1521
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 21-JUN-2006 11:52:20
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/product/network/admin/listener.ora
    Listener Log File /home/oracle/product/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.9.19)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    still getting eror

  • ORA-12514 Error when using Net Configuration Assistant

    I have recently installed Oracle 11g on a Windows 2008 server and am now trying to connect via the Oracle client on my local machine.
    Here is how I've been using Net Configuration Assistant so far:
    Listener Configuration
    The name of my listener is LISTENER_PROXIMA (proxima is the name of the server). Does this need to be named something else? Something specific?
    I'm using TCP to connect.
    I'm using standard port 1521.
    Naming Methods
    Local Naming and Easy Connect Naming
    Local Net Service Name
    Service name is ADMI04 (checked this against the lsnrstl service status on the server and it's correct)
    Using TCP
    Using the hostname proxima.domain-name.com
    I'm attempting to connect as SYS (but have tried others with the same result)
    When I go to test the connection I keep getting the ORA-12514 error. Does anyone know what I should do? Reinstall the listener? If so, are there any suggestions or guidance for that?
    Thank you.

    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

  • 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: 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!!

Maybe you are looking for