Isqlplus and TNS_ADMIN

Hi,
i want to implement several isql plus servers on the same machine. What i want to do is have a different TNS_ADMIN variable for each one, resulting in a PROD isql, a DEV isql etc. Has anyone done this? I havent managed to figure out how yet. Any ideas gratefully received.
Cheers,
Richard.

I was able to do it by starting two Apache servers.
I copied $ORACLE_HOME/Apache/Apache/conf/httpd.conf to httpd2.conf. I
edited the new file and changed the Port and Listen directives from
7777 to a new port, 7779. I changed the PidFile directive to a new
file.
I copied $ORACLE_HOME/Apache/Apache/bin/apachectl to apachectl2 and
edited its PIDFILE variable to match the httpd2.conf PidFile filename.
I then started the second Apache with:
$ORACLE_HOME/Apache/Apache/bin/apachectl2 start -f $ORACLE_HOME/Apache/Apache/conf/httpd2.conf
The URL to access the second iSQL*Plus server obviously needed to use
the new port:
http://host.domain:7779/sqlplus
I was able to change my TNS_ADMIN before starting the second server
and change the available network aliases for that server.
I could also copy isqlplus.conf to isqlplus2.conf, add a
iSQLPlusConnectIdList option, change httpd.conf to include
isqlplus2.conf (instead of oracle_apache.conf) and have a drop down
list for the new iSQL*Plus server.
I don't know what the Oracle HTTP folks would say about all of this
though. Use at own risk.
-- CJ

