Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: listener.ora, tnsnames.ora

Re: listener.ora, tnsnames.ora

From: tojo <tom_at_hotmail.com>
Date: Mon, 4 Mar 2002 18:07:14 +0100
Message-ID: <MPG.16edc82923f098919896b0@news.t-online.de>


InstallShield is perfectly capable of adding lines of text to a text file. I've done this many times using WISE Setup.

In article <55f9b64.0203040619.2c0ed82c_at_posting.google.com>, iandonov_at_netscape.net says...

> "Howard J. Rogers" <dba_at_hjrdba.com> wrote in message news:<a5vfmb$780$1_at_lust.ihug.co.nz>...

> > What's wrong with notepad? All you do is find your existing listener.ora
> > and tnsnames.ora in ORACLE_HOME\network\admin, and open them up in notepad
> > and start typing.
> >
> > Regards
> > HJR
> > --
> > ----------------------------------------------
> > Resources for Oracle: http://www.hjrdba.com
> > ===============================
> >
> >
> > "Ivan Andonov" <iandonov_at_netscape.net> wrote in message
> > news:55f9b64.0203040138.73e54d0b_at_posting.google.com...
> > > How can I add entries for new database in listener.ora and tnsname.ora
> > > with command line tool??
> > >
> > > I am building Installshield setup for database for Oracle 9.
> > > I can create instance with .bat file using ORADIM, and I can create
> > > the database with SQLPLUS scripts, but I cannot add entries in
> > > LISTENER.ORA and TNSNAMES.ORA
> > >
> > > Please HELP!!
> > >
> > > Thanks
> > > Ivan Andonov
> 
> 
> You do not understand the situation:
> 
> I am building Setup for an Oracle database.
> I call ORADIM and SQLPLUS from InstallShield script - I have templates
> for .bat files and .slq scripts and when I want to add
> programmatically entries for my database in LISTENER.ORA and
> TNSNAMES.ORA, I cannot do it.
> 
> I must ask 'end user' to open this files and write in it. 
> This is not good.
> This is absurd!
> And this is only Oracle!
> 
> Thanks
> Ivan Andonov
> 
Received on Mon Mar 04 2002 - 11:07:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US