ORA-12162 TNS

Hi,
I am getting bellow error.Any idea?
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: "/as sysdba"
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Thanks,
Mk

[oracle@oracle ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:41 2009
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter user-name: / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name: [oracle@oracle ~]$
[oracle@oracle ~]$ export ORACLE_SID=DB112
[oracle@oracle ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:59 2009
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter user-name: / as sysdba
Connecte a :
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>

Similar Messages

  • OSX SQLPLUS error:ORA-12162:TNS:net service name is incorrectly specified

    Dear oracle community,
    just stepped today into oracle world.
    Installed OracleXE on my remote UBUNTU server.
    From the server, sqlplus works perfectly.
    From my client (followed this tutorial http://www.danilovizzarro.it/?p=10 ), i can connect via the
    sqlplus connection string: #sqlplus hr/PASS@HOSTipADDRESS/XE .
    But when i try just sqlplus and enter username/password later on, i get
    ORA-12162:TNS:net service name is incorrectly specified .
    My config:
    OS - MAC OS X LEOPARD 10.5.5
    #echo $ORACLE_SID
    XE
    #echo $ORACLE_HOME
    /opt/oracle/instantclient_10_2/
    #echo $TNS_ADMIN
    /opt/oracle/tns/
    # cat /opt/oracle/tns/tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOSTipADDRESS)(PORT = 1521))
    (CONNECT_DATA =
    (SID = XE)
    Any ideas - is it that sqlplus doesn't locate my tnsnames.ora file, or, maybe, there's an error in it?
    thanks for any ideas, recipies, suggestions :)
    enjoy the day,
    james

    If I understand you correctly you only give userid and password,but no connect string. That would be a LOCAL connection,which will not work,because you issue the command on the client,not the database server. For local connections you have to specify a value for ORACLE_SID. If you do that on your client (doesn't make sense , because you don't have a database here), you should see a message like 'Oracle not available'. If ORACLE_SID is not defined you get ORA-12162,which is a little misleading.
    Werner

  • Ora-12162 TNS: net service name is incorrectly specified

    hi ,
    i have installed oracle 11g on an AIX node and configured asm as well. when i su - oracle and give sid as +ASM am able to get in to sqlplus as ASM and oracle home is ASM.
    but when i give oracle_home to db i get the error. the thing is that these files were not created wen i installed oracle. i created them manually :(
    thanks in advance
    --------- listener.ora-------------
    # listener.ora.rac01 Network Configuration File: /u01/oracle/product/11.1.0.7/db
    /network/admin/listener.ora.rac01
    # Generated by Oracle configuration tools.
    LISTENER=
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rvn14)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.160.103.46)(PORT = 1521)(IP = FIRST))
    (SID_LIST_LISTENER=
    (SID_LIST=
    (SID_NAME=sys)
    ADR_BASE_LISTENER_RAC01=/u02
    ---------- sqlnet.ora------------
    names.default_domain = world
    names.directory_path = (TNSNAMES)
    trace_level_client = off
    tcp.nodelay = yes
    bequeath_detach = yes
    sqlnet.expire_time = 10
    sqlnet.inbound_connect_timeout = 0
    adr_base=/u02
    --------tnsnames.ora----------
    LISTENER=
    (DESCRIPTION=
    (ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)
    (Host=10.160.103.46)(Port=1521)))
    (CONNECT_DATA=(SID=sys)

    Hi;
    Please see:
    ORA-12162 When Logging in Using BEQ (no tnsnames alias) [ID 312348.1]
    Similar issue also mention before here. Please see:
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ora-12162+&objID=c18&dateRange=all&userID=&numResults=15
    Regard
    Helios

  • 805 SQLPlus to Sun 7.3.4: ORA-12162

    Hi,
    I have installed Net8 and SQL*Plus from 8.0.5 on SuSE Linux 6.0.
    Using SQL*Plus from Linux to a Server V7.3.4.2 on Win NT works
    OK, but using it against a Server V7.3.4.0.1 on Solaris 2.6
    gives the error
    ORA-12162: TNS: service name is incorrectly specified
    The listener logfile on the Solaris server shows that tnsping
    and the connection startup from SQL*Plus go through.
    The connection string traced by the listener looks the same
    as when connecting to the same instance from a HP-UX client.
    The Linux client logfile cli.trc contains the following error
    trace:
    nioqbr: entry
    nioqbr: state = normal (0)
    nioqsm: entry
    nioqsm: Sending break packet (1)...
    nsdo: entry
    nsdo: cid=0, opcode=67, bl=1, what=18, uflgs=0x100, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=8, flg=0x420d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2047
    nsdo: sending ATTN
    nsdo: transport write error
    nserror: entry
    nserror: nsres: id=0, op=67, ns=12571, ns2=12560; nt[0]=504,
    nt[1]=0, nt[2]=0
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqsm: send-break: failed to send OOB break...
    nioqper: error from send-marker
    nioqper: nr err code: 0
    nioqper: ns main err code: 12571
    nioqper: ns (2) err code: 12560
    nioqper: nt main err code: 504
    nioqper: nt (2) err code: 0
    nioqper: nt OS err code: 0
    nioqer: entry
    nioqer: incoming err = 12152
    niqme: entry
    niqme: reporting ns (2) error: (12571) as rdbms err (12571)
    niqme: exit
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 12571
    nioqer: exit
    nioqbr: returning 12571
    nioqbr: exit
    nioqds: entry
    nioqds: disconnecting...
    The V7 documentation lists 12571 as an internal error when
    sending the packet, but gives no hint for a fix.
    (The Connection from Linux Net8 to a V7 Server on HP-UX fails
    with the same message.)
    Can anybody tell me the fix for this?
    Thank you,
    Mathias
    null

    I can confirm that the "disable_oob = ON" suggestion works for me
    as well. At last!
    /jde
    Anwar (guest) wrote:
    : Try adding
    : disable_oob = ON
    : to your sqlnet.ora. Works for me.
    : Anwar.
    : Mathias Naumann (guest) wrote:
    : : Hi,
    : : I have installed Net8 and SQL*Plus from 8.0.5 on SuSE Linux
    : 6.0.
    : : Using SQL*Plus from Linux to a Server V7.3.4.2 on Win NT
    works
    : : OK, but using it against a Server V7.3.4.0.1 on Solaris 2.6
    : : gives the error
    : : ORA-12162: TNS: service name is incorrectly specified
    : : The listener logfile on the Solaris server shows that tnsping
    : : and the connection startup from SQL*Plus go through.
    : : The connection string traced by the listener looks the same
    : : as when connecting to the same instance from a HP-UX client.
    : : The Linux client logfile cli.trc contains the following error
    : : trace:
    : : nioqbr: entry
    : : nioqbr: state = normal (0)
    : : nioqsm: entry
    : : nioqsm: Sending break packet (1)...
    : : nsdo: entry
    : : nsdo: cid=0, opcode=67, bl=1, what=18, uflgs=0x100,
    cflgs=0x3
    : : nsdo: rank=64, nsctxrnk=0
    : : nsdo: nsctx: state=8, flg=0x420d, mvd=0
    : : nsdo: gtn=127, gtc=127, ptn=10, ptc=2047
    : : nsdo: sending ATTN
    : : nsdo: transport write error
    : : nserror: entry
    : : nserror: nsres: id=0, op=67, ns=12571, ns2=12560; nt[0]=504,
    : : nt[1]=0, nt[2]=0
    : : nsdo: nsctxrnk=0
    : : nsdo: error exit
    : : nioqsm: send-break: failed to send OOB break...
    : : nioqper: error from send-marker
    : : nioqper: nr err code: 0
    : : nioqper: ns main err code: 12571
    : : nioqper: ns (2) err code: 12560
    : : nioqper: nt main err code: 504
    : : nioqper: nt (2) err code: 0
    : : nioqper: nt OS err code: 0
    : : nioqer: entry
    : : nioqer: incoming err = 12152
    : : niqme: entry
    : : niqme: reporting ns (2) error: (12571) as rdbms err (12571)
    : : niqme: exit
    : : nioqce: entry
    : : nioqce: exit
    : : nioqer: returning err = 12571
    : : nioqer: exit
    : : nioqbr: returning 12571
    : : nioqbr: exit
    : : nioqds: entry
    : : nioqds: disconnecting...
    : : The V7 documentation lists 12571 as an internal error when
    : : sending the packet, but gives no hint for a fix.
    : : (The Connection from Linux Net8 to a V7 Server on HP-UX fails
    : : with the same message.)
    : : Can anybody tell me the fix for this?
    : : Thank you,
    : : Mathias
    null

  • Error ORA-12162 with sqlplus

    Hi everybody,
    When I open sqlplus64, I take the user-name ans password and I have the error message
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    But while processing the user-name and password are the same I made ...
    I don't understand.
    Best regards,
    Transact
    Edited by: transact on 4 déc. 2010 13:36

    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    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 optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • Report error : REP-771: and ORA-12162:

    Hi , i run report and it terminated with error message
    The report terminated with error:
    REP-771: A fatal PL/SQL error occurred in program unit afterpform.
    ORA-12162: TNS:net service name is incorrectly specified
    does anyone know how to fix this issue
    thx

    ORA-12162: TNS:net service name is incorrectly specified
    $ oerr ora 12162
    12162, 00000, "TNS:net service name is incorrectly specified"
    // *Cause:  The connect descriptor corresponding to the net service name in
    // TNSNAMES.ORA or in the directory server (Oracle Internet Directory) is
    // incorrectly specified.
    // *Action: If using local naming make sure there are no syntax errors in
    // the corresponding connect descriptor in the TNSNAMES.ORA file. If using
    // directory naming check the information provided through the administration
    // used for directory naming.
    $How do you connect to the database ? Did you try connecting from Sql*Plus using the same connection string ? Result ?

  • Error while trying to retrieve text for error ORA-12162

    I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
    I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
    It says check privileges, but when I try
    GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
    Password:
    ERROR: Did not recognize parameter argument.
    Don't work this way, not the other way mentioned below
    GGSCI (XXXXXX) 2> dblogin userid sys
    Password:
    ERROR: Unable to connect to database using user sys. Please check privileges.
    Error while trying to retrieve text for error ORA-12162.
    I can do a normal Login using SQLPLUS but Not through GGate :(
    Please guide me

    Lother wrote:
    I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
    I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
    It says check privileges, but when I try
    GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
    Password:
    ERROR: Did not recognize parameter argument.
    Don't work this way, not the other way mentioned below
    GGSCI (XXXXXX) 2> dblogin userid sys
    Password:
    ERROR: Unable to connect to database using user sys. Please check privileges.
    Error while trying to retrieve text for error ORA-12162.
    I can do a normal Login using SQLPLUS but Not through GGate :(
    Please guide mei wouldnt use SYS in the first place and rather create a new user to work with GG, but try this one:
    dblogin userid sys, password <password> sysdba

  • 10.2.0.1 installation problem on redhat 4 (ORA-12547: TNS:lost contact)

    Hi,
    I tried to install Oracle 10.2.0.1 on a RedHat 4 box. Both, Oracle and RedHat are 64 bit versions. The installation was fine but the database creation (with dbca) could not create the database because of this error: ORA-12547: TNS:lost contact
    I can not find any errors in the installation log. Only this warnings in the make.log:
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmccol.a(nmccole.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuft.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufw.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufu.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(snmcbufm.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuff.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(nmadbg.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(snmadbg.o)' is incompatible with i386:x86-64 output
    mv -f /opt/oracle/oracle/product/10.2.0/db_1/bin/nmccollector /opt/oracle/oracle/product/10.2.0/db_1/bin/nmccollector0
    mv /opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/nmccollector /opt/oracle/oracle/product/10.2.0/db_1/bin/
    Has anyone an idea? Or a hint how to encircle the problem?
    Best regards,
    Dirk

    If you execute "uname -mpi" and output value is x86_64 then you didn't install all required packages.
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 outputAccording to this message you are missing some 64bit package.
    To find the missing package execute following command to list installed packages and post the output:
    rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|gcc|libstdc'|sortMessage was edited by:
    Ivan Kartik
    Too late... :-(

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

    While connecting "sqlplus SYSADM/SYSADM@HCM" I am getting the below error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Installation background:
    Windows 7 l(64-bit) laptop.
    Created linux virtualbox to installl peoplesoft VM templates.
    so far installed: Oracle11gR2.vdi and HCMDB.vdi on the linux virtualbox.
    Followed the steps exactly what it is in the link below: Got the above error in page 4 of the link at connecting to database via sqlplus.
    http://bloggingaboutoracleapplications.org/running-oracle-vm-templates-oracle-enterprise-linux-guide-part-1-7/
    Below provided initHCM.ora, tnsnames.ora, listerner.ora and some responses I tried. I could not figure out what causing the issue even after researching in web.
    Your help would be highly appreciated.
    tnsnames.ora:
    =============
    # tnsnames.ora Network Configuration File:
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM)
    Listener.ora:
    =============
    # listener.ora Network Configuration File:
    /u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hcmdb91)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    initHCM.ora:
    ============
    DB_FILES =256
    OPEN_CURSORS = 1000
    db_block_size = 8192
    remote_login_passwordfile = NONE
    undo_tablespace=PSUNDOTS
    NLS_LENGTH_SEMANTICS=CHAR
    # Cache and I/O
    #db_block_size=
    db_file_multiblock_read_count=16
    # Database Identification
    # db_domain=us.oracle.com
    # db_name=
    # Diagnostics and Statistics
    #background_dump_dest=
    #core_dump_dest=
    #user_dump_dest=
    # Job Queues
    job_queue_processes=10
    # Processes and Sessions
    processes=150
    # SGA Memory
    sga_target=287309824
    # Security and Auditing
    #audit_file_dest=
    #remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=95420416
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    #undo_tablespace=
    unnestsubquery=false
    # Miscellaneous
    compatible=11.2.0.2.0
    control_files=(/u01/app/oracle/oradata/HCM/control01.ctl)
    DB_NAME=HCM
    [oracle@hcmdb91 ~]$ tnsping hcm
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
    07:40:37
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
    hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
    HCM)))
    OK (20 msec)
    [oracle@hcmdb91 ~]$
    [oracle@hcmdb91 ~]$ tnsping hcm
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013
    07:40:37
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
    hcmdb91)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
    HCM)))
    OK (20 msec)
    [oracle@hcmdb91 ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:41:32
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    [oracle@hcmdb91 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:20
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 28-MAR-2013 07:29:21
    Uptime 0 days 0 hr. 13 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File
    /u01/app/oracle/product/11.2.0.x/db_1/network/admin/listener.ora
    Listener Log File
    /u01/app/oracle/product/11.2.0.x/db_1/log/diag/tnslsnr/hcmdb91/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hcmdb91.example.com
    )(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    The listener supports no services
    The command completed successfully
    [oracle@hcmdb91 ~]$ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAR-2013 07:42:44
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcmdb91)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@hcmdb91 ~]$
    [oracle@hcmdb91 ~]$ sqlplus SYSADM/SYSADM@HCM
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 28 07:44:25 2013
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in
    connect descriptor
    My guess is that the database service "HCM" is not up and running but not sure how to make up and running. Even I could not find it listed in the linux services list.
    Note: Able to login sqlplus using "sqlplus sys/sys as sysdba" but failing to access database table as "select * from PSRECDEFN;"
    thanks
    Espii.
    Edited by: 995437 on Mar 28, 2013 6:52 AM
    Edited by: 995437 on Mar 28, 2013 6:59 AM

    Hi Nicolas,
    I have no luck and the error still persists.
    I have set the "export ORACLE_SID=HCM" from root user and oracle user too.
    I guess, I have already loaded database when I ran the "cd /opt/oracle/psft/vm
    ./oraclevm-template.sh"
    The outcome of the above script as similar as below:
    Creating
    ovm_configure_pre
    CreateVirtualEnvironment
    /u01/scripts/db-reconfig.sh: line 238: ovm_set_password: command not found
    /u01/scripts/db-reconfig.sh: line 239: ovm_configure_network: command not found
    INFO:
    Starting Oracle database reconfiguration.
    Oracle Database Configuration
    This will configure on-boot properties of Oracle Database.
    The following questions will determine whether the database should be
    starting upon system boot, the ports it will use.
    Press <Enter> to accept the defaults.
    Do you want to relink binaries? (y/n) [n] y
    Specify a port that will be used for the database listener [1521]:
    Do you want Oracle Database to be started on boot (y/n) [y]:y
    Wrote to /etc/sysconfig/oracle11g
    Relinking Oracle Binaries...
    Oracle Relinking Completed Successfully
    Logs: /home/oracle/relink.log
    Running orainstRoot.sh and root.sh...
    set 2GB tmpfs
    Enabling Oracle Database service
    Configuration Completed Successfully.
    Enter the name of the database SID [TESTDB]:HCM
    ORACLE instance started.
    Total System Global Area 288104448 bytes
    Fixed Size 2225832 bytes
    Variable Size 104859992 bytes
    Database Buffers 176160768 bytes
    Redo Buffers 4857856 bytes
    Control file created.
    Database altered.
    Tablespace altered.
    Tablespace altered.
    Tablespace altered.
    1 row updated.
    160 rows updated.
    Commit complete.
    Kumar - I have found no sqlnet.ora file exist in the $ORACLE_HOME/NETWORK/ADMIN
    Edited by: 995437 on Mar 28, 2013 9:15 AM

  • DNS Set Up system throw as ORA-12154; TNS :could not resolve the connect id

    Hi,
    While i'm creating DNS set up system throws below message
    unable to connect
    SQLState=08004
    DNS Set Up for instantclient(win32-10.2.0.4) system throw as ORA-12154; TNS :could not resolve the connect identified specified.
    operationg system:xp
    dir path:C:\Oracle\instantclient10_2
    TNSNAMES.ORA(C:\Oracle\instantclient10_2\NetWork\ADMIN) Contants
    YourTNSName =sankar
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT =1521))
    (CONNECT_DATA =
    (SID =sankar)
    (SERVER = DEDICATED)
    dir contains:
    sqresus.dll,
    sqresja.dll
    sqoras32.dll
    sqora32.dll
    oraociei10.dll
    oraocci10.dll
    orannzsbb10.dll
    ojdbc14.jar
    ocijdbc10.dll
    ociw32.dll
    oci.dll
    classes12.jar

    user7197586 wrote:
    Hi
    I have been created one DBLink it's created but when i am trying to access the data through the link it's raise error as
    "ORA-12154: TNS:could not resolve the connect identifier specified"
    CREATE
    PUBLIC DATABASE LINK
    Vrd_tcplink
    CONNECT TO
    "SAPVRD"
    IDENTIFIED BY
    "manager123"
    USING
    'VRD_TCP.WORLD'
    created this above dblink
    Kindly Suggest to wau out.
    Regards,
    Sachin
    When using a dblink, the database with the link is acting as a client to the remote database ... exactly like sqlplus running on the db server.
    read: http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ ora-12154tns-03505

  • Unable to create database due to ORA-12560, TNS protocol adapter error

    Hello,
    I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
    D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12560: TNS:protocol adapter errorEcho ON
    SVRMGR> connect INTERNAL/manager
    ORA-12560: TNS:protocol adapter error
    SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
    LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
    My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
    I've enabled tracing, and my client trace file is:
    --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is d:\trace\client_trace.log_2084_9.trc
    New trace level is 6
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    --- PARAMETER SOURCE INFORMATION FOLLOWS ---
    Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
    Parameter source loaded successfully
    Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
    Parameter source was not loaded
    -> PARAMETER TABLE LOAD RESULTS FOLLOW <-
    Successful parameter table load
    -> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
    TRACE_DIRECTORY_SERVER = d:\trace
    TRACE_DIRECTORY_CLIENT = d:\trace
    NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    TRACE_UNIQUE_CLIENT = on
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    --- PARAMETER SOURCE INFORMATION ENDS ---
    --- LOG CONFIGURATION INFORMATION FOLLOWS ---
    Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
    Log stream validation not requested
    --- LOG CONFIGURATION INFORMATION ENDS ---
    nigini: entry
    nigini: Count in NI global area now: 1
    nigini: Count in NI global area now: 1
    nrigbi: entry
    nrigbni: entry
    nrigbni: Unable to get data from navigation file tnsnav.ora
    nrigbni: exit
    nrigbi: exit
    nigini: exit
    niqname: Hst is already an NVstring.
    niqname: Inserting CID.
    niotns: entry
    niotns: niotns: setting up interrupt handler...
    niotns: Not trying to enable dead connection detection.
    niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
    nsmal: 140 bytes at 0x12493f0
    nscall: connecting...
    nladini: entry
    nladini: exit
    nladget: entry
    nladget: exit
    nlpcaini: entry
    nlpcaini: prg =
    nlpcaini: arg[0] =
    nlpcaini: arg[1] =
    nlpcaini: exit
    nsmal: 420 bytes at 0x12542f0
    nsmal: 1712 bytes at 0x12572f0
    nsopen: opening transport...
    ntpcon: entry
    ntpcon: toc = 1
    sntpcall: entry
    snlpcss: entry
    ntpcon: exit
    nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    nsopen: unable to open transport
    nsmfr: 1712 bytes at 0x12572f0
    nsmfr: 420 bytes at 0x12542f0
    nladget: entry
    nladget: exit
    nsmfr: 140 bytes at 0x12493f0
    nladtrm: entry
    nladtrm: exit
    nioqper: error from nscall
    nioqper: nr err code: 0
    nioqper: ns main err code: 12560
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 530
    nioqper: nt (2) err code: 2
    nioqper: nt OS err code: 0
    niomapnserror: entry
    niqme: entry
    niqme: reporting NS-12560 error as ORA-12560
    niqme: exit
    niomapnserror: returning error 12560
    niomapnserror: exit
    niotns: Couldn't connect, returning 12560
    niotns: exit
    nigtrm: Count in the NI global area is now 0
    nnfgdei: entry
    nrigbd: entry
    nrigbd: exit
    nigtrm: Count in the NL global area is now 0
    My tnsnames, listener and sqlnet.ora files are very simple:
    ## BEGIN TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MTERM62 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mterm62)
    (INSTANCE_NAME = mterm62)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = mterm62)
    (PRESENTATION = http://admin)
    # LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\ora81)
    (SID_NAME = mterm62)
    TRACE_LEVEL_LISTENER = ADMIN
    # SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    TRACE_DIRECTORY_CLIENT = d:\trace
    TRACE_UNIQUE_CLIENT = on
    TRACE_DIRECTORY_SERVER = d:\trace
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
    Any help would be greatly appreciated.
    regards,
    Tarisa.

    hi,
    thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
    regards,
    Tarisa.

  • Repeated 'ORA-12547: TNS: lost contact' messages after installing Oracle 10

    Hi,
    I installed Oracle 10g on Redhat ES 3, and the install went well, but when I try and interact with the server I get the message:
    ORA-12547: TNS: lost contact
    For example, if I use the Database Configuration Assistant to attempt to create a database, I will see the above message when it begins the database creation process, or if I try to interact with the Oracle server using sqlplus I will see the above message after each command entered.
    I had recently tried to install Oracle 8.1.7 on the same box, but abandoned that after deciding that the effort required to link Oracle 8 on RHES3 just wasn't worth it.
    I have been told that my previous partial installation of Oracle 8 may be the cause of the problem, and have been advised to uninstall Oracle 8, uninstall Oracle 10g, and reinstall Oracle 10g. I find it hard to believe that it would require such an action to solve this problem. Are there any configuration changes I can make to resolve it?
    My problem sounds like it may be similar problem to a recent posting by Hugo Ferrer - but my Spanish isn't good enough to fully understand Hugo's problem. Anyways, I am new to Oracle, so thanks for any help with this problem.
    Colm.

    My last message asking for a grater degree of specificity was not overly specific, hence I am posting the kernel parms that I have set with the hopes that you will spot one that I set improperly or one that I neglected to set.
    [root@awyr ~]# cat /proc/sys/kernel/shmmax
    2147483648
    [root@awyr ~]# cat /proc/sys/kernel/shmmni
    4096
    [root@awyr ~]# cat /proc/sys/kernel/shmall
    2097152
    [root@awyr ~]# ipcs -lm |grep "min seg size"
    min seg size (bytes) = 1
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $1}'
    250
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $2}'
    32000
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $3}'
    100
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $4}'
    128
    [root@awyr ~]# cat /proc/sys/fs/file-max
    65536
    [root@awyr ~]# cat /proc/sys/net/ipv4/ip_local_port_range
    1024 65000
    [oracle@awyr Desktop]$ ulimit -n
    63536
    [oracle@awyr Desktop]$ ulimit -u
    4091
    [oracle@awyr Desktop]$ ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 63536
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 4091
    virtual memory (kbytes, -v) unlimited
    from sysctl -a
    my fs.file-max = 65536
    in my limits.conf I added:
    oracle soft nofile 4096
    oracle hard nofile 63536
    in my (1) /etc/pam.d/system-auth (2) /etc/pam.d/sshd (3) /etc/pam.d/su (4) /etc/pam.d/login
    files I added:
    session required pam_limits.so
    and verified that it exists
    in my limits.conf I added
    oracle soft nproc 2047
    oracle hard nproc 16384
    my /etc/oratab has:
    orcl:/usr/local/oracle/app/oracle/oracle/product/10.2.0/db_1:N
    I tried to change the N at the end to a Y but to no avail
    my /etc/oraInst.loc has:
    inventory_loc=/usr/local/oracle/app/oracle/oraInventory
    inst_group=oinstall
    Thanks again for your atention
    Richard

  • ORA-12547 tns lost contact while creating 11gr2 database using dbca

    Hi All,
    I am installing oracle 11gr2 rac on centos 4. Grid infrastrucure and oracle home is successfully installed.
    When i try to create database using dbca during that time i am getting an error that PRCR-1079: Failed to start resource ora.racdb.db
    ORA-12547: TNS lost contact.
    when i check the database on node 1, Its running fine.
    However its giving me an error on the second node.
    on Node 1
    [oracle@rac1 dbs]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:31:55 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> select instance_name , host_name from v$instance;
    INSTANCE_NAME
    HOST_NAME
    racdb1
    rac1.oracle.com
    on node 2:
    [oracle@rac2 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:33:05 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    I tried to installed to many a time but no luck.
    Please help me on this.
    Your assistance in this regards is much appreciated.
    Thanks in advance.

    Do you have a support.oracle.com User Account?
    If yes search there for TNS-12547 and you will get a huge list of possible root causes.
    Just to name a few (which you can check - also compare with your first node):
    Permission oracle executable
    Kernel Parameter
    Environment variables
    etc.etc.
    Regards
    Sebastian

  • "ORA-12535:TNS:operation timed out" error

    hi,
    I want to connect to my oracle server.If I try to connect my client means"ORA-12535:TNS:operation timed out" error is shown.What should i do to the rectify this problem.Pls give me a solution.
    Thanks in advance.
    -reg
    Lakshman.

    We are using wiondows XP and oracle 8i.
    I am able to ping the host where the database resides.
    this problem occurs only when we try to connect this server form the client.I able to connect other servers without any problem.
    I able to establish local connections.
    I am trying tnsping database service.
    client and the server are in same LAN only.
    Pls give me a solution.
    Thanks in advance.
    -regs,
    Lakshman.

  • ORA-12535: TNS:operation timed out (during DBLINK testing)

    Hi,
    I have created a database link using the follwoing script :
    create database link UIIODS.WORLD
    connect to <user_id>
    identified by <pwd>
    using '(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
    (CONNECT_DATA =
    (SERVICE_NAME = uiiods)
    But when I am executing the sql : select * from [email protected]
    it gives the error : ORA-12535: TNS:operation timed out.
    I am trying to create the database link from a 9.2.0.5 database server and sid of this service_name is R2SRVR5.world.
    Please find below TNS,sqlnet and listener entries of the server R2SRVR5.WORLD :
    R2SRVR5_DBSRC.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 157.227.6.39)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = R2SRVR5.WORLD)
    UIIODS.PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
    (CONNECT_DATA =
    (SERVICE_NAME = uiiods)
    # SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # NAMES.DEFAULT_DOMAIN = tcskolkata.co.in
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    # LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tcs061243)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = R2SRVR5.WORLD)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = R2SRVR5)
    (SID_DESC =
    (GLOBAL_DBNAME = dbsrc.world)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = dbsrc)
    (SID_DESC =
    (GLOBAL_DBNAME = NEWDBSRC.WORLD)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = NEWDBSRC)
    PING and TNSPING working fine,but DBLINK is not working.
    Please provide a solution.
    Thanks in Advance,
    Koushik

    Hi,
    Sorry for late response. Please find below the timing for TNSPING.
    C:\>ping 147.147.3.41
    Pinging 147.147.3.41 with 32 bytes of data:
    Reply from 147.147.3.41: bytes=32 time=246ms TTL=247
    Reply from 147.147.3.41: bytes=32 time=242ms TTL=247
    Reply from 147.147.3.41: bytes=32 time=237ms TTL=247
    Reply from 147.147.3.41: bytes=32 time=227ms TTL=247
    Ping statistics for 147.147.3.41:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 227ms, Maximum = 246ms, Average = 238ms
    C:\>tnsping 147.147.3.41
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:03:49
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle10g_Home\network\admin\sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=147.147.3.41))(ADDRESS=(PROTOCOL=TCP)(HOST=147.147.3.41)(PORT=1521)))
    OK (700 msec)
    C:\>tnsping uiiods.prod
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:04:02
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle10g_Home\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))) (CONNECT_DATA = (SERVICE_NAME = uiiods)))
    OK (580 msec)
    Please suggest any solution.
    Regards,
    Koushik

Maybe you are looking for