- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- About tnsnames.ora and listener
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2007 01:13 AM
тАО09-07-2007 01:13 AM
About tnsnames.ora and listener
When the Oracle is up and running and I make some change in tnsnames.ora, is it necessary to restart the listener for it to pick up the updated tnsnames.ora?
I initially thought that the listener shoudl be restarted to pick up the new changes.
But yesterday I did a change in tnsnames.ora and the change was effective without restarting the listener.
Please let me know.
Thanks and regards,
Kaustubh Kane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2007 01:23 AM
тАО09-07-2007 01:23 AM
Re: About tnsnames.ora and listener
Your evidence tells my you don't need to restart the listener.
You need to make sure it WILL start after the change, but you can schedule it.
You can use tnsping to make sure all connections work after your change.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2007 01:42 AM
тАО09-07-2007 01:42 AM
Re: About tnsnames.ora and listener
The listener gets it's databases from the database-instance itself, that does a registration with the listener.
So indeed, when you modifu tnsnames.ora, the client is aware on new rules to connect to (new) databases, but nothing changes for the listener itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2007 08:54 AM
тАО09-10-2007 08:54 AM
Re: About tnsnames.ora and listener
oracle> lsncrtl status LISTENER
oracle> lsncrtl reload LISTENER
oracle> lsncrtl status LISTENER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2007 03:03 AM
тАО09-14-2007 03:03 AM
Re: About tnsnames.ora and listener
The listener "listens" for incoming network connections to the database. The databases register themselves through automatic service registration, or they can be manually configured in the listener.ora file. In the latter case, if the listener.ora is modified, you will need to restart.
The tnsnames.ora file is used for resolving database connection strings into the data needed to connect to a database. For a standard TCP connection, this is the (host, port, service_name) of the target database. The tnsnames file is read everytime a new client connection is attempted, so the changes are seen as soon as you update the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 03:22 AM
тАО09-20-2007 03:22 AM
Re: About tnsnames.ora and listener
The replies were very informative.