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: Help! "localhost" in listener.ora?

Re: Help! "localhost" in listener.ora?

From: Kai Horstmann <horst_at_werum.de>
Date: Tue, 26 Jan 1999 22:14:10 +0100
Message-ID: <36AE3022.7796A1CF@werum.de>


Seems a unix machine where you want to do this. Try a little shell script like

sed -e "s/SERVERNAME/`hostname`/g" listener.template >listener.ora

Deliver a file listener.template first that contains the word SERVERNAME where the servername should reside. The sed command extracts the local hostname and replaces the search pattern.

Good luck
Kai Received on Tue Jan 26 1999 - 15:14:10 CST

Original text of this message

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