How configure correctly Listener and TNSNAMES

Hi to All,
This is my scenario.
Actually I have 2 machine under Linux, the SERVER01 and SERVER02.
1) On both is installed Oracle DB Version 9.2.0.4.0
2) On SERVER01 is installed Apache and PHP
3) On SERVER01 run an application PHP that use a DB located on the same server.
This is the LISTENER:
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = orcl)
      (ORACLE_HOME = /home/oracle/OraHome1)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))
      )and the TNSNAMES is
orcl =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))
    (CONNECT_DATA =
      (SID = orcl)
)Now I need configure Listener and TNSNAMES in order to use with my Application on SERVER01 another DB (for example SID = MYDB2 and alias = MYDB2) located on SERVER02 (IP 192.168.99.98).
I have tried with this Listener and this TNSNAMES:
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = orcl)
      (ORACLE_HOME = /home/oracle/OraHome1)
    (SID_DESC =
      (SID_NAME = MYDB2)
      (ORACLE_HOME = /home/oracle/OraHome1)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = web.server01.lan)(PORT = 1521))
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.99.98)(PORT = 1521))
  )But when I restart the listener this error is returned:
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Can someone help me to configure correctly the listener and resolve my problem ?
Thank You and best regards.
Gaetano

(ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))server01.lan doesn't look like a valid hostname to me. Were you able to ping to this hostname?

Similar Messages

  • How to configure listener and tnsnames.ora on 10g version

    how to configure listener and tnsnames.ora on 10g version

    If you are on linux platform, on command prompt execute netmgr and configure listener fromt there. Or go to $oracle_home/network/admin/listner.ora write the following
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    For tnsnames.ora write the following
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )

  • How can I config listener and tnsnames for 2 instances?

    Now I can create 2 instances on single machine but I can't config listener and tnsnames for them.
    Every time that I reconfig tnsnames, the newer is available but the old is unavailable. For example, there are instance A and instance B. When instace A can be connected instance B can't be connected. The error message is "ORACLE not available", although instance B is already started.

    Insert into listener.ora
    after the characteristics of
    first database
    (SID_DESC =
    (GLOBAL_DBNAME = <global_dbname>)
    (ORACLE_HOME = <oracle_home>)
    (SID_NAME = <second_sid>)
    Copy Paste the sid_desc of your first db
    and insert it with the second sid
    lsnrctl restart
    and the outputs messages will show you
    two instances and the extproc.
    null

  • Help on Listener and Tnsnames.ORA

    Hi guys,
    I just installed Oracle Discoverer Admin Ed Rel 4 recently and i can't connect to Discoverer as well as SQL+ due to listener and tnsnames problem. Can you pls. help me to configure the .ORA files needed for the connection. I was trying to build database and connections local to my laptop. Is this possible using TCP-Loopback?
    Appreciate any help...
    Thanks.
    Enzo

    There's another possible problem on the Windows platform: Database and Discoverer are installed in different Oracle homes, many people configure the sqlnet files inside the database's ORACLE_HOME, which are not read automatically by the other home(s). So solution is to copy all configuration files to ORACLE_HOME\network\admin of all ORACLE_HOMEs OR to set TNS_ADMIN, which points to one central location.
    Werner

  • WebDB Listener and tnsnames settings?

    Since I am new to the world of Oracle, I am struggling to get
    WebDB (2.0) working with Oracle (8.0.5) on RH 5.2 Linux.
    The installation works perfectly, and I can connect to the
    administration pages via my browser. However, when I attempt
    to create a site, the progress bar gets to about 10% and stops
    (I have left it over-night with no change). Looking at the
    process table, I noticed one of the oracle processes zombied
    on me.
    I suspect that I am missing correct configuration in listener.ora
    and tnsnames.ora. Could someone post (or email) an example for
    me please?
    Regards,
    -Matthew
    null

    Dynamic registration feature is available since Oracle 8i. The registration is performed by the PMON process of each database instance that has the necessary configuration in the database initialization parameter file. Dynamic service registration does not require any configuration in the listener.ora file.
    see Oracle documentation
    http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/listener.htm
    thanks
    http://swervedba.wordpress.com.

  • How to correct spelling and grammar mistakes in Pages?

    So I'm new to Mac's and the Pages wordprocessing software. Normally, in Microsoft Word, when something is misspelled or grammatically incorrect, the red or green line comes under it and you can right-click that to see options to correct the error. Pages also does the red or green line thing under incorrect words and stuff, but since you can't right click on a Macbook, how do find out what's wrong and how to correct it? Basically whats the Pages parallel of right-clicking to correct in Word?

    Launch Pages.
    Click "Pages" in the menu bar.
    From the dropdown select "Preferences".
    For additional info:
    http://support.apple.com/kb/PH10319
    https://discussions.apple.com/message/17227397#17227397
    Pages User Guide:
    Scroll up the page for contents.
    http://manuals.info.apple.com/en_US/Pages09_UserGuide.pdf
    Best.

  • Setting the listener and tnsnames.ora

    Hi,
    I have two node cluster database 10.2.0.4 on Linux. Someone messed up with the tnsnames file and also the local,remote listener setting are gone during the switchover.
    Now I just want to replace the new tns entries,listener entries, set the local/remote listener and then register the local/remote listener. During these changes it will not affect the applications, but just want to know is there any specific steps which I have to keep in mind.
    Thank you.
    Edited by: 936264 on May 23, 2012 8:52 AM

    Hi
    Did you not back them up? :-)
    The answer to your question is yes. Basically, you need your listener referenced in the listener.ora for each node, then you need to reference those listeners in your tnsnames.ora - one for your local listener and another for your remote listener. A good starting point will be what you've got in your LOCAL_LISTENER and REMOTE_LISTENER parameter - that will show the names of the entries you need to create in the tnsnames.ora. I have all entries in the listener.ora and tnsnames.ora on both nodes just for simplicity but you don't have to do that.
    Any idea what port you used for your listener? The default 1521?
    A couple of examples from my test system:
    listener.ora (we use port 1550 by the way):
    LISTENER_DEVDB_NODE1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1550)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1)(PORT = 1550)(IP = FIRST))
    tnsnames.ora
    LISTENER_DEVDB_NODE1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1550)(IP = FIRST))
    LISTENER_DEVDB_NODE2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2-vip)(PORT = 1550)(IP = FIRST))
    LISTENERS_DEVDB =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1550)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2-vip)(PORT = 1550)(IP = FIRST))
    So our local listener is LISTENER_DEVDB_NODEn for each and REMOTE_LISTENER is LISTENERS_DEVDB on each node.
    Hope that helps. Any further questions let me know....
    cheers,
    Mark
    orabackus.wordpress.com

  • Configuring listener and tnsnames

    I have installed Oracle 10g Database, Oracle AS Infastructure, Oracle AS Middle Tier on the same machine. Can anyone tell me how to configure the single listener for all the 3 Oracle Products.

    It would be easier to help you if you provided OS and Oracle versions...
    Anyway, you shouldn't need any particular configuration : just start the listener from the highest Oracle version involved (probably the database).

  • Adcfgclone.pl dbTechStack on Target DB removes listener and tnsnames files

    Hello:
    I am doing a first-time clone from my PRD to my TST instance, and have undergone the following steps:
    1. perl adpreclone.pl dbTier on Source DB
    2. perl adpreclone.pl appsTier on Source AppTier
    3. Copy APPL_TOP, COMMON_TOP, ORACLE_HOME, IAS_ORACLE_HOME from Source AppTier to Target AppTier.
    4. Run perl adcfgclone.pl dbTechStack on Target DB.
    At this point is where I start running into issues. The dbTechStack deletes/recreates the tnsnames.ora, sqlnet.ora, and listener.ora files, and the DB can no longer startup. The below is in the logfiles. Am I doing something wrong? I guess the issue is not so much with it deleting/recreating the files, as it is with the values it puts into the files (i.e. DB port = 3001)
    Executing Technology Stack Configuration...
    Executing runAutoConfig...
    Deleting files of type INSTALL
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/sqlnet.ora
    File exists
    File deleted
    Processing driver file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/install/WMSTST_x07tst00/txkConfigDbOcm.pl
    File exists
    File deleted
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/dbs/initWMSTST.ora
    File exists
    File deleted
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
    File exists
    File deleted
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/tnsnames.ora
    File exists
    File deleted
    Testing for RAC specific parameters before running autoconfig
    No RAC specific parameters were found, running with CVM
    Starting CVM in INSTE8_SETUP mode
         Using Context file : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
    Attempting to create a back up of the Context file
    Created back up file of name :
    /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/out/WMSTST_x07tst00/12111155/WMSTST_x07tst00.xml
    ===========================================================================
    Starting synchronization of file system Context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature : Unverified
    File system template : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    Checking for customizations to Context template
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations.
    Looking for custom template at : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not available
    Customizations found : None
    File system Context file :/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
    Checking the Context file for possible updates from the Database
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
    Thanks!
    Edited by: user4434301 on Dec 11, 2012 12:39 PM

    Excellent. I copied the template file from another instance and the following messages were at the end of the logfile:
    Skipping Profile Phase
    Skipping Apply Phase
    Completed runAutoConfig...
    ApplyDBTechStack Completed Successfully.
    However I'm not completely certain this is entirely correct preclone. Can you tell me why the Profile and Apply Phases were skipped and why the following was displayed upon the screen on completion?
    Completed Apply...
    Tue Dec 18 11:25:39 2012
    Starting database listener for WMSTST:
    Running:
    /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
    Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
    You are running addlnctl.sh version 120.1.12010000.4
    Starting listener process WMSTST ...
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
    Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
    TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    addlnctl.sh: exiting with status 1
    addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
    That file shows the following:
    Starting database listener for WMSTST:
    Running:
    /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
    Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
    You are running addlnctl.sh version 120.1.12010000.4
    Starting listener process WMSTST ...
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
    Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
    TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    addlnctl.sh: exiting with status 1
    addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
    Should I have stopped the DB or listener before running the script?
    Edited by: user4434301 on Dec 18, 2012 9:18 AM

  • How to correctly export and share an ADF project?

    We are having some trouble with our SVN, so for the moment I am trying to share an ADF application I started developing with another developer by making a zip file of the entire application directory. We are both using JDeveloper 11.1.1.6.
    My colleague extracts the zip file and opens the application jws file, but JDeveloper on his machine does not seem to be recognizing that it is an ADF application. Many of the ADF libraries are missing in the project classpath, and the design editor does not open JSF files correctly, and shows lots of errors.
    Why might this be happening? What is the correct way to export and share an ADF application workspace?

    First thng to try is to rename the system11.1.1.x.x.x.x folder and start jdev again. Jdev will recreate the folder, but any bad configuration inside the folder are gone and this might help to get it running again. However, all customization done in jdev are gone. It's like jdev is freshly installed.
    If you try this and get the question if you like to migrate from an older version answer 'no' as you might get the error back this way.
    Timo

  • Meaning of sqlnet, listener and tnsnames

    I am a newbie.
    what is the purpose of sqlnet.
    what is meaning of i the listener:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db1)
    (PROGRAM = extproc)
    what is the meaning of in tnsnames:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    This is a windows 10g database on my laptop.
    I am getting error message when connecting using Toad:
    ORA-12514 - tns Listener could not resolve service name given in connect descriptor
    Thank You....................

    first, open the net manager assistant, and add you database to the services of your listener, after this check your tnsnames.ora file, to see if the database service is on the file, for more information, search in the database documentation chapters about Oracle Net.
    And sqlnet.ora, is the file that recognize the way you will connect to the database, try to read, the Oracle Databas 10g Administrator's Guide.

  • How to correctly identify and measure menu sizes

    I've got a project that upon build says it's utilizing less than 4.7G.  For that reason I began a build and after hours of processing it said there wasn't enough space even though Encore showed only 4.011G was used and over 600M was still available before the build.  Seems like it shouldn't build if it's not going to work out.
    Everything has been transcoded or is already converted to MPEG-2.  However I've read just about every thread I can find on the subject of dealing with the 1G menu size limit and now a new anomaly, the Times and/or chapters adjusted warning, has appeared.  I'm trying to understand how anyone can logically tie these back to something specific to troubleshoot and correct them.  Just about every other error links back to the problem so you can adjust it, but these are vacuous.
    My first question then is about menus and how a menu actually measured.  What determines total file size, the menu itself or the content that is linked from the menu?  Why not have a list of total menu sizes so you can see not only the individual file sizes, but the aggregates that impact the menu size limitation?
    All my menus are static and link to video clips.  My largest clip is about 511M of video and 265M of audio.  That one is already converted to MPEG-2.  I have less than 4.7G of content to burn to the DVD and appear to have plenty of headroom according to the build menu disk info.
    My next question is about a file that Encore says is in use, but it isn't.  It could be adding to my overall menu size, yet nothing is linked to it and no chapters appear to be in use with it.  It should be an orphan, but not according to Encore.  Again, shouldn't there be a logical way to identify that link?  Managing a dependency that can't be found is a nightmare.  None of the menus or timelines offer any insight about the mystery clip that can't be deleted.  I read a thread that said they had a similar problem, but building forced the anomaly out.  Didn't work for me.
    Then lastly, the time and/or chapter adjusted problem has no suggested corrective action.  It wasn't there before the build so why is it there now?  Is it due to transcoding?  I don't see any obvious changes to the timeline so where is the problem and how does is someone expected to troubleshoot it?
    Shouldn't there be a glossary of error codes somewhere with at least some basic explanation?
    Seems like a very clunky application, but when integrated with the rest of the Adobe Suite very powerful...if I can ever get a build to complete.
    Any suggestions?
    Message was edited by: Kevin Nay
    So as not to waste anyone's time I'm assuming the transcoding adjusted the timeline/chapters and I was able to solve one problem by adding back in an ending chapter point.  Remaining issue is the menu size however.

    Encore is being phased out?  I would be surprised if Adobe did not offer some kind of DVD authoring solution in it's place.  I have not heard about this yet myself.
    I have a menu size issue because, despite my reported file size being under 4.7G, Encore continues to report a menu size problem.  Of course it doesn't say which menu or by how much it is exceeded.  When I build it to DVD it waits several hours before reporting that there is a space issue.  See below.
    There is a file called woodstock-1.mp4.  I can find no use of this clip at this point and it's not part of a timeline, yet Encore won't let it be deleted.  Encore reports it's still in use.  Surely there should be some way to track down any dependencies quickly.

  • How to correctly export and animation as layers from ps cs 5.1 to apple's motion?

    I've made an animation in photoshop CS 5.1 with three layers that I want to export to Apple's application Motion in order to work on each layer individually. I can easily make a quicktime file, but I can't work on each layer this way. When I import the photoshop file I get the prompt "All Layers," which I choose, but there is no movement when I hit play on the timeline. Only one frame is displayed when there are a number of different frames, and animations. So, I've tried everything I can think of, but can't seem to crack this one. Any help would be appreciated.
    I'm using an IMac with 8 gigs of ram and 3 external hard drives with a terabyte internal drive.

    I'm sorry, but I'm new to how this Forum works. Sorry, that my posts didn't show up here. Not sure why.
    Thank you for your suggestion which I've tried. So now I have three separate layers in Apple's Motion. However, I want to import the rendered video from PS as alpha channels so that they don't need to have a transparent layer in Motion such as "Add". I want them to come in as transparent layers. I see no option in "Render Video," for making an alpha layer. What do you think I ought to do please? thanks so much! Lucinda

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • How to write the listener.ora and tnsnames.ora

    Hi, there
    I store my oracle database in the machine A. In the machine B,
    it only install the oracle without create database. How should
    I write the
    listener.ora and tnsnames.ora? So that the machine B could
    acces the database which store in the machines A.
    Could you give me a simple example and with some description.
    Thanks you very much!!
    null

    wrjih (guest) wrote:
    : Hi, there
    : I store my oracle database in the machine A. In the machine B,
    : it only install the oracle without create database. How should
    : I write the
    : listener.ora and tnsnames.ora? So that the machine B could
    : acces the database which store in the machines A.
    : Could you give me a simple example and with some description.
    : Thanks you very much!!
    1 - you can simply copy the files from the server to the client.
    If they are correct, it must work fine
    2 - Follow the examples inside the
    $ORACLE_HOME/network/admin/samples
    3 - Follow my examples:
    I will try to make it simple:
    The server must have the listener.ora. The client does not need
    it if you don't have a database there.
    I cannot tell you what is mandatory in the file, and what is not.
    The listener.ora has the interface (addr or name)
    to listen, the port/proto, and some info about your database
    ($ORACLE_HOME and Name).
    #--- Listener.ora -- my minimal settings ---
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    STARTUP_WAIT_TIME_LISTENER = 1
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    TRACE_LEVEL_CLIENT=OFF
    SID_LIST_LISTENER =
    (SID_LIST=(SID_DESC=
    (SID_NAME = SACS)
    (ORACLE_HOME=/oracle/805)))
    #---- end of listener.ora ---
    Both machines can, and should have similar TNSNAMES.ORA:
    tnsnames.ora has the address or name of the server, and the Name
    of the database you wish to connect to.
    #--- tnsnames.ora --- minimal.
    ORCL = (DESCRIPTION =
    (ADDRESS_LIST=(ADDRESS = (PROTOCOL = TCP)(Host=Server)(Port =
    1521)))
    (CONNECT_DATA = (SID = SACS)))
    #--- end of tnsnames.ora ---
    And finally sqlnet.ora, that is very usefull for setting secure
    networks or
    just logging for looking for errors. You can also set your
    keepalive timeout.
    #--- sqlnet.ora
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    SQLNET.EXPIRE_TIME = 10
    #-- end of sqlnet.ora --
    null

Maybe you are looking for

  • Air not responding when i try to run apps

    Hello, I am very new to Adobe air, installed it for the first time within the last month. Ive installed this on 2 machines and it works fine on them. Ive been trying to get it to work on this laptop for about a week now and I cannot figured it out. i

  • MM Report

    MM Report : How can I see those Material Only Which are not issued to any Department From Last 1,2,..n Months.

  • Sql Loader INFILE name value in table column Value

    Hi, Here is my Sql Loader Script LOAD DATA infile '%1' APPEND INTO TABLE XX_SUPPLIER_UPD FIELDS TERMINATED BY ";" OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS ACTION Char ,ADDRESS_TYPE Char ,REGION Char "LTRIM(RTRIM(:REGION))" ,PO_BOX Char ,,WWW_ADDR

  • Best Practices for pulling data out of Documentum (w/Crystal and Universe)

    I was curious to see if we had any best practices to see if we can pull data out of Documentum. Thanks Ian S

  • Change DNS client settings

    Hi, I have the following problem. We are using ZENworks 3.2 and we have some clients which have the internal DNS server manually configured in the TCPIP settings. I want to change that to "automatically", so the client gets the DNS Servers from the D