Similar Messages

  • Where do I fit iSqlplus and DBCA in Oracle Enterprise Management Framework

    The Oracle Enterprise Management Framework is divided into these functional areas:
    * Managed targets
    * Management Services
    * Oracle Management Repository
    * Oracle Enterprise Manager 10g Grid Control
    * Oracle Enterprise Manager 10g Database Control
    * Application Server Control
    Where do I fit iSqlplus and DBCA in this above category ?

    The Oracle Enterprise Management Framework is divided into these functional areas:
    * Managed targets
    * Management Services
    * Oracle Management Repository
    * Oracle Enterprise Manager 10g Grid Control
    * Oracle Enterprise Manager 10g Database Control
    * Application Server Control
    Where do I fit iSqlplus and DBCA in this above category ?

  • Unset ORACLE_HOME and TNS_ADMIN

    OS: AIX / IBM 5.2
    DB: 10.2.0.1.0
    I am installing Oracle on two server.
    One is the clean install,
    I mean no DB install on that one.
    On other server, I am re-installing Oracle Database 10.2.0.1.0 on AIX.
    Due to several reasons I need to reinstall same version of Oracle DB.
    My question is as follows:
    Do I need to unset ORACLE_HOME and TNS_ADMIN prior to run runInstaller?
    If yes, why?
    If I do not do,
    what could be the cause?
    I think in past I always installed Oracle without unset ORACLE_HOME and its work fine. But I have noticed in the white small installation guide book come along with CD pack. its says "unset ORACLE_HOME and TNS_ADMIN" prior to run runInstaller.
    Please advice me.
    thanks

    My enironments variables are set but Quick Installation Guide book comes along with Oracle CD pack stated that.
    14) Enter the following commands to enuse that the ORACLE_HOME and TNS_ADMIN environment varaibles are not set:
    Bourne, Bash, or Korn shell:
    $unset ORACLE_HOME
    $unset TNS_ADMIN

  • ISQLPlus and Oracle HTTP Server

    After I reinstalled Oracle 9i on Windows XP, I now get a a FastCGI server error whenever I attempt to launch Oracle HTTP Server: "Redefinition of previously defined FastCGI Server". How do I correct this? I uninstalled the database prior to reinstalling. Question 2: I also installed Oracle 9i on Windows 98 and Oracle HTTP Server appears NOT to be part of the install so I don't know how to make iSQLPlus work. Any ideas on either of these? I would prefer to work on Windows XP.

    In answer to your first question, it may be answered in this SQL*Plus FAQ entry:
    http://otn.oracle.com/support/tech/sql_plus/htdocs/runtime.html#isql_duplicate_entries
    In answer to your second question, I don't think iSQL*Plus is part of the Windows 98 install. I don't think you even have a database, just the Oracle Client.
    Alison

  • Oid and tns_admin

    Does OID still support using TNS_ADMIN? The reason I am asking is because when I set TNS_ADMIN and then run netca to make changes, it seems that the changes are going to the files in $ORACLE_HOME/network/admin. I am trying to install and test OID without disrupting my current set up of tnsnames and listener.ora.
    Any help would be appreciated.
    Thanks.
    DKM

    Hello Diane:
    OID will needs its own instance of the databae created with the UTF8 character set and will have its own tns listener. So the answer is yes. You will need to create a listener for your OID instance.
    Thanks,
    Jay
    null

  • Em and isqlplus do not display web pages

    Hi friends,
    I have installed now ora10g R2 on windows2003 and it
    was done successfully with all the services up and
    running. But web-based OEM and isqlplus wont run.
    http://HPG4:5561/isqlplus and http://HPG4:1158/em display blank pages.
    Can u help me pls....thanks :)
    Message was edited by:
    [email protected]

    Thanks again everyone...
    Im testing the url at the local server and im using I.E 5.0.
    For oem i checked that the OracleDBconsoleORCL service is started
    i guess this is the same as starting emctl at command line.
    The server name is HPG4. when i run the url at the local server
    http://HPG4:1158/em will display blank while...
    http://localhost:1158/em is ok
    and when i run http://HPG4:1158/em at another client pc the result is also ok.
    For isqlplus i checked that the OracleOraDb10g_home1iSQL*Plus service is
    started and i think this is the same with starting the isqlplusctl at command line.
    for isqlplus the default port is 5561.
    When i run isqlplus both at the client and local server gives the same
    error (PAGE CAN NOT BE DISPLAYED) is shown. There must be error in the
    configuration of isqlplus i guess :(

  • How i can use isqlPlus DBA and ISQLPlus from the web browser

    Hi
    thank you for reading my post
    how i can use isqlPlus ?
    after i instlled Oracle 10gr2 it said that my isql plus is accessable from
    http://127.0.0.1:5560/isqlplus
    but when i navigate to this url , it asks me for a username and password
    i can not connect to it by using : system/system that i use to connect to Enterprise manager.
    when i use system/system to connect to sqlPlus it says :
    401 Unauthorized
    what is username for isqlplus ?
    what is its use ?
    when we need to use isqlPlus and when we need enterprise manager
    where i can find resources for learning isqlplus
    Thanks
    null

    "Well, I think you're referring to my previous post, and yes, my definition was not precise enough, but if you read carefully I specified "where you execute Sql commands", and it was just opposite to EM."
    Not sure I caught all that.
    Actually, I wasn't responding to your post at all. In 9i, you could not develop PL/SQL within the iSQLPlus interface. You could call procedures and functions, but the DECLARE/BEGIN/END syntax would throw an "unsupported" error. They may have upgraded the feature set in 10g, and if so, then my comment may not apply. I didn't catch which specific version the question was about. My bad. All I was trying to do was point out benefits of each. Picking a tool to use should be based upon your knowledge of each tool and the benefits they provide in acheiving your goal.

  • Installing isqlplus on existing 9.2.0.3  & 9.0.1.4 databases

    I have two Oracle databases one is 9.2.0.3 and one is 9.0.1.4. I would like to install isqlplus on these two systems. Can I do a custom install from a 9.2.0.4 install disk and just select isqlplus and or isqlplus and http for the install type?
    Thanks,
    John

    I haven't tried to install iSQL*Plus after the installs have been patched, but I suspect you will need to do a custom install from the original CDs. It may be safer and easier to install in one place, then configure that install to connect to the other databases.
    Alison

  • Arabic support in isqlplus after import export from 7.3.4 to 10.2.0.3

    CANNOT DISPLAY ARABIC IN ISQL*PLUS(JUNK). APPLICATION WORKS FINE WITH ARABIC
    with Taret DB char set to US7ASCII the data is always junk old data +new inserted arabic data inserted thro isqlplus or sqlplus.
    with AR8MSWIN1256 the old data(imported in to new db from old 7.3.4 db export dump) is displayed as junk (what ever in the db) and after creating a new table data inserted, the arabic display is fine.
    How to overcome the problem of displaying old data? we have lots of data for migration.
    Thanks

    Small correction
    In DB with Char set to AR8MSWIN1256.......
    Old data exported from 7.3.4 and imported in new 10.2.0.3 db is showing arabic char as junk
    But new table created and data inserted as arabic is displaying properly.
    What has to be done such that old imported data displays arabic.
    We are using isqlplus and sqlplus to query the data
    Thanks

  • Oracle Server 10.2.0.1 : isqlplus/dba/server URL : Host not found

    Windows XP SP 2
    Oracle Server 10.2.0.1
    DNS active
    Microsoft loopback adapter installed
    Provided URLs (isqlplus, dba, database control) does not work.
    IE shows an Error Message :
    "Network Access Message: The website cannot be found "
    "Error Code 11001: Host not found "
    Thanks for any help.
    Message was edited by:
    user583025

    Help yourself and God will help you !
    The URL provided for database control is now working.
    I had to clear all check boxes on dialog reached throughout IE/Tools/Internet Options/Connections/LAN Settings.
    The two other URLs - those provided at the end of Oracle Server installation for isqlplus and dba - are still not working.
    The error is now "Internet Explorer cannot display the webpage".
    So I still need some help...

  • Default directory for sql script in iSqlplus 10g

    I want to run an sql file from the url as "http://machine_name.domain:5560/isqlplus/dynamic?script=http://machine_name2.domain/myscript.sql
    ". What is the default directory to place the file myscript.sql in? Do I need to create a DAD for specifying a different directory?
    Am using Oracle 10g.
    AN

    Hi Alison,
    I tried putting the sql script on different directories on the Oracle server but the url doesnt seem to find the script at all. It gives an error "Cannot find sql script".
    I have not installed Oracle Application server 10g yet. Am only running Oracle Database 10g with iSqlplus and PL/SQL.
    AN

  • Cannot use isqlplus! help!!

    Hello! I just installed the downloaded version of Oracle9i (version 2) onto an XP Home partition, and although everything else seems to be working so far, I cannot get on to use isqlplus, and I cannot figure out why! The infamous "this page cannot be displayed" comes up. Any help would be greatly appreciated!! Thanks!!
    PS) I'm new to Oracle, in fact, I'm studying now to take the first exam, so please excuse my ignorance!!

    I didn't actually select any options during install... I wasn't given any choices other than which Oracle edition to install, and I chose Enterprise. The HTTP server is set to automatic start in the services panel. No matter what I change that to (manual, automatic), whenever I click start, a popup comes upsaying that the process has started and stopped because it is not being used now and is automatically started when needed.
    I also tried to connect as http://localhost/isqlplus and I still get the same page error.
    Should I uninstall and re-install the entire thing?

  • Isqlplus configuration problem

    Please help. I have been trying to configure isqlplus and have been able to. I am able to access the apache server but when I try to access isqlplus I get a 500 internal server error. The error log shows the following message:
    FastCGI: comm with server "c:/oracle/ora92/bin/isqlplus" aborted: protocol error: invalid version: 60 != FCGI_VERSION(1)
    Thanks
    Lorraine

    Lorraine,
    Do you have another version of FastCGI installed? It looks like there's a conflict of FastCGI versions. iSQL*Plus should be configured correctly during the installation and there isn't anything you need to do to connect to it (apart from setting up DBA access to the isqlplusdba URL).
    Alison

  • Instant client and Error while trying to retrieve text for error ORA-01019

    For an older Windows app, I am exploring using Windows 32 bit IC  instead of a full Oracle client installation:
    IC 10.1.0.5 works fine for me but has the problem of not being able to connect if run from a folder containing parens ().  ie.,   C:\Program Files (x86).
    IC 10.2.0.3  gives the error "Cannot load any communication DLLs, network may not be installed".  SQL+ works.
    IC 10.2.0.4 gives the error "Error while trying to retrieve text for error ORA-01019".  SQL+ works.
    Does someone know why these three versions of IC would behave this differently on the same environment?
    I have tried all sorts of things with ORACLE_HOME and TNS_ADMIN with IC 10.2.0.4.
    Do you know which client version is the first to have the fix for the known C:\Program Files (x86) connect problem?
    Or are their patches to IC 10.1.0.5 that I could implement ?
    Any help or enlightenment would be appreciated.

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • TNS: Packet mismatch and connection problem

    Hi friends,
    Please post a solution to the following situation..
    Environment :::
    Network :- Win'NT 4.x with Netware 4.x gateway
    Client OS :- Win'95
    Application s/w :- Forms#5.0
    RDBMS :- Oracle 8.0.5 on NT
    Problem :-
    When I am working on client machine, some times the system is
    reporting the error "TNS: packet failure, not connected to
    oracle"
    This problem is occuring in a irrgular intervals. Please post
    the possible causes.
    Have a nice day.
    Suneel Kumar dasari
    null

    When you say the Oracle registry, do you mean the Windows System registry? You should set the System PATH and TNS_ADMIN in the Environment Variables in Windows. Please try that.

