Different declarations of TNSNAMES.ORA

Hi,
I have 60 XE in 8 factories with a production control program, connecting to their HOST for send and receive information. It Works perfect. But I don’t know to do something (is NOT usual, but,...);
When I Start XE connected to the Network, the listener takes the (HOST = 172.1.14.31) and when I Start XE Disconnected takes the (HOST=172.0.0.1) in both cases Ok. The situation I want to resolve is when it is connected and I take out the Network Cable, the Windows says the new IP, and the program stops with a ORA-03114 (Just start again and it works normally). In the listener.log show (in Spanish)
04-DIC-2006 09:32:52 * service_update * xe * 0
04-DIC-2006 09:34:16 * service_update * xe * 0
04-DIC-2006 09:35:41 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(CID=(PROGRAM=C:\orant\BIN\ifrun60.EXE)(HOST=PRODINI)(USER=jpetit))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.1.14.31)(PORT=1193)) * establish * XE * 0
04-DIC-2006 09:35:43 * service_update * xe * 0
Ya no se está recibiendo de: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRODINI.gpetit.local)(PORT=8080))(Presentation=HTTP)(Session=RAW))
04-DIC-2006 09:36:03 * service_died * xe * 12547
TNS-12547: TNS:contacto perdido
Recibiendo en: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRODINI.gpetit.local)(PORT=8080))(Presentation=HTTP)(Session=RAW))
04-DIC-2006 09:36:03 * service_register * xe * 0
04-DIC-2006 09:36:06 * service_update * xe * 0
04-DIC-2006 09:53:30 * service_update * xe * 0
04-DIC-2006 09:58:49 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)(CID=(PROGRAM=C:\orant\BIN\ifrun60.EXE)(HOST=PRODINI)(USER=jpetit))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1226)) * establish * XE * 0
04-DIC-2006 09:58:51 * service_update * xe * 0
04-DIC-2006 10:00:18 * service_update * xe * 0
What I'm looking for is something to start the with the 172.0.0.1 (in LOCAL connection), but searching the Web I haven' found a solution.
Thanks,

You should use the MS Loopback adapter and it probably won't crash when you disconnect the network cable.
~Jer

