ORA-12514 and UNKNOWN status

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

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

Similar Messages

  • Ora-12514 and dns

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

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

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

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

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

  • Oracle 10g ora 12560 and ora 12514 errors

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

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

  • Oracle 10g XE and ORA-12514

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

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

  • RAC Node down and ORA-12514

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

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

  • 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-12505, TNS:listener and ORA-12514: TNS:listener

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

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

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

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

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

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

    Hi at all.... I'm a newbie with database oracle.,
    I have the follow problem:
    I installed Oracle Database 11g R2 XE on my guest operating system CentOS 6.5.
    I have changed  the hostname in my SO CentOS (where is installed oracle 11g R2 XE) after installation was completed successfully.
    -) Before and during installation the hostname was localhost.
    -) After installation I changed the hostname in VMCentOS
    From the moment I changed the hostname, nothing starts up automatically. In particular, the listener and the database instance does not starts up automatically.
    When I starts up the listener manually and I try to connect to database instance with SQLPLUS i get this error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    I think that the problem is due to the changed hostname because I, for testing and debugging purpose, re-installed a new OS CentOS virtual machine, re-installed oracle database 11g and  I have not got that problem. The database instance and the listener starts up automatically!
    Can any one tell me if maybe the problem is related to the hostname changed? ... and Why?
    P.S.: After changed the hostname I have also modified the listener.ora and the tnsnames.ora by modifying the HOST with the correct hostname.

    -) Output of command chkconfig (there isn't any line oracle-xe 0:off   1:off  2:on  3:on  4:on  5:on  6:off):
    [oracle@VMCentOS /]$ chkconfig
    NetworkManager     0:off    1:off    2:on    3:on    4:on    5:on    6:off
    abrt-ccpp          0:off    1:off    2:off    3:on    4:off    5:on    6:off
    abrtd              0:off    1:off    2:off    3:on    4:off    5:on    6:off
    acpid              0:off    1:off    2:on    3:on    4:on    5:on    6:off
    atd                0:off    1:off    2:off    3:on    4:on    5:on    6:off
    auditd             0:off    1:off    2:on    3:on    4:on    5:on    6:off
    blk-availability    0:off    1:on    2:on    3:on    4:on    5:on    6:off
    bluetooth          0:off    1:off    2:off    3:on    4:on    5:on    6:off
    cpuspeed           0:off    1:on    2:on    3:on    4:on    5:on    6:off
    crond              0:off    1:off    2:on    3:on    4:on    5:on    6:off
    cups               0:off    1:off    2:on    3:on    4:on    5:on    6:off
    dnsmasq            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    firstboot          0:off    1:off    2:off    3:on    4:off    5:on    6:off
    haldaemon          0:off    1:off    2:off    3:on    4:on    5:on    6:off
    htcacheclean       0:off    1:off    2:off    3:off    4:off    5:off    6:off
    httpd              0:off    1:off    2:off    3:off    4:off    5:off    6:off
    ip6tables          0:off    1:off    2:on    3:on    4:on    5:on    6:off
    iptables           0:off    1:off    2:on    3:on    4:on    5:on    6:off
    irqbalance         0:off    1:off    2:off    3:on    4:on    5:on    6:off
    jexec              0:off    1:on    2:on    3:on    4:on    5:on    6:off
    kdump              0:off    1:off    2:off    3:on    4:on    5:on    6:off
    lvm2-monitor       0:off    1:on    2:on    3:on    4:on    5:on    6:off
    mdmonitor          0:off    1:off    2:on    3:on    4:on    5:on    6:off
    messagebus         0:off    1:off    2:on    3:on    4:on    5:on    6:off
    netconsole         0:off    1:off    2:off    3:off    4:off    5:off    6:off
    netfs              0:off    1:off    2:off    3:on    4:on    5:on    6:off
    network            0:off    1:off    2:on    3:on    4:on    5:on    6:off
    ntpd               0:off    1:off    2:off    3:off    4:off    5:off    6:off
    ntpdate            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    portreserve        0:off    1:off    2:on    3:on    4:on    5:on    6:off
    postfix            0:off    1:off    2:on    3:on    4:on    5:on    6:off
    psacct             0:off    1:off    2:off    3:off    4:off    5:off    6:off
    quota_nld          0:off    1:off    2:off    3:off    4:off    5:off    6:off
    rdisc              0:off    1:off    2:off    3:off    4:off    5:off    6:off
    restorecond        0:off    1:off    2:off    3:off    4:off    5:off    6:off
    rngd               0:off    1:off    2:off    3:off    4:off    5:off    6:off
    rsyslog            0:off    1:off    2:on    3:on    4:on    5:on    6:off
    saslauthd          0:off    1:off    2:off    3:off    4:off    5:off    6:off
    smartd             0:off    1:off    2:off    3:off    4:off    5:off    6:off
    snmpd              0:off    1:off    2:off    3:off    4:off    5:off    6:off
    snmptrapd          0:off    1:off    2:off    3:off    4:off    5:off    6:off
    spice-vdagentd     0:off    1:off    2:off    3:off    4:off    5:on    6:off
    sshd               0:off    1:off    2:on    3:on    4:on    5:on    6:off
    sysstat            0:off    1:on    2:on    3:on    4:on    5:on    6:off
    udev-post          0:off    1:on    2:on    3:on    4:on    5:on    6:off
    vmware-tools       0:off    1:off    2:on    3:on    4:on    5:on    6:off
    vmware-tools-thinprint    0:off    1:off    2:on    3:on    4:on    5:on    6:off
    wdaemon            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    winbind            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    wpa_supplicant     0:off    1:off    2:off    3:off    4:off    5:off    6:off
    [oracle@VMCentOS /]$
    Moreover in /etc/sysconfig there isn't any file oracle-xe!!!
    At this point, I suspect that something in the installation I mistook.

  • SQLDeveloper, db links, and ora-12514

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

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

  • Intermittant "Unknown Status" for POA and MTA

    Hello,
    I'm getting intermittent "Unknown Status" in my GroupWise monitor for both my MTA and POA for a certain location. When I check the console for these two agents, they look just fine...
    The box running GroupWise monitor is on the same physical location as the MTA and POA that is having the issue.
    All of my other MTA and POA's at our primary remote location are just fine.
    I've already verified that the SNMP strings are correct - they are identical to the working MTAs and POAs...
    If there isn't a way to repair this issue, could someone please come up with a way from preventing "Unknown Status" messages from making it to my inbox? I've already tweaked the "Minimum Threshold level for notiifcation" to critical, yet it continues to "SPAM" me with "Unknown Status" messages...
    If there isn't a way to "tune it out" of monitor, then I guess I'll just go ahead and make a rule in my GroupWise client to "move to trash" any "unknown status" messages... At least that will allow me to see any notifications of real problems...
    Thanks! :)

    wspotkaeff,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • When I try to install "Addblock Plus", a pop-up box displays "Add-on downloading", and "unknown time remaining - 0 bytes (0 bytes / sec)". My local area connection status box shows that it is connected but that nothing is being received.

    I am using Firefos 9.0.1 under Windows XP. I use Avast anti-virus. My Add-ons bar is empty. I have not initiated the installation of any plug-ins. Downloads keeps no record of my attempts.

    Thank you for your interest mha007. This is an update on my evenings activities so far.
    I have done that trouble shooting with results, as follows:
    Started in safe mode
    In Tools/Options/Advanced/General, I unchecked "Use hardware acceleration when available"
    Clicked on Tools/Add-ons
    "Get add-ons" displayed "Loading" indefinitely
    All 5 Extensions are dis-abled: it suggested that I remove "Microsoft.net framework assistant 1.2.1" & "Test pilot 1.2".
    On "Microsoft.net framework assistant 1.2.1" I Clicked "Remove". It remained but with version 0.0.0.
    On "Test pilot 1.2" I clicked "Remove". It disappeared.
    The single Appearance "Default 9.0.1" is disabled
    None of the 16 plug-ins are disabled.
    I clicked on Add-ons and "Get add-ons" displayed "Loading"
    Several minutes later I found that, "Add-ons" had loaded.
    I clicked on "Most popular" and then on "Add to Firefox " within "Adblock plus"
    A pop-up box displayed "Add-on downloading", and "unknown time remaining - 0 bytes (0 bytes / sec)".
    Within a minute, a Firefox "Alert" pop-up window opened with the message: "An error occurred during a connection to www.mozilla.org:443 / The OCSP server experienced an internal error. / (Error code: sec_error_ocsp_server_error)"
    I bookmarked the "Most popular add-ons page"
    I closed Firefox and opened it again - not in safe mode.
    Clicked on Tools/Add-ons. "Get add-ons" displayed "Loading".
    In Extensions, on "Microsoft.net framework assistant 1.2.1" I Clicked Disable", and Restart Firefox
    I clicked on Tools/Add-ons. "Get add-ons" displayed "Loading". Message displayed "Connected to services.add-ons.mozilla.org. Waited.
    10 minutes later I opened a new tab and clicked on the "Most popular add-ons page" bookmark. Message displayed "Connected to add-ons.mozilla.org". Waited.
    15 minutes later, neither of the tabs had responded. I re-started firefox in safe mode
    I clicked on Tools/Add-ons. "Get add-ons" displayed "Loading". Message displayed "Connected to static-ssl-cdn.addons.mozill.net"
    Using the new tab from above which was not active on restart, I clicked on the "Most popular add-ons page" bookmark.
    The bookmarked page opened. I clicked on "Add to Firefox " within "Adblock plus"
    Again, a pop-up box displayed "Add-on downloading", and "unknown time remaining - 0 bytes (0 bytes / sec)". (No Alert this time).
    I don't know what to read into all of this. Any advice on what the next best thing to do would be appreciated.

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

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

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

  • 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

  • Payroll.xls file for Mid Year Go Live

    Hi All, I want to use the program the program HINUULK0 for uploading data into tables t558b and t558c. The SAP help documentation says that it provides a template payroll.xls for entering the data. I've not been able to spot this file yet. From where

  • Why could the "this" be used in the constructor of a class?

    We often see this kind of code below: public class myClass1 { private List list; public myClass1(String aStr){ this.list = new List(12, false); // The "this" is what confuses me. The code above seems nature. But the question is that the "this" means

  • Is there a limit in messanging?

    hi, I used to sms my fren alot and in 1 point i couldn't see my previous sms to him/frm him. its like starting a new conversation again. i lost lots of important details from him since all the previous sms gone. n im sure i nvr delete his sms. pls ad

  • How to make track work in both left and right speaker?

    i have an audio track with 2 speakers that each had a lav mic on them.  one was recorded into left channel and the other the right channel.  so of course when i play back each of their voices only come out of one speaker.  pretty new to audition so h

  • Image re-naming issue

    I wanted to make a site-wide image change.  I made a smaller image than the previous one and labeled it the same as the original image.  I uploaded it to my DW folder, "put" it and for some reason it's a mess now.  It appears that it reatined the siz