Maybe you are looking for

  • SIM not provisioned on an ipad that has been operating for five years, help

    My ipad was installed at the same time as the MacBook Pro 5 years ago; I've never had to do anything with it other than upgrading the software (hook up to the MacBook Pro).  Now it shows "no service" and the network shows "sim not provisioned."  I wr

  • Text file storing in a database table

    I have a text file, that contains so many lines in it,.. Now the problem is that.. I want to store my text file with the pl/sql code in a database table.... plz suggest, how to create a table and how to store that text file in a database table.....

  • USER EXIT QUERRY .

    Dear All, Good Morning                          Kindly guide me that I want to add a field in P.O just near to " DELV. DATE " Colimn i want add a new field for " DAY " i.e the day should also be display here in this new column, but i had heard about

  • Support for setting up Paid book account ibook author

    I want to set up a pid book account for ibook author. did get a US EIN (I am German), got meanwhile an ISBN, and filled the form for a paid book account some 6-8 weeks ago. No response at all ydet from apple. I thenwanted to set up another account wi

  • Load balancer + Fed auth cookies + Sharepoint

    I have a login page which creates a fed auth cookie and establishes session in sharepoint Now, Since the time site moved to load balancer environment, it started behaving differently The fed auth cookie is being created. But still I am not logged in!