Similar Messages

  • Tnsnames.ora General Question

    We are experiencing a problem that many different users seem to have many different versions of tnsnames.ora. We want to create our "gold" version and ensure that everyone uses the same one. Two questions:
    1. Is the "alias" that you give each connection case sensitive? For instance if I name one connection Prod is that the same as PROD?
    2. At another place I worked I was under the impression that most applications (PL/SQL Developer for sure) uses the Windows PATH environment variable to locate tnsnames.ora by going through all directories listed in the variable and using the first occurrence of tnsnames.ora that it found. Through a little testing and renaming and such I have found that this doesn't appear to be the case. We are using ADI, Discoverer, different development tools, etc and would like to avoid having more than one location where the file is stored. What is the best way around that or is there a way? I assume that it depends somewhat on each application.
    Thanks in advance for the help!

    PL/SQL Developer Help->Support Info TNS Names tab shows that C:\oracle\ora92\network\admin\tnsnames.ora is used as my tnsnames.ora for the application. I don't have an ORA_HOME environment variable. So where is it coming from? The path above is in my PATH variable.
    So it is different for every application?
    I don't have TNS_ADMIN environment variable either.
    Sorry for the dumb questions. I just want to be 100% clear.
    Message was edited by:
    mateoc15

  • Listener.ora and Tnsnames.ora created in a different location

    Hi All,
    I have both the files i.e Listener.ora and Tnsnames.Ora in a location called D:\OraHome_1 and not in D:\OraHome_1\Network\Admin !! Also I do not have the sqlnet.ora file in either of these two locations.
    Though conn sys/pswd@sid is working fine and DB is also up and running, "conn / as sysdba" is not working. I would like to restore these files in their actual location and make "conn / as sysdba also working".
    Thanks in advance
    -Aditi

    Is perhaps TNS_ADMIN set to d:\orahome_1 ?where do i check this parameter ?
    What does output of following tell youc:\> tnsping sid
    C:\WINNT\system32>tnsping sid
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-JUL-2006 19:17:26
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 'complete host name')(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = SID)))
    OK (30 msec)
    ***NOTE*** this leaves a blank space when it says 'Used parameter files:' Isn't this unusual ....!!
    You may not need the listener.ora - it is kinda "optional". Not sqlnet.ora either. There are defaults to survive on.That's fine but I still would like to know why these files got created in a directory different from oraclehome\network\admin?

  • Cannot Connect to Two 11g DBs - Same tnsnames.ora different Oracle_Home

    We have two 11g databases on seperate Oracle Homes on the same server. The tnsnames.ora and listener.ora entries for db_2 were combined with those of db_1 in ...../db_1/network/admin. They are:
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST=10.200.18.28)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DB1)
    #DB2 =
    # (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST=10.200.18.28)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = DB2)
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =10.200.18.28)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = DB1)
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/DB1)
    #SID_LIST_LISTENER =
    # (SID_LIST =
    # (SID_DESC =
    # (SID_NAME =DB2)
    # (ORACLE_HOME = /u01/app/oracle/product/11.1.0/DB2)
    DB2 is commented out because we coulod not reach either database when it was not. Now we can each one or the other. We were getting
    "ora_12514 TNS:listener could not resolve seervice name given in connect description."
    The problem is that we need to reach each database when connected to the server from eithere the client or server.
    I would appreciate any information, direct experience or pointers to documents.
    Thanks

    You shouldn't need either DB1 or DB2 listed in your listener.ora file. They should automatically register with the listener if it is running on the default port (which yours is).
    If you do want to statically register the instances, the syntax you have in your original post is a little wrong. It should be:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = DB1)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_2)
    (SID_NAME = DB2)
    All in one variable, not two. Also, the home paths you had in your post were missing the _.
    All that said, it seems to be much preferred to let the instance register itself. If you try the following, does the instance register?
    * remove the SID_LIST_LISTENER configuration for DB1
    * restart the listener
    * connect to DB1 as someone with the DBA role and execute 'alter system register;'
    * check the listener with 'lsnrctl status listener' and see whether the instance registered.
    You should see something like: (notice 'READY' instead of 'UNKNOWN')
    Instance "DB1", status READY, has 1 handler(s) for this service...

  • Multiple entries for a single Host in tnsnames.ora

    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)

    TekWarrior wrote:
    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)
    TekWarrior wrote:
    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)
    It  won't cause any problem.

  • How to use ODBC SQLDriverConnect() without using tnsnames.ora file

    I have an ODBC application that connects to an Oracle 10g database. Currently, my SQLDriverConnect() function call uses the following connection string:
    DRIVER={Oracle in OraClient10g_home1}; DBQ=MyDB.world; DBA=W; UID=foo; PWD=bar
    This requires an entry in the tnsnames.ora file that looks like this:
    MyDB.world =
    (DESCRIPTION = (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)(Host = server1.intel.com)(Port = 1521)
    (ADDRESS =
    (PROTOCOL = TCP)(Host = server2.intel.com)(Port = 1521)
    (ADDRESS =
    (PROTOCOL = TCP)(Host = server3.intel.com)(Port = 1521)
    (ADDRESS =
    (PROTOCOL = TCP)(Host = server4.intel.com)(Port = 1521)
    (LOAD_BALANCE = yes)
    (CONNECT_DATA = (SERVER = DEDICATED)
    (SERVICE_NAME = MY_SRVC))
    However, I would really like to be able to connect using ODBC without having to create that entry in the tnsnames.ora file. I have tried to substitute the DBQ=MyDB.world with the entire (DESCRIPTION=..... string from the original tnsnames.ora file, but it returns the error:
    ORA-12154: TNS: Could not resolve the connect identifier specified.
    I have heard others are able to use sqlplus with no tnsnames.ora file and the do specify the entire (DESCRIPTION=.... string on the sqlplus connection string, but is this possible to do using the ODBC SQLDriverConnect() function? If so, do I need to use a different keyword/value pair other than DBQ=?
    Any help on this would be greatly appreciated.
    Thank you.

    How would that work in a load balanced configuration? Take a closer look at the tnsnames.ora example I included in my original post. I have 4 ADDRESS= sections to denote 4 servers that are part of the load balanced environment.
    Also, I'm not familiar with that syntax, I need to use the syntax supported by the SQLDriverConnect() API function, which looks like this:
    DRIVER={Oracle in OraClient10g_home1}; DBQ=MyDB.world; DBA=W; UID=foo; PWD=bar
    I don't know as SQLDriverConnect() would accept an alternative syntax. But the more important issue here is the ability to specify those 4 servers in the load balanced configuration as indicated by that tnsnames.ora entry.

  • Connecting to a database that's not in tnsnames.ora

    Hi there,
    I'm using Oracle 8.1.6/Apache/PHP & would like to be able to connect to a database that's not listed in the local tnsnames.ora (by local, i mean the machine that's serving the web pages).
    Is this possible?
    Thanks!

    I'm not sure that you can use this in PHP/Apache, but when I used Oracle Enterprise Manager (which isn't ported to Linux so I had to use a different machine (NT/Solaris)) I used the format ipaddress:port:SID (ex.: 192.168.0.5:1521:cddata), where ipaddress is the address of your machine, port is the port number of the listener on the database (defulat is 1521) and SID is the SID of the database you want to access.
    I hope this helps.

  • Oracle 8i clients, inconsistent handling of tnsnames.ora (ORA-06401 gotcha)

    This is more of a bug report / oddity declaration than a real problem, though it was a pain in the butt to nail down. I post it here for the benefit of anyone else who may run into it down the road.
    Using the linux sqlplus client, I kept getting consistent failures connecting to one of a dozen db's, but tests with the (java) netasst client worked fine. After various debugging of other potential causes, it came down to strace'ing the sqlplus client, and noting that it was attempting to connect to the wrong host, despite what was specified on the command line.
    What we identified as the most probable cause:
    The routines that load and parse the tnsnames.ora file differ between the linux and java clients, with the java client being more tolerant/robust. The tnsnames.ora file I'd been supplied with had come from a fellow user's Win32 machine, and had been edited there, which probably included a couple ^M's or other non-visible characters within the file.
    The solution (at least, what I did):
    Load the tnsnames.ora file with netasst, and save it again with netasst. Netasst wrote the file in a manner that sqlplus could read accurately, and I got to go have a beer.
    - billn

    Hi Fredrik,
    You r right. But I have its entry in tnsnames.ora file. The entry looks like this -
    My_Service_Name.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Server = Computer_Name_of_Server_having_Ora8i)
    (Host = IP_Add_of_Server_having_Ora8i)
    (Port = 1521)
    (Pipe = ORAPIPE)
    (CONNECT_DATA = (SID = ORCL)
    The same entry exists in the tnsnames.ora file on the local PCs (same office where the Oracle 8i Server is present) at Site 1 and these PCs connect the server without any problem.
    Thanks
    Lokesh

  • SQL Developer is not able to identify the Tnsnames.ora file

    Hi,
    I have installed the following in the laptop having Win XP:
    1) Oracle 10gR2 Client software in the D: drive of laptop. Tnsnames.ora is located in this clients Network\Admin path. This client is used to access the databases on the other servers.
    2) Oracle 10gR2 Database software in the E: drive of laptop. Right now there is not Tnsnames.ora file in this softwares Network\Admin path. This db software has been installed to create local databases in the laptop.
    3) Oracle SQL Developer Version 2.1.1.64 is also installed in C: drive of laptop.
    The problem which now I'm facing is that the SQL Developer is not able to identify the Tnsnames.ora file mentioned in the above point-1 which contains entries of databases on the different servers. Could you please help me out in solving this problem?
    Thanks in advance.
    MAK

    I forget what version I was using at the time, but when I had an ORACLE_HOME defined for the environment and TNSNAMES file defined in SQL Developer (different one than was in ORACLE_HOME), that I would see results from both tns files. I don't know if that is still the case. I have since dropped my ORACLE_HOME environmental variable.

  • Basic questions about tnsnames.ora

    I think I am quite confused about tnsnames.ora file (this is about release 9.2).
    - I was told that a tnsnames.ora file is only necessary in the server side when you need to connect to a different remote database, but if I do not have any entry in my server tnsnames.ora then, how can the listener know which services it has to listen to?
    - I do not understand what "Dynamic service registration" is and how it can be used.
    Sorry if the level of these questions is too low for this forum, but I have not found clear answers for them.

    - The listener knows which services it has to listen
    for by
    static registration --> the database definition is in
    listener.ora
    dynamic registration --> the PMON process of the
    database registers itself with the listener,
    submitting the service_name parameter from the spfile
    | init.ora
    Tnsnames.ora is a client thingy, when connecting to
    a remote database, the local database is a client
    for the remote database.
    Hth
    Sybrand Bakker
    Senior Oracle DBAThank you for the answer.
    I made a wrong conclusion, my situation is this (there are 2 database instances in one server and the listener.ora has no list of services, so I must assume both instances are registered dynamically, am I wrong?):
    I wrongly thought that the tnsnames.ora played some role in the server side because after restarting the listener I commented the entries in the server tnsnames.ora and the listener had no service registered, then I uncommented those entries and I saw that then the listener had those services registered. I guess that what it actually happened is that it takes a little time for the listener to register dynamically after it is restarted, can it be the case?
    I have read both init.ora files but I cannot see what parameter is set to register dynamically, maybe it is only defined at spfile level. Can someone tell me what parameters must I look for?
    One more question. I have been asked if a database must be restarted to work ok when the server ip is changed (I suppose it is done without shutting the server down). Does someone know? Should the listener also be rebooted?
    Thanks again.

  • Strange Behaviour of TNSNAMES.ora file

    Hello Guys,
    Now we have 2 database servers with different IP obviously and same SID with 9i and 10g databases.
    Our application is developed in forms 6i. Before 10g server, application was using 9i database server as its database and there were no problems. Developer client is installed at user's machine and they were having no connectivity issue with 9i database. Now after updation of database server. We have changed the IP address of tnsnames.ora file at every client machine. Now there is no information at client ends to connect with database 9i, but it must connect with 10g.
    The client is still connecting with 9i database which is really strange. Just want to ask if connection information also need to be changes in some other file other then tnsnames.ora file.
    Regards,
    Imran

    This is what making me worried, how the application is connecting with oracle 9i when TNS has no information about 9i server.
    Well ifi we directly connect form builder with DB it does connects with 10g database, while the application is not. I have tried this.
    Regards,
    Imran

  • Toad with Oracle Instant Client 10.2.0.1.0(not able to locate tnsnames.ora

    Hi,
    I have both Oracle Client 9.2 and Instant Client 10.2.0.1.0 on my laptop. How to make Toad 8.5.1 locate tnsnames.ora file for instant client.
    When I open Toad, and selects "Instant Client 10.2.0.1.0" as installed client, it shows the error message "tnsnames.ora not found!"
    Below is the setting:
    Instant Client - 10.2.0.1.0
    ORACLE_HOME_NAME: C:\Program Files\PHP\
    ORACLE_HOME: C:\Program Files\PHP\
    ORACLE_SID:
    NLS_LANG:
    SQLPATH:
    LOCAL:
    C:\Program Files\PHP\ exists.
    C:\Program Files\PHP\ is in PATH.
    Client DLL: C:\Program Files\PHP\oci.dll
    Client Version: 10.2.0.1.0
    Home is valid.
    Thanks
    Ashutosh

    Sal, your comment is pretty irrelevant to the question :^)
    user570251, since you are restricted to using Windows, it will not be easy for you to use two different Oracle clients on the same machine.
    Basically, you'll have to change TNS_ADMIN whenever you want to change between clients.
    Why do you need two client versions on your computer?
    Yours,
    Laurenz Albe

  • Description for tnsnames.ora

    hi..
    can you please tell me the meanings of the different parameters in a tnsnames.ora file...
    <Service_name> =
    ( DESCRIPTION =
    ( ADDRESS_LIST =
    ( ADDRESS = ( COMMUNITY = <community_name>)( PROTOCOL = TCP)(Host = <host_ip>)(Port = <port_no>))
    ( CONNECT_DATA =
    (SID = <sid name>)
    (SERVER = DEDICATED)
    I want to know the meaning s of the bold parameters...
    description, address_list, address, community, protocol, connect_data
    i am new in this line...please help..I have searched the net but didnt get any satisfied answer..
    Thanks a lot in advance..

    Hi ,
    Check the below link also:
    http://stackoverflow.com/questions/43866/how-sid-is-different-from-service-name-in-oracle-tnsnames-ora
    Best regards,
    Rafi.

  • Configuring tnsnames.ora / listener.ora with HOST = localhost

    Dear Oracle experts,
    presently I'm trying to configure an Oracle installation on a Win2k server
    to work with HOST = localhost entries in my tnsnames.ora and listener.ora.
    I have to do that because I want to use that Oracle installation as an image
    for several computers which will get different IPs and computer names.
    My problem is, taht I only can configure my entries with a real IP adres (127.0.0.1 does not work ) or with the present name of the system but not with localhost or 127.0.0.1.
    My listener.ora looks like below :
    # 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 =
    (SDU = 4096)
    (SID_NAME = EMS)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_1)
    (PRESPAWN_MAX = 10)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1521))
    The listener above lead to a
    ERROR - ORA-12541: TNS:no listener
    if I try to connect via iSQLPlus. If I exchange HOST = localhost with HOST = mydnsname the I can connect to the computer via isqlplus.
    Is there any possibility to configure the listener and tnsnames without using real IP adresses ?
    Best regards,
    Daniel Wetzler

    Hi maran,
    thanks for your answer.
    i started the listener from cmd and had the output below :
    C:\Documents and Settings\ECS>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 22-MAR-2007 16:04
    :32
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
    System parameter file is D:\oracle\product\10.1.0\Db_1\network\admin\listener.or
    a
    Log messages written to D:\oracle\product\10.1.0\Db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Produ
    ction
    Start Date 22-MAR-2007 16:04:33
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.1.0\Db_1\network\admin\listener.o
    ra
    Listener Log File D:\oracle\product\10.1.0\Db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "EMS" has 1 instance(s).
    Instance "EMS", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\ECS>
    In my listener.log I found the following information :
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production on 22-MAR-2007 16:11:42
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.1.0\Db_1\network\log\listener.log
    Trace information written to D:\oracle\product\10.1.0\Db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=1672
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    22-MAR-2007 16:11:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=ECS))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0
    So it seems that my lister is running fine, isn't it ?
    But I cannot conect to my database....
    I pasted my tnsnames.ora below.
    Perhabs there's a bug I didn't fins yet. But if I replace in both files t(tnsnames.ora and listener.ora the "localhost" with my local IP it works just fine...
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    SIG =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = SIG)
    Hpe someone can help.....
    Best regards,
    Daniel

  • Oracle 10g I don't have the files listener.ora, tnsnames.ora and sql.ora

    Hi folks,
    I uninstalled my Oracle 10g and when I re installed I got success, but when I went to the folder \network\admin didn't have the files listener.ora, tnsnames.ora and sql.ora. I have been trying during more than one month start my listener only because I need access the Oracle database from my Java application and I got the message:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    As additional information, I got no problem to access the SQL*Plus.
    =======================
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 18-APR-2006 10:53
    :58
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    ====================
    C:\>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Ethernet adapter Wireless Network Connection 2:
    Connection-specific DNS Suffix . : myhome.westell.com
    IP Address. . . . . . . . . . . . : 192.168.0.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    Thanks in advance.

    Thanks ALL, I GOT IT, but I used other solution.
    Since I installed and uninstalled the Oracle several times, it keeps also many different Services for the listener. I don't know why, it didn't create a Service for my actual instalation with its path. In other words, all the services remained in the services.msc panel, had the path that was already removed from the Windows folder.
    Then what I did, was that I picked one service, took its name (OracleOraDb10g_home1TNSListener), went to regedit to [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OracleOraDb10g_home1TNSListener] and simply changed the image path that was setted for the one that was removed (C:\oracle\product\10.1.0\Db_2\BIN\TNSLSNR ) for mine that is installed right now
    (C:\oracle\product\10.1.0\Db_1\BIN\TNSLSNR). Nothing more and finally works.
    I have tried something in the services.msc panel before, as you can see in this forum at the thread "I can't start listener in the Control Painel/Admin Tools/ Services", but I never got
    success.
    Appreciate your time!!

Maybe you are looking for

  • Font smoothing whilst using zoom??

    I am a visually impaired person, who has just converted to a Mac! I'm using the built in zoom feature, but am having trouble with blurred fonts whilst using zoom. I have tried adjusting screen contrast, colours, smoothing styles, but can't get a shar

  • Changing current page from backing file

    Using WL 8.1 SP4 I have a User Acceptance Policy page in my portal, and I want to ensure that users have viewed this page before I allow them to view any other content. When users have viewed the UAP, I set a session variable. I then use the session

  • Links on pdf page download the web page it is suppose to open?

    Hi - Never had this happen before.  Using Word 2007 and save as 'pdf'.  The links are clickable, but . . . they start downloading the page and add it to the pdf file, instead of just opening the web page that the link is for. I tried to remove link i

  • How do I eliminate the jagged edges . . .

    from high resolution graphics that are brought into InDesign from Photoshop. They are not jagged in Photoshop. Thanks for your help.

  • How many primary keys can w have in cube, ods objects?

    how many primary keys can w have in cube, ods objects?