Unix Technical Forum

PATH to LISTENER.ORA

This is a discussion on PATH to LISTENER.ORA within the Oracle Miscellaneous forums, part of the Oracle Database category; --> I know I'm getting old. I used to know how to determine Oracle's search path to the listener.ora file ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 09:47 AM
Fred Puhan
 
Posts: n/a
Default PATH to LISTENER.ORA

I know I'm getting old.

I used to know how to determine Oracle's search path to the
listener.ora file but I've forgotten.

The other day, while working with a client, I discovered (through
LSNRCTL) that the parameter file being used was /etc/listener.ora and
we had been looking at $ORACLE_HOME/network/admin/listener.ora. My
suggested solution was to redirect the listener to read the one in the
Oracle path, but I couldn't remember how. Doh!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 09:48 AM
Sybrand Bakker
 
Posts: n/a
Default Re: PATH to LISTENER.ORA

On Wed, 2 Jul 2003 14:24:32 GMT, Brian Peasland
<oracle_dba@remove_spam.peasland.com> wrote:

>Oracle will use the directory specified in your TNS_ADMIN environment
>variable first. After that, it will look in $ORACLE_HOME/network/admin.
>
>HTH,
>Brian



don't think so

1 the current directory
2 the TNS_ADMIN directory
3 the /var/opt/oracle directory (Solaris) or /etc (all other Unixes)
4 $ORACLE_HOME/network/admin

It will definitely look in /etc *before* $ORACLE_HOME/network/admin.
Why do you think the OP ran into trouble?


Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 09:49 AM
Daniel Nichols
 
Posts: n/a
Default Re: PATH to LISTENER.ORA

>
>1 the current directory
>2 the TNS_ADMIN directory
>3 the /var/opt/oracle directory (Solaris) or /etc (all other Unixes)
>4 $ORACLE_HOME/network/admin


I agree with Brian, the TNS_ADMIN environment has priority. On Windows
the environment variable will take priority over a registry TNS_ADMIN
entry. I think only SQL*PLus will use tnsname.ora in the current
directory.

Daniel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com