ORA-12514 attempts to connect "/ as sysdba" to closed db

I'm getting ORA-12514 when I try to do a DOB connection by using "/ as sysdba" to a clos 12.1.0.2 database:

[oracle@localhost ~] $ which sqlplus

~/app/Oracle/product/12.1.0/dbhome_1/bin/sqlplus

[oracle@localhost ~] $ sqlplus/nolog

SQL * more: Production release 12.1.0.2.0 on Sat Mar 28 08:54:09 2015

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

SQL > conn / as sysdba

ERROR:

ORA-12514: TNS:listener is not currently of service requested in connect

descriptor of

[oracle@localhost ~] $ env | grep-i ora

OLDPWD = / home/oracle

USER = oracle

ORACLE_SID = cdb1

MAIL = / var/spool/mail/oracle

PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/12.1.0/dbhome_1/bin:/usr/local/Apache-Ant-1.9.3/bin

PWD = / home/oracle

HOME = / home/oracle

LOGNAME = oracle

ORACLE_HOME=/home/Oracle/app/Oracle/product/12.1.0/dbhome_1

I really don't understand what is happening here. The connection "/ as sysdba" should not be using the headset at all. It should take a DOB connection to db identified by ORACLE_SID, IE cdb1.

What is happening on one of the pre-configured Oracle Developer VMs - the VM of Application development.

Anyone seen this before? Any tips or hints appreciated!

Thank you

Natálka-

If TWO_TASK environment variables or PREMISES have been defined, they will take precedence over ORACLE_SID

DOB is only ORACLE_SID.

----------

Sybrand Bakker

Senior Oracle DBA

Tags: Database

Similar Questions

  • DB stopped working with ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Hello

    I installed Oracle 4 months before and work perfectly fine on until now. I could not able to connect to any DB or URL http://127.0.0.1:8080/apex/f? p = 4950

    The connection failed with the below error

    ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Results of the LSNRCTL STATUS as below

    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL STATUS

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 12:43

    : 55

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod

    ction

    3 January 2016 start date 12:43:51

    Uptime 0 days 0 h 0 min 4S

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Default Service XE

    Listener parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\A

    DMIN\listener.ora

    Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\RAJESHK-PANTAR\lis

    tener\alert\log. XML

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = localhost) (IN.

    RT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL SERVICE

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 13:0

    : 08

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    The command completed successfully

    Please help with what deliver you.

    1. control file backup to trace using the "alter database backup controlfile to trace as 'C:\control.bkp ';

    2. turn off your database

    3 startup nomount

    4. create controlfile from the backup created controlfile command. For example. See below (it is extracted from the trace my database controlfile. RESETLOGS option use as in 1st line

    CREATE CONTROLFILE REUSE DATABASE "WIN1DB" RESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO01.LOG'  SIZE 50M BLOCKSIZE 512,
      GROUP 2 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO02.LOG'  SIZE 50M BLOCKSIZE 512,
      GROUP 3 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO03.LOG'  SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSTEM01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSAUX01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\UNDOTBS01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\USERS01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\EXAMPLE01.DBF'
    CHARACTER SET WE8MSWIN1252
    ;
    

    5 mount the database 'edit the editing of the database'

    6 open the database using newspapers to reset "alter database open resetlogs.

    Thank you!

  • The ORA-12514 error when you try to connect remotely

    I am trying to connect remotely to the 12 c with SQL Developer Oracle database. In order to connect remotely from another computer, on the server that is running Oracle, I opened a port in the firewall of Windows 7. The listener.ora file, as you can see below, has its default listening port set to localhost.  So, I created second listener called REMOTE_LISTENER, to listen on a different port to 1521.  I put it in place of 1531.  That part worked, but now the listener isn't me in due to this error IN what ORA-12514 earphone does not currently of service required to connect descriptor.

    This is the setting of the SQL Developer on the remote computer:

    CONNECT.JPG

    It's the side server, listener.ora file:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\Owner\product\12.1.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Owner\product\12.1.0\dbhome_1\bin\oraclr12.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (SERVICE_NAME = editor)
    )
    )

    REMOTE_LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.19)(PORT = 1531))
    (SERVICE_NAME = editor)
    )
    )

    It's the tnsnames.ora file:

    PUBLISHER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.19)(PORT = 1531))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = editor)
    )
    )

    LISTENER_EDITOR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = editor)
    )
    )


    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    As you can see, I edit the file tnsnames.ora slightly to allow a connection to the database of the editor, but my edit does not seem to fix anything. You will notice that I also updated the port 1531 to match the listener in the listeners.ora file.  I can not connect with SQL Developer on the client side. I am able to connect locally with the SQL Developer on the server, but I need to access the database from a different computer.   I am able to connect to the database using SQL more on the server.

    I ran lsnrctl service from the command prompt. Here is the output of this command:

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)) (SERVICE_NAM

    E = editor))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service "Editor" has 1 instance (s).

    Instance "editor", State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    Service 'editorXDB' has 1 instance (s).

    Instance "editor", State LOAN, has 1 operation for this service...

    Managers:

    "D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan

    DISPATCHER < machine: PC SHIERS, pid: 1580 >

    (ADDRESS = (PROTOCOL = tcp) (HOST = Shiers-PC)(PORT=49367))

    Service 'pdborcl' has 1 instance (s).

    Instance "editor", State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    The command completed successfully

    As you can see, it shows a service instance named "editor."  It comes, it does not say which port.  You will also notice a service named "editorXDB". Where it went out, I don't know.  It is certainly not in the tnsnames.ora file, and whenever I run the lsnrctl services command port number changes.  In any case, this part, I think, is a red herring.  I've been spinning my wheels on this one for a few days.  If anyone can help me with the steps to connect to a remote computer via SQL Developer, it would be greatly appreciated.

    So now what would be better, it's if we could get the database to dynamically register with the listener as it should so that I get the READY State.  Could help you with this please, then I think we're done.


    What is the setting for the LOCAL_LISTENER parameter in your database?  To keep things simple, it must be null, which allows the DB to-default - use the 1521 port to communicate with the listener for the record.

    See: (exploring the-local_listener-parameters)

    (SID_DESC =

    (SID_NAME = editor)

    (ORACLE_HOME = C:\app\Owner\product\12.1.0\dbhome_1)

    (GLOBAL_NAME = editor)

    )

    )


    BTW, * if * you insist on using a listener.ora and you insist on the use of the SID_LIST section in this document, you should really use SERVICE_NAME instead of SID_NAME.

  • Listener (and the database instance) does not start automatically: ORA-12514: TNS:listener does not currently of service requested in connect descriptor

    Hi all... I am a newbie with oracle database.,.

    I have the problem of monitoring:

    I installed Oracle Database 11 g R2 XE on my CentOS 6.5 guest operating system.

    I changed the host name in my CentOS so (where installed oracle 11g R2 XE) after the installation was completed successfully.

    Installation-) before and during the hostname is localhost.

    (-) After the installation, I changed the host name in VMCentOS

    From the moment where I changed the host name, nothing starts automatically. In particular, the listener and the database instance does not start automatically.

    When I start the listener manually and I try to connect to the instance of database with SQLPLUS I get this error:

    ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    I think that the problem is due host name changed because I have to test and debug the object, re-installed a machine virtual operating system CentOS, re-installed oracle database 11 g and I do not have this problem. The database instance and the listener starts automatically!

    Can someone tell me if, maybe, the problem is with the host has changed? ... and why?

    P.S.: After changing the hostname I also modified the listener.ora and the tnsnames.ora by changing the HOST with the correct host name.

    Hello

    It seems that you don't install Oracle Database Express Edition (XE). If you post this question in the wrong forum.

    When you install EA or there is no script that starts the database at startup.

    If you wish, you can create by yourself. For example search for instructions to Google how to create script.

    Kind regards

    Jari

  • ORA-12514 when you try to connect to new db

    Hello

    I just do a fresh install of Oracle 11 g 2 on x 64 Linux RHEL6. When I'm trying to connect to the db from the client, I always get an error:
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
    Seems I have the wrong server listener service name, resembles "name.domain.com' instead of just 'name', how can I change it?

    Here's my:
    -the customer tnsnames.ora:
    ORA11R2 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.2)(PORT = 1521)))
    (CONNECT_DATA = (SERVICE_NAME = ORA11R2)))

    -the server listener.ora:
    LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ora11g.my.domain.com) (PORT = 1521)))
    ADR_BASE_LISTENER = / u01/app/oracle

    status of $lsnrctl

    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on February 13, 2013 16:15:54
    ...
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ora11g.my.domain.com) (PORT = 1521)))
    Summary of services...
    Service 'ora11r2.my.domain.com' has 1 instance (s).
    'Ora11r2' instance, State LOAN, has 1 operation for this service...
    Service 'ora11r2XDB.my.domain.com' has 1 instance (s).
    'Ora11r2' instance, State LOAN, has 1 operation for this service...

    Published by: 964323 on 13.2.2013 06:24

    Change your TNS names like below,

    ORA11R2 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.2)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = ORA11R2.my.domain.com)))
    

    Mark your message as response or relatively useful if your question is answered.

    Thank you best regards &,.
    SID

    (StepIntoOracleDBA)

    E-mail: [email protected]

    http://stepintooracledba.blogspot.in/

    http://www.stepintooracledba.com/

  • Get "ORA-12534: TNS:operation unsupported ' connect as sysdba

    Hello

    We get "ORA-12534: TNS:operation not supported" error when connecting as sysdba.

    Bash-2. $03 sqlplus "virtue sysdba".

    SQL * more: Release 10.2.0.4.0 - Production Thu Feb 23 10:16:16 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    ERROR:
    ORA-12534: TNS:operation unsupported


    Enter the user name:

    I can able to connect to the database using tns entry without any problem.

    SQLNET. Contents of the ORA:
    ====================
    Bash-2. $03 cat /var/opt/oracle/sqlnet.ora
    ENCRYPTION_WALLET_LOCATION=(source=(method=file)(METHOD_DATA=(Directory=/dboracle/ORABASE/product/10.2.0/dbs/wallet/)))
    SQLNET. WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0

    I'm not aware of the portfolio. Please, help me to solve this problem.

    Thank you.

    Kind regards
    National Stadium

    >
    SQLNET. Contents of the ORA:
    ====================
    Bash-2. $03 cat /var/opt/oracle/sqlnet.ora
    ENCRYPTION_WALLET_LOCATION=(source=(method=file)(METHOD_DATA=(Directory=/dboracle/ORABASE/product/10.2.0/dbs/wallet/)))
    SQLNET. WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    >

    You can replace the keyword ENCRYPTION_WALLET_LOCATION with just WALLET_LOCATION in your file sqlnet.ora.

    EWL is only used for transparent encryption of data, but if you want to use the external password store, you will need to use WALLET_LOCATION rather than ENCRYPTION_WALLET_LOCATION. However, if you want to use TDE and external repository of password, then make sure that your sqlnet.ora file has two entries ENCRYPTION_WALLET_LOCATION and WALLET_LOCATION

    Concerning
    Vincent

  • ' connect / as SYSDBA ' gives the error ORA-12154

    Hello

    Oracle XE can not access the database via "connect / as SYSDBA.

    I have to use 'connect SYS' / "" & & sysPassword"@XE as SYSDBA" instead. "

    No idea why ' connect / as SYSDBA ' gives me this error:

    SQL > connect / as sysdba
    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified

    But it works:
    SQL > conn system/password@XE as sysdba
    Connected.


    Thank you.

    I think that LOCAL should generally not be set.

    Try:
    C:\ > LOCAL value =
    C:\ > set oracle_sid = XE
    C:\ > sqlplus / as sysdba

    That should do :)

  • ORA-12514 after immediate cessation

    After an immediate stop, any attempt to connect to the database generates an ORA-12514 error. I can't restart the db from the command line. I can restart by restarting the listener of the db. The listener log indicates that the service is dead after the judgment, but there is no indication why.

    I'm running on Windows 2008 R2 63 bit. IPv6 was disabled and all references are made by IP DNS not entered.

    IM assuming that once you stop the database, you want to connect to the database through the listener
    by default, the database uses dynamic registration and is available through the listener in MOUNT or OPEN State
    to be able to "connect" to one not NOMOUNT (as SYSDBA) not running, or a database, you must manually register the database instance in your listener.ora

    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.com)(PORT = 1521))
        )
      )
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = ORCL)
        )
      )
    
  • Does not start after decommissioning - ORA-12514

    HI -.

    I installed 11 GR 2 on RHEL 5.4, creating a database during installation.

    After having turned off via SQLPlus (remotely), I found that I cannot start.

    Failure of attempts to boot via SQLPlus with: ORA-12514: TNS:listener is not currently of service requested in connect descriptor.

    However, I am able to boot via Enterprise Manager.

    I have posted similar topics, but can't seem to get the problem 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 = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net)
    )
    )

    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)(PORT = 1521) .net)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = elf.srs - 7 .net)
    )
    )




    tnsping:

    tnsping Elf $ [oracle@s2 bin]

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on March 4, 2010 22:21:56

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /Home/app/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = elf.srs - 7 .net)))
    OK (0 msec)



    Stop and Start Listener: (shows "listener supports no services")



    lsnrctl stop $ [oracle@s2 bin]

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on March 4, 2010 22:16:18

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    The command completed successfully


    lsnrctl start $ [oracle@s2 bin]

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on March 4, 2010 22:16:24

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    From /home/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System settings 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
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = s2.srs - 7)(PORT=1521) .net))

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Beginning of March 4, 2010 22:16:24
    Uptime 0 days 0 h 0 min 0 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
    The listener log file /home/app/Oracle/diag/tnslsnr/server12/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = s2.srs - 7)(PORT=1521) .net))
    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 is 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 tried to add a static entry (below) to my interlocutor, ora file, but no, this does not solve the problem and prevents the start even through EM until the entry is deleted:


    ELF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = elf.srs - 7 .net)
    )
    )





    Everything seems to work normally (so far) and I met just this problem.

    Any input would be greatly appreciated.

    Rosen S.

    Published by: ScottRn on March 4, 2010 14:02

    CUT the lines below then PASTE into a terminal window

    env | Sorting
    sqlplus
    / as sysdba
    startup
    output

    CUT the results then PASTE all back here

  • Application of computer Virtual Image precompiled App development database: start of the CBD fails with ORA-12514

    Hello

    I have a few questions about the pre built Database App Development VM image.

    I am trying to use it to familiarize myself with Oracle 12 c and would like to receive feedback on the following points:

    1. When you open a terminal session and then trying to connect as the sysdba, it automatically connects me to the ORCL PDB. How does this happen? I have just a sqlplus/nolog followed normal con sys/oracle as a sysdba. My ORACLE_SID is set to cdb1. Thank you I can change session at the root, etc. - my query is how by default does me to the ORCL PDB?
    2. If I connect to the container root of the CBD, namely sqlplus sys/oralce@cdb1 and then issue an immediate halt, the CBD closes down, but in the process gives an ORA-12514 error - after that I am unable to start CDB, as shows the ORA-12514 error when I try to sys/oracle@cdb1 conn - TNS:Listener is not currently of service requested in connect appears.

    For directions to the two above would be appreciated.

    Thank you, Mohan

    All,

    Well, I have fixed it for myself.

    TWO_TASK env var has been ORCL beforehand to be close the CDB.

    Disabling then close the container and restarting it fixed my error ORA-12514.

    Kind regards

    Mohan

  • Unable to connect as sysdba

    Hello

    I use oracle 10g on windows before, that I was able to connect to the database as sysdba but now I am not able to connect as sysdba.

    Here is the log.

    Please help resolve this error.

    Microsoft Windows [Version 5.2.3790]

    Copyright (C) 1985-2003 Microsoft Corp.

    C:\Documents and Settings\swkulkarni > set oracle_sid = devdb

    C:\Documents and Settings\swkulkarni > sqlplus "virtue sysdba".

    SQL * more: Release 10.2.0.4.0 - Production on Thu Sep 5 06:50:59 2013

    Copyright (c) 1982, 2007, Oracle.  All rights reserved.

    ERROR:

    ORA-01031: insufficient privileges

    Enter the user name:

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    Enter the user name:

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    SP2-0157: unable to connect to ORACLE after 3 attempts, leaving SQL * more

    C:\Documents and Settings\swkulkarni >

    C:\Documents and Settings\swkulkarni >

    C:\Documents and Settings\swkulkarni >

    I have admin rights and I am also present in the dba group.

    When I try to connect with EZCONNECT chain it works.

    Thank you.

    You try to use the OS authentication to connect to the database. It is disabled. to connect to the database, you will need to login as "sys as sysdba" and provide the password.

    to do this, check your file sqlnet.ora for the sqlnet.authentication_services parameter

  • ORA-12514 and UNKNOWN status

    Hello

    cannot connect to DB on 10.2.0.3 on Win by:

    sqlplus user/password@MYDB

    ORA-12514: TNS:listener is not currently of service requested in connect

    Descriptor.

    lsnrctl status gives:

    Service 'MyDB.server.LOCAL' has 1 instance (s).

    Instance 'MYDB', status UNKNOWN, has 1 operation for this service...

    But tnsping MYDB is OK.

    I can communicate with:

    Set ORACLE_SID = MYDB

    sqlplus / as sysdba

    Any idea?

    Thank you.

    Thank you all.

    I registered the database. And seems nice work.

    Kind regards.

  • OGG-00868 ERROR attaching to the ASM ASM server: ORA-12514 (12514): TNS:lis

    I installed ggs and configured listener.ora and tnsnames.ora.

    I've done a first load, it worked.

    Then, I created an excerpt with the parameters:

    extract ext1
    SetEnv (ORACLE_SID = "PROD")
    SetEnv (ORACLE_HOME = ' / u01/oracle/orahome ")
    ggs_owner username, password xxxxx
    RMTHOST 10.12.12.12, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/product/11.2.0/ggs/dirdat/rt
    TRANLOGOPTIONS ASMUSER SYS@ASM,ASMPASSWORD xxxxx
    app.* table;

    The extract added with cannot connect to asm ora-12514 error.

    My Listener.ora look like this:
    (SID_DESC =
    (GLOBAL_DBNAME = ASM)
    (ORACLE_HOME = / u01/oracle/orahome)
    (SID_NAME = + ASM)
    )

    Tnsnames.ora look like this:
    ASM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxx) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = + ASM)
    )
    )

    That is why continue to occur?

    Direct connection ASM

    Create a user for the extraction process to directly access the ASM instance. Transfer this
    the user SYS or SYSDBA privileges in the case of the DSO. Oracle GoldenGate is not supported
    authentication of OS for the user of ASM.

    the asm and the DB share the same password file?

    SQL > SELECT name, value OF THE parameter $ v
    WHERE name = 'remote_login_passwordfile;

  • ORA-12514, TNS:listener is not currently of service request

    Forgive my potential stupid question... I'm trying to connect to oracle via sqldeveloper on oel5u6
    When I use SID connection works, but when I use the name of the Service (the windows of useon an i) it gives the error below why?
    Status: Failed - Test has failed: listener refused the connection with the following error: ORA-12514. TNS:listener is not currently of service requested in connect descriptor.

    We use SIDS on the boxes of linux and name service on windows boxes? enjoy the lights. TQ

    SqlDeveloper 3.0.04 OEL5u6
    Oracle 11 g 2 OEL5u6
    jdkpath=/usr/java/JDK1.6.0_30

    has given the details below:

    user: System
    password: system_password

    Host: hostname: oel5u6.localdomain (tried all other combos too either localhost, ip etc. address.)
    Port: 1521
    service name: orcl

    provided all the details... do some research forums too... still no luck

    * $ORACLE_HOME *.
    [oracle@oel5u6 bin]$ echo $ORACLE_HOME
    /home/oracle/app/oracle/product/11.2.0/dbhome_2
    * $ORACLE_SID *.
    [oracle@oel5u6 bin]$ echo $ORACLE_SID
    orcl
    Oracle instance started
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1707446272 bytes
    Fixed Size                  1336988 bytes
    Variable Size             989858148 bytes
    Database Buffers          704643072 bytes
    Redo Buffers               11608064 bytes
    Database mounted.
    Database opened.
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
    
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
        )
      )
    Listener.ora
    # listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = /home/oracle/app/oracle
    tnsping orcl
    [oracle@oel5u6 bin]$ $ORACLE_HOME/bin/tnsping orcl
    
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 24-DEC-2011 02:09:13
    
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    
    Used parameter files:
    /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (0 msec)
    lsnrctl status
    [oracle@oel5u6 bin]$ $ORACLE_HOME/bin/lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-DEC-2011 02:09:17
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    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                24-DEC-2011 01:51:45
    Uptime                    0 days 0 hr. 17 min. 31 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521)))
    Services Summary...
    Service "orcl.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Journal of SQL Developer through the terminal starting
    Oracle SQL Developer
     Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 
    
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /usr/java/jdk1.6.0_30
    Edited by: Oracler December 24, 2011 12:04 AM

    Edited by: Oracler December 24, 2011 12:43 AM

    What happens if you do sqlplus u/p@orcl on the Linux machine?

    It seems that the name of your service is actually orcl.localdomain. It is perhaps that the remote connection has no need of the domain name, but a local connection only.

    This isn't really a problem SQL Developer. You can get the best answers in the database - general forum.

  • Unable to solve the ORA-12514

    Hi all

    I am running Oracle 11 g under OEL under VirtualBox. I have a default listener LISTENING and created a new listener NEWLIST under/u01/oracle/net and set this directory as TNS_ADMIN value. I want to make a dynamic entry to the db with the listener. Here's my listener.ora and tnsnames.ora files and the output of the lsnrctl commands.

    Listener.ora
    NEWLIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 2525))
    )

    tnsnames.ora
    NEW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 2525))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = SERV)
    )
    )

    LSNRCTL STATUS NEWLIST
    -----------------------------------------
    [oracle@localhost net1] $ lsnrctl status newlist

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on January 13, 2011 00:24:59

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=127.0.0.1) (PORT 2525 =)))
    STATUS of the LISTENER
    ------------------------
    Alias newlist
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start date 12 January 2011 23:42:29
    Uptime 0 days 0 h 42 min 30 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/oracle/net1/listener.ora file
    The listener log file /U01/app/Oracle/diag/tnslsnr/localhost/NewList/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT 2525 =)))
    Summary of services...
    Service 'SERV.localdomain' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Service 'orcl.localdomain' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Service 'orclXDB.localdomain' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    The command completed successfully

    LSNRCTL SERVICES NEW
    ---------------------------------------
    [oracle@localhost net1] $ lsnrctl services

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on January 13, 2011 00:25:51

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=127.0.0.1) (PORT = 2525)) (CONNECT_DATA = (SERVICE_NAME = SERV)))
    Summary of services...
    Service 'SERV.localdomain' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Managers:
    "DEDICATED" set up: 0 denied: 0 status: ready
    LOCAL SERVER
    Service 'orcl.localdomain' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Managers:
    "DEDICATED" set up: 0 denied: 0 status: ready
    LOCAL SERVER
    Service 'orclXDB.localdomain' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Managers:
    "D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
    DISPATCHER < machine: localhost.localdomain, pid: 2389 >
    (ADDRESS = (PROTOCOL = tcp (PORT = 53741))(HOST=localhost.localdomain))
    The command completed successfully

    TNSPING NEW
    ---------------------
    [oracle@localhost net1] $ new tnsping

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on January 13, 2011 00:26:11

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 2525))) (CONNECT_DATA = (SERVICE_NAME = SERV)))
    OK (0 msec)

    SQLPLUS SYSTEM/ORACLE@NEW
    --------------------------------------------------
    [oracle@localhost net1] $ sqlplus system/oracle@new

    SQL * more: Production of release 11.2.0.1.0 Thu Jan 13 00:27:32 2011

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect
    descriptor of

    I had issued these commands after starting the listener to record the database dynamically with the listener
    ALTER system set service_name is serv scope = mΘmoire;.
    ALTER system set local_listener = NEW scope = mΘmoire;
    editing the system registry;

    Please advise advise what's wrong with that.

    OK, here is the demo that I promised

    First of all, let's take a look on my tnsnames.ora for reference. Note the entries for larry and moe differ only in the way specified SERVICE_NAME

    [oracle@vmlnx01 admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /ora00/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01.vmdomain)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = vlnxora1.mydomain)
        )
      )
    
    moe =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01.vmdomain)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = vlnxora1)
        )
      )
    

    Now we will connect to the database and look at the init key parms. Note the value of db_domain sucks and service_name is simple.

    [oracle@vmlnx01 admin]$ sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 13 20:42:34 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> show parameter db_domain
    
    NAME     TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    db_domain     string
    SQL> show parameter  service
    
    NAME     TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    service_names     string vlnxora1
    SQL> exit
    

    Now check the listner said. Note that the service names are simple and corresponding to the value of the init parm service_name.

    [oracle@vmlnx01 admin]$ lsnrctl status
    
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-JAN-2011 20:42:57
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vmlnx01.vmdomain)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date                13-JAN-2011 20:18:25
    Uptime                    0 days 0 hr. 24 min. 32 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora00/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File         /ora00/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vmlnx01.vmdomain)(PORT=1521)))
      (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...
    Service "vlnxora1" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    Service "vlnxora1XDB" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    Service "vlnxora1_XPT" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    

    Now let's try a couple of connections. Don't forget the two entries in my tnsnames file? Larry specified with the domain name, but that we do not know the listener.

    [oracle@vmlnx01 admin]$ sqlplus scott/tiger@larry
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 13 20:43:15 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    
    Enter user-name: 
    

    But moe used simple service name, known to the listener.

    [oracle@vmlnx01 admin]$ sqlplus scott/tiger@moe
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 13 20:43:25 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    

    We will now modify the init parms

    SQL> conn / as sysdba
    Connected.
    SQL> alter system set db_domain='mydomain' scope=spfile;
    
    System altered.
    
    SQL> startup force
    

    We have only changed the db_domain, but what do we see on the reboot? The value has been added to service_name, even if we have not changed that one.

    ORACLE instance started.
    
    Total System Global Area  285212672 bytes
    Fixed Size    1267068 bytes
    Variable Size   83888772 bytes
    Database Buffers  197132288 bytes
    Redo Buffers    2924544 bytes
    Database mounted.
    Database opened.
    SQL> show parameter db_domain
    
    NAME     TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    db_domain     string mydomain
    SQL> show parameter service
    
    NAME     TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    service_names     string vlnxora1.mydomain
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    

    And now what is the listener knows? Service names now reflect the new value of the init parm.

    [oracle@vmlnx01 admin]$ lsnrctl status
    
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-JAN-2011 20:44:25
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vmlnx01.vmdomain)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date                13-JAN-2011 20:18:25
    Uptime                    0 days 0 hr. 26 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora00/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File         /ora00/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vmlnx01.vmdomain)(PORT=1521)))
      (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...
    Service "vlnxora1.mydomain" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    Service "vlnxora1XDB.mydomain" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    Service "vlnxora1_XPT.mydomain" has 1 instance(s).
      Instance "vlnxora1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    

    NOW, what do we expect to happen when we specify larry and moe as net service names?

    [oracle@vmlnx01 admin]$ sqlplus scott/tiger@larry
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 13 20:44:37 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@vmlnx01 admin]$ sqlplus scott/tiger@moe
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 13 20:45:07 2011
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    
    Enter user-name:
    [oracle@vmlnx01 admin]$ exit
    logout
    

Maybe you are looking for