problem with tnsnames.ora

my oracle 11g on GNU / linux.
I have 10 entries in my tnsnames.ora
I recently added a new entry.
With regard to my knowledge everything is correct.
But, I get the error TNS-12533.

The other good thing is that it works well on Win machine.

Can one can fix it. Please guys...

the entry is:

xxx =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = xxx.xxx .net)(PORT=1521))

(CONNECT_DATA =

(SERVER = SHARED)

(SID = xxx111)

)

)

Published by: user6476691 on November 6, 2008 13:52

Published by: user6476691 on November 6, 2008 13:58

12533, 00000, "settings of ADDRESS TNS:illegal.
* Cause: An illegal game of the protocol adaptor parameters has been specified. In
some cases, this error is returned when a connection cannot be made to the
Transport Protocol.
* Action: Verify that the destination is accessible using the specified
Protocol. Check that the settings in the section ADDRESS
TNSNAMES. ORA. Legal ADDRESS formats of parameter can be found in the
Oracle operating system specific for your platform documentation.
Protocols to resolve names to the transport layer (for example the object DECnet
the names) are vulnerable to this error if it is not correctly configured or names are
misspelled.

Looks like there are a few problems with the entry of tns way is defined in the tnsnames.ora file. Maybe it can be due to new lines.

Remove line breaks or add the following entry

RAC = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = xxx.xxx .net)(PORT=1521)) (CONNECT_DATA = (SERVER = SHARED) (SID = xxx111)))

Tags: Database

Similar Questions

  • Problem with error ORA-06502: PL/SQL: numeric string or the error value

    Hello

    I use a loop for the coil just out of data using 'dbms_output.put_line' and I get this error after a few records. I've been using and it happens at a different interval. He would have to do with the length of the question, I am trying to spool? Thank you.

    ORA-06502: PL/SQL: numeric string or the error value

    SD wrote:
    Hello

    I use a loop for the coil just out of data using 'dbms_output.put_line' and I get this error after a few records. I've been using and it happens at a different interval. He would have to do with the length of the question, I am trying to spool? Thank you.

    ORA-06502: PL/SQL: numeric string or the error value

    Yes, it's a mistake to dependent data.

    Manage: SD
    Status level: Beginner
    Join date: November 21, 2001
    Messages total: 289
    Total Questions: 189 (183 pending)

    Why wasting you time here when you get rarely answers your questions?

  • EM does not create entry tnsnames.ora with service name orcl11gr2

    Hi all

    I am trying to create a service network with EM Database Control, Net Services Administration link name. On the service name field, under the "Edit Net Service Name" screen, I type in orcl11gr2, and it throws the following error:

    Validation error
    Review and correct the following errors, and then try again:
    Service name - specify a valid service name.

    I wonder what is the additional validation that checks EM. I guess it's to check the number of characters to 8 characters or less.

    In addition, because of this additional validation that is in MS, all entry tnsnames.ora with service name = orcl11gr2, I won't be able to use 'EM to change, as I have the same error.

    But why Oracle implements this additional validation when the same validation is not implemented on other Oracle tools? For example:
    1 dbca allows me to create a database with instance_name greater than 8 characters, and the results of the initialization parameters will be as follows:
    db_name = orcl11gr - truncated to 8 characters
    instance_name = orcl11gr2
    db_unique_name = orcl11gr2
    noms_service = orcl11gr2

    2 oracle Net Manager supports the name of orcl11gr2. The name of the created Service Net, I have no problem connecting to the database.
    3. name of the service orcl11gr2 of listener support

    I am using Oracle 11 g R2 (11.2.0.1.0) for Microsoft Windows (x 64), running on Windows 7.

    Its a known issue fixed 12gc Ms.

    concerning
    Bennett

  • Problem with Siebel tool ORA-12154

    Hello

    This is my problem:

    I installed the Siebel tool in Windows XP successfully, but when trying to connect to mark me the following error:

    An internall error appeared in the Siebel application authentication subsystem. Please contact your system administrator for assistance. (SBL-DAT-00565)

    If I test the ODBC connection that finished with this error:

    [DataDirect] [ODBC Oracle driver] [Oracle] ORA-12154: Tns: could not resolve the connect identifier specified

    I can connect to the database using SQL more smoothly.
    My Datababase is 'Oracle Database 10g Release 10.2.0.1.0'.
    My Oracle Client is 10.2.0.1.0

    My tnsnames.ora contain the lines

    TEST. WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVER01)(PORT = 1521))
    (CONNECT_DATA = (SID = TEST))
    )

    Any idea, what the problem?

    Please, help me.

    You TNS_NAMES (tnsnames.ora) and path (for binary oracle) defined?

    Could there be a second tnsnames.ora from a previous client installation / failed and ODBC is not pointing to the wrong file?

  • Tnsnames.ora (ORA-12162) Configuration problems

    Hi all

    I have a database of 10.2.0.5 on a RedHat Linux box that I can use locally. I mean, I can connect to sqlplus using "connect scott/tiger".
    * $ export ORACLE_SID = MASTER *.
    * $ sqlplus /nolog *.
    * > connect scott / tiger *.
    * > Display the service_name parameter *.
    service name string MASTER.myhost.mydomain
    * > Display the db_name parameter *.
    db_name string MASTER

    Then, I wrote a listener.ora in my $ORACLE_HOME/network/admin like this:

    LISTENER_MASTER =
    *(DESCRIPTION =*)
    (* (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain) (PORT = 1522))) *.

    SID_LIST_LISTENER_MASTER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = Master.myhost.mydomain) *.
    * (ORACLE_HOME = /Oracle/product/10.2)*
    *(SID_NAME = MASTER))) *.

    Has successfully started lsnrctl start and netstat auditor shows me that the box is the listening port 1522, belonged to tnslsnr.

    On the same machine (for testing purposes), I wrote this tnsnames.ora in $ORACLE_HOME/network/admin like this:

    MASTER =
    *(DESCRIPTION=*)
    * (ADDRESS = (PROTOCOL = tcp (PORT = 1522))(HOST=myhost.mydomain)) *.
    * (CONNECT_DATA =(service_name=Master.myhost.mydomain))) *.

    Unfortunately, I am unable to connect to my MASTER database:
    * $ ORACLE_SID unset *.
    * $ sqlplus /nolog *.
    * > connect to scott/tiger@MASTER*
    ORA-12162: TNS service name: net is incorrectly specified

    A trace of the "sqlplus" system process shows me that it is the correct reading of the tnsnames.ora file, I have no TNS_ADMIN environment variable (I also tried to put in my $ORACLE_HOME/network/admin).

    The curious thing, is when I tried to launch netmgr, this interface allows to test a tnsnames entry. So I did, and he told me I logged successfully while I just load the configuration of my own (I mean, it uses the tnsnames.ora I wrote, and I even tried to crush him of netmgr without success)

    Another curious, tcpdump shows me no traffic on port 1522...

    I turned around many sites and checked my files .ora ten times... so if there are clues...
    Thank you!

    Salvation;

    Please see:
    ORA-12162 connecting using DOB (no alias tnsnames) [ID 312348.1]

    Respect of
    HELIOS

  • Java Plugin problem with 11.1.2.2.0

    Try to run the form Builder on my 64 bit Windows 7 box.

    When I try to run a, he always uses Firefox and I always get the message "a plugin is required to view this content.

    FF says: I'm up-to-date with the Java 1.7 plugin so I downloaded the 1.8 (Java Deployment Toolkit 8.0.400.26) and I still get the error.

    FF seems to think that each Java plugin is a problem.

    I tried to put IE as my browser by default, but is still starts FF.

    I searched all morning, but I can't seem to find a solid answer on how to get my forms to run on my windows machine.

    This shouldn't be this course. Come on Oracle, you can do better.

    Joe the Jet wrote:

    ...

    Now I have to sort out why it's not find my TNS files!
    ...

    The plague to have several Oracle products installed on a single computer is bring all use the same copy of the TNSNAMES. ORA.  I like to create a folder in the Oracle home (C:\Oracle) home of my tnsnames.ora and I call it TNS_ADMIN.  Then, add a TNS_ADMIN "String value" entry to your Oracle Home registry entry and set the value of "C:\Oracle\TNS_ADMIN" so the Forms Builder will find your tnsnames file.  Then, you need to change the default.env and update the parameter TNS_ADMIN to point to the directory where you have your TNSNAMES.ora location.  The default.env is located in the ORACLE_HOME\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\AdminServer\applications\formsapp_11.1.2\config directory.

    If you use Oracle Reports, then you will need to edit the reports.bat file - there is a setting TNS_ADMIN there as well.  The reports.bat will be located in your ORACLE_HOME\Middlware\asinst_1\config\reports\bin directory.  This path assumes that you used the name of 'Instance' by default when you configured WLS and FMw.

    Craig...

  • location of the file tnsnames.ora and Listener.ora

    Hello

    env: Oracle 11 g 2 - Orable Linux 6.2 64bits

    I set up a database for the client server. I installed IM and the House according to the standards of the Oracle RDBMS. Then I configured the listener to run BOF IM home. If the location of the 'ora, tnsnames' and 'listener.ora' files is $GI_HOME/network/admin.

    Customer's DBA is asking me to conform to the standard for the location of these two files. Here's what he asked for:

    / opt/oracle/owner = oracle, group = s/n (755 permissions)

    / var/opt/oracle owner = oracle, group = s/n (755 permissions)

    • -touch /var/opt/oracle/listener.ora
    • -touch /var/opt/oracle/tnsnames.ora
    • -chown oracle: dba /var/opt/oracle/listener.ora
    • -chown oracle: dba /var/opt/oracle/tnsnames.ora
    • -s /var/opt/oracle/tnsnames.ora /etc/tnsnames.ora ln
    • -s /var/opt/oracle/listener.ora /etc/listener.ora ln

    I'm completely lost here. I don't know if I'm moving these two files in the folder "/ etc", how the LISTENER know about the presence of these files in ' / etc '.

    His reason for this is to support the possibility of having several houses of Oracle's RDBMS. I don't know what he's talking about.

    Please notify.

    Best regards

    user130038 wrote:

    Thanks to you two!

    So basically this DBA do not like to follow standards of Oracle but his own.

    BINGO!

    What is the problem with the help of $ORACLE_HOME/network/admin for these two files if there were several homes of oracle on a server? Sorry I never got to work on a server with multiple oracle homes, so I have no idea.

    The 'standard' with several houses installation is to run the listener from the version the most recent House.  If all of the houses are of the same version (putting aside the question of 'why'), then just pick one that is going to be home for the listener.  If the installation program uses the Grid Infrastructure (ASM and/or Oracle Restart), you must run the listener from the House of IM, not House the database.

    There are some key things to consider here.

    1. the auditor is to receive and process applications for connecting customers.  This is why the listener has no meaning on the Server.  Similarly, its configuration file, listener.ora, only makes sense on the server.

    1a. a single listener, using the default name of the LISTENER and the unique default port of 1521 is quite capable of--indeed, we wanted to - several multiple databases editions of multiple service homes.

    2. the tnsnames.ora file provides a name resolution and address customers.  So it has the sense that on the client computer.

    2. when a database uses a db link to access a different database, the first database acts as a client to the second - as with any other LDAP client.

    Best regards

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • Creating a service; What must be included in tnsnames.ora and JDBC url?

    DB version: 11.2.0.2
    Operating system platform: Solaris 10

    We have a 2 RAC node.
    DB name   = mbsprd
    Instance1  = mbsprd1
    Instance2  = mbsprd2
    I want 1 Instance (mbsprd1) to use for our OLTP and Instance 2 (mbsprd2) application to use for another nature DSS request.

    According to the syntax
    srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>
    I create 2 services

    -Creation of a service called OLTP
    srvctl add service -d mbsprd -s OLTP  -r mbsprd1 -a mbsprd2
    -Creation of a service called DSS
    srvctl add service -d mbsprd -s DSS  -r mbsprd2 -a mbsprd1
    -Start services
    srvctl start service -d mbsprd -s OLTP
    
    srvctl start service -d mbsprd -s DSS
    I guess the above steps are sufficient to set up a service on the side server.

    I would like to know what needs to be done on the client side.

    Currently the file tnsnames.ora and JDBC url used by our clients are listed below. What needs to be added to the file URL and jdbc tnsnames.ora to start to use the services configured above?
    -- SCAN based TNS entry 
    mbsprd =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (COMMUNITY = tcp.world)
            (PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
        )
        (CONNECT_DATA =
          (SERVER       = DEDICATED)
          (SERVICE_NAME = mbsprd)
          (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
        )
      )
    
    -- TNS entry based on local listener 
    -- Instance 1
    mbsprd1 =
    (DESCRIPTION =
       (ADDRESS_LIST =
       (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
       )
       (CONNECT_DATA =
             (SERVICE_NAME = mbsprd)
             (INSTANCE_NAME = mbsprd1)
           )
     )
    
    -- Instance 2
    -- TNS entry based on local listener 
    mbsprd2 =
    (DESCRIPTION =
       (ADDRESS_LIST =
       (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
       )
       (CONNECT_DATA =
             (SERVICE_NAME = mbsprd)
             (INSTANCE_NAME = mbsprd2)
           )
     )
    Entry for RAC JDBC
    jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd
    -Another version used by some clients, because the above had "some problems".
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))
    OLTP =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = OLTP)
        )
      )
    DSS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DSS)
        )
      )
    

    Entry for RAC JDBC

    JDBC:Oracle:thin:@p148149-scan.tpam.NET:36964:SERVICE_NAME

    JDBC:Oracle:thin:@new_tns_entry_description (if you do not want to connect to the database with particular service)

    Try this and let us know about problems,

  • Problem with connecting to the DB

    Hello world

    I try to configure DB Oracle 11g network for duplication of the DB and respectively for DATA GUARD and I face the problem with the network of the DB. I can't realize the basic problem. The problem is that after I connect to the DB with the name of the network service, I can't do anything. I get ORA-01034: ORACLE is not available
    Please help me solve this problem. I already do several times in 11.2.0.3.0 without any problem. :(

    Oracle DB 11.2.0.1.0
    OEL OS 5.7

    env
    [oracle@occ ~]$ echo $ORACLE_SID
    ROCKS
    [oracle@occ ~]$ echo $ORACLE_UNQNAME
    ROCKSU
    [oracle@occ ~]$
    init file
    [oracle@occ dbs]# cat /u01/app/oracle/product/11.2.0/db_1/dbs/ROCK.ora
    DB_NAME='ROCKS'
    startup mode
    SQL> startup nomount pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/ROCK.ora'
    Listener.ora
    [oracle@occ ~]$ cat /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = ROCKS.oracle.cloud)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
          (SID_NAME = ROCKS)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = occ.oracle.cloud)(PORT = 1521))
        )
      )
    tnsnames.ora
    [oracle@occ ~]$ cat /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    
    ROCKS =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = occ.oracle.cloud)(PORT = 1521))
      (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = ROCKS.oracle.cloud)
         )
      )
    lsnrctl status
    [oracle@occ ~]$ lsnrctl status
    ................
    Service "ROCKS" has 1 instance(s).
      Instance "ROCKS", status BLOCKED, has 1 handler(s) for this service...
    Service "ROCKS.oracle.cloud" has 1 instance(s).
      Instance "ROCKS", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@occ ~]$
    Local connection
    [oracle@occ ~]$ sqlplus / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select status from v$instance;
    
    STATUS
    ------------
    STARTED
    
    SQL>
    Connection with the service name
    [oracle@occ ~]$ sqlplus  sys/engine@ROCKS as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Apr 28 18:53:06 2012
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> select status from v$instance;
    select status from v$instance
    *
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    . / Thank you

    __OUTSIDER___ wrote:
    Can you please suggest me something on?

    RMAN-05535: WARNING: all the log files have not been defined properly.

    bcm@bcm-laptop:~$ oerr rman 5535
    5535, 3, "WARNING: All redo log files were not defined properly."
    // *Cause: It was not possible to define all the redo log files.  This
    //         can occur when LOG_FILE_NAME_CONVERT initialization parameter is
    //         defined but fails to match all the names or causes names to be
    //         created that are not in valid directories.
    // *Action: Query the V$LOGFILE view to see what redo log files are defined
    //          after DUPLICATE has completed.  Use the
    //          ALTER DATABASE RENAME FILE SQL command to correctly
    //          name the existing redo log files.
    bcm@bcm-laptop:~$ 
    
  • strange problem with the database link

    Hello world

    I have a strange problem with the link of database in Oracle 11 g Express Edition;
    There are two computers: computer-server and the client computer. Tnsnames.ora are the same on both computers IE.

    CT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = XE)
    )
    )

    I created the database link:

    Create database link zdalny
    Connect to < user_id > identified by < password >
    using "CT".

    Customer cannot connect with server when I do not use above the command. But when I change 'use' for using "krzysztof:1521" or by using "krzysztof" or "server IP:1521" - everything is ok.

    Why I ask. Because in all the materials that I read about Oracle command with the help of "CT" should work correct. But there is no. Do you know why?

    Thanks in advance and apologize me for my English.

    Rgds
    Krzysztof

    Here's the tnsnames of your server, but to connect to the oracle server db (any client or to another instance of db oracle), you must install oracle client.
    However, in your condition, you want to connect the DB1 Oracle OracleDB2 using a link db, I'm right? In this case you should always set the entry in the tnsnames.ora
    To verify that you can connect to Oracle DB2 from DB1 Oracle, you can use tnsping in the command line.
    In your case

    c:\tnsping CT
    

    Krzysztof Szymaniak wrote: CT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    Check your tnsnames entry in the machine, you are trying to connect to. And check if the tnsping is successful.
    Sometimes the error message says not everything, which means that you need to troubleshoot yourself and learn from the experience.
    Always in the opposite case, refer to the documentation.

    See you soon.

    Published by: Spongebob December 14, 2011 09:30

  • Connection problem with SQL Developer 3.0.0.4

    I have a strange problem with SQL Developer (SD) 3.0.0.4. So that the implementation of a new connection I have in double entries listed for some of the databases listed in my TNSNAMES.ora file. When I try to connect to one of the databases has entered duplicated, I get the following Oracle error:
    ORA-01034: Oracle not available ORA-27101: Kingdom does not exist SVR4 shared memory error: 2: no files or directory
    however, if I try to connect to the same database using SQL * more or TOAD, it works perfectly and TOAD has no duplicates.

    At first, I thought maybe that SD has been reading multiple copies of the TNSNAMES.ora so I checked and removed all the duplicate files and set the variable of environment TNS_ADMIN to point to that and the single instance of the TNSNAMES.ora file. Yet once, SQLPlus and TOAD to work fine, but SD is always showing entries twice and always have reported the above error when I try to connect to a database with a duplicate entry. I should mention, I'm able to connect to the database that have only a single entry listed use SD.

    If I understand correctly, SD uses JDBC as underlying connection mechanism. Based on this "agreement" I thought that maybe I had a file corrupted in the Java Cache, so I cleared the cache, but I always get errors.

    As mentioned, I use SQL Developer 3.0.0.4 with Java 1.6.0_11 (included in the download). In addition, I have installed JRE 1.6.0_24 and I am running Windows XP SP3. Any ideas or suggestions are greatly appreciated.

    Craig...

    Hi Craig,.

    Or, if I have misunderstood completely the scenario you describe, here's a post on the forum about duplicate entries appear in the drop-down list Alias network when the connection Type is TNS:

    Developer SQL 2.1.0.63 TNS name in characters of the connection

    This solution involves clean a bad TNSNAMES. ORA file with double score entries to test the death of SID.

    -Gary

  • problem with headphone APPS

    Hello

    I use R12.1.2 with DB 11.2.0.1 and OS is RHEL 5

    My CM won't come until today, so when I tried to see the logs

    He said that he could not establlish connection to the applications node

    I checked listner on apps and db node

    DB listener has been very well

    but when I published sh adalnctl.sh status

    OUTPUT
    Checking status for listener process APPS_DEV.
    
    LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 08-SEP-2010 11:58:07
    
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=indstqebs02)(Port=1628))
    STATUS of the LISTENER
    ------------------------
    Alias                     APPS_DEV
    Version                   TNSLSNR for Linux: Version 10.1.0.5.0 - Production
    Start Date                08-SEP-2010 11:51:22
    Uptime                    0 days 0 hr. 6 min. 45 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u02/oracle/DEV/inst/apps/DEV_indstqebs02/ora/10.1.2/network/admin/listener.ora
    Listener Log File         /u02/oracle/DEV/inst/apps/DEV_indstqebs02/logs/ora/10.1.2/network/apps_dev.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1628)))
    Services Summary...
    Service "FNDFS" has 1 instance(s).
      Instance "FNDFS", status UNKNOWN, has 1 handler(s) for this service...
    Service "FNDSM" has 1 instance(s).
      Instance "FNDSM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    adalnctl.sh: exiting with status 0
    his dismissal 127.0.0.1 instead of the host name

    I have another instance that is running on the same node with no problems and there is no port conflict

    Listener.ora and tnsnames.ora refer correct host name

    I'm not able to get why is he picking up 127.0.0.1

    Hello
    If you look at your hosts file,

    127.0.0.1 localhost localhost.localdomain INDSTQEBS02
    : 1 localhost6.localdomain6 localhost6

    INDSTQEBS02 is given as 127.0.0.1 address. Thus, in hosts, file when it is looking for INDSTQEBS02 the first RESOLUTION is used as 127.0.0.1, before going to the

    172.19.17.169 INDSTQEBS02. INDALFAB. INDSTQEBS02 PREMISES

    Concerning
    Taher

  • Earphone &amp; tnsnames.ora

    I'm confused verymuch is a client/server configuration.
    I need help you popular.
    I posted the two clients/server listener & tnsnames.ora,.
    that I set up.

    Server listener.ora (test1)

    SID_LIST_LISTENER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (SID_NAME = PLSExtProc) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (= Extproc program) *.
    *)*
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *)*

    SID_LIST_ORCL =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    LISTENER =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) *.
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *)*

    Server tnsnames.ora

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    customer listener.ora (orcl)

    SID_LIST_LISTENER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (SID_NAME = PLSExtProc) *.
    * (ORACLE_HOME = E:\Sample1oracle\product\10.2.0\db_2)*
    * (= Extproc program) *.
    *)*

    *)*

    LISTENER =
    *(DESCRIPTION_LIST =*)
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1523)) *.
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *)*

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *)*

    Customer tnsnames.ora

    LISTENER_TEST1 =
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.


    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    (* (ADDRESS = (PROTOCOL = TCP)(HOST = desktop041.tvsil.com) (PORT = 1522))) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    user11345217 wrote:
    I'm confused verymuch is a client/server configuration.
    I need help you popular.
    I posted the two clients/Server Listener and tnsnames .ora,
    that I set up.

    Server listener.ora (test1)

    SID_LIST_LISTENER =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (SID_NAME = PLSExtProc) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (= Extproc program) *.
    *)*
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *)*

    SID_LIST_ORCL =
    *(SID_LIST =*)
    *(SID_DESC =*)
    * (GLOBAL_DBNAME = TEST1) *.
    * (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)*
    * (SID_NAME = TEST1) *.
    *)*
    *)*

    LISTENER =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) *.
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *)*

    Well, it's certainly the most, uh, listener.ora interesting I've ever seen... where did you find with this?

    Server tnsnames.ora

    TEST1 =
    *(DESCRIPTION =*)


    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop041.tvsil.com)(PORT = 1522)) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    customer listener.ora (orcl)

    A listener.ora on the client makes as much sense as a radiator on a 1965 Volkswagen. The listener is strictly a process on the server side. That's the whole reason to live is to 'listen' (where its name) for connection requests.

    Customer tnsnames.ora

    LISTENER_TEST1 =
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.

    TEST1 =
    *(DESCRIPTION =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = Desktop029.tvsil.com)(PORT = 1521)) *.
    *(CONNECT_DATA =*)
    * (SERVER = DEDICATED) *.
    * (SERVICE_NAME = TEST1) *.
    *)*
    *)*

    ORCL =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    (* (ADDRESS = (PROTOCOL = TCP)(HOST = desktop041.tvsil.com) (PORT = 1522))) *.
    *(CONNECT_DATA =*)
    * (Service_name = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    * (PRESENTATION = RO) *.
    *)*
    *)*

    OK, let's clear up a few things.

    First of all, as mentioned, the listener is purely a process on the client side. There is therefore no use to a listener.ora on the client.

    Second, a single listener, listening on a single port, can serve several databases multiple editions in multiple oracle homes. He listens to a connection, it puts in place (on a different listening port on) and then is out of the picture for this connection. It establishes the connection, but not the support it. Your listener.ora is much more complex (dare I say convoluted) as necessary.

    On the client side (the server can also act as a client) and the tnsnames.ora is used to resolve an alias (a tns service name) to a real destination on the network.

    Suppose 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@larry
    

    TNS will appear in your tnsnames.ora for an entry called "larry". Then, tns sends a request to (PORT = 1521) on (HOST = myhost) to aid (PROTOCOL = TCP), requesting a connection to (SERVICE_NAME = curley).

    Where's (HOST = myhost) on the network? When the request is passed to tns to the next layer in the network stack, the name "myhost" resolves to an IP address, either via a file 'hosts' local, through DNS, or possibly other mechanisms being used less. Alternatively, you can hard-code the IP (HOST = 123.456.789.101) in the tnsnames.ora.

    Then, the request arrives (port = 1521) on (HOST = myhost). If all goes well, there is a listener on myhost configured to listen on (PORT = 1521), and this listener knows (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 file. In this 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 cannot place a phone call because you do not know the number (can't phone your telephone book or can't find the group you're looking for it contained therein) you don't look at problems at the switchboard.

    Perhaps the entry for larry was found, but myhost could not be resolved to an IP address (for example there is no entry for myhost in the local hosts file). This will mean by "ORA-12545: Connect failed because target host or object does not exist.

    Maybe there is an entry for MyServer in the local hosts file, but it specified a bad IP address. This will mean by "ORA-12545: Connect failed because target host or object does not exist.

    Maybe the INVESTIGATION period was good, but there is no listener running: "ORA-12541: TNS:no listener.

    Maybe the INVESTIGATION period was good, there is a listener to myhost, but he is listening on a different port. "ORA-12560: TNS:protocol adapter error.

    Maybe the INVESTIGATION period was good, there is a listener to myhost, listening on the specified port, it's unknown SERVICE_NAME = curley. "ORA-12514: TNS:listener is not currently of service requested in connect descriptor.

  • Form of connection problem and failure problem with 10g

    * # TNSNAMES. ORA Network Configuration file: D:\orant\network\admin\tnsnames.ora*
    * # Generated by Oracle configuration incroyables.*

    EXTPROC_CONNECTION_DATA. STC. CORP =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = HOSTNAME)(PORT = 1521)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    *)*
    *)*

    EXTPROC_CONNECTION_DATA. STC. CORP =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = 10.33.67.202)(PORT = 1521)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA. STC. CORP =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = PC938.stc.corp)(PORT = 1521)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = orcl1) *.
    *)*
    *)*

    I can connect to the database by using the name of service ORCL, but not with the name of the ORCL1 service. I get an ORA-12154
    Second problem:
    When I connect using the service name ORCL I try to compile the form for the first time it hangs, after the crash when I try to compile it again I get this error

    * < Html > < head > ORACLE FORMS. < / head > *.
    * < body onload = "document.pform.submit (); ' > *.
    * < form name = 'dform"action =" http://PC938.stc.corp:8889/forms90/f90servlet"method ="POST"> *.
    * < input type = "hidden" name = "form" value = "C:\Documents and Settings\Administrator\MODULE1.fmx" > *.
    "* < input type ="hidden"name ="username"value="SCOTT/TIGER@orcl "> *.
    * < input type = "hidden" name = "obr" value = "yes" > *.
    * < input type = "hidden" name = "table" value = "YES" > *.
    * < / form > < body / > < / html > *.

    My jvm.dll file is size 780ko can someone tell me where can I find the jvm.dll file with dimensions 2,20 MB

    Published by: Chase Suhail on December 25, 2009 21:45

    Hello

    What is your IE version is?

    Open IE/go to / option/advance/IPSec.

    Allow active content to run in files on my computer

    If its active please uncheck and if its not controlled it please check.

    and are you form.

    I think you're form version is 9.0... right?

    Sarah

    Published by: QGIRCO on December 25, 2009 23:31

Maybe you are looking for

  • Answering how Sort Contacts by company name.

    I just got my first s iPhone + and disappointed there is no categories to separate business from all contacts. If there is pls do let me know. So that's how I fixed it. He is still in all Contacts, but in respect of the company. Make sure that in you

  • DAQmxCreateAOFuncGenChan - how to use?

    I'm looking for a c (++) example code that uses this function (DAQmxCreateAOFuncGenChan). What devices are supported? Thank you!

  • to obtain a windows xp recovery disk?

    my computer does not want to continue when its in the splash screen, it says-stallion has failed? or ERD.

  • Some features not available on messenger

    Some features are not available for messemger

  • Download Fuse

    Hello, adobe cloud I am a subscriber of the and I wish I could download Fuse. List of fuse unfortunately does not appear in my Desktop Application creative cloud. When I'm on the site Adobe to download all happens as usual, no error message but the f