- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why port number for oracle listener is not in /etc...
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
Forums
Discussions
Discussions
Discussions
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
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
03-27-2002 07:22 PM
03-27-2002 07:22 PM
Why port number for oracle listener is not in /etc/services?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 07:34 PM
03-27-2002 07:34 PM
Re: Why port number for oracle listener is not in /etc/services?
It is not a requirement to have the port numbers listed unless you are using certain services using /etc/inetd.conf. Some organisations make it requirement to list the port numbers in /etc/services for Information purposes.
Thanks
Giri Sekar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 07:40 PM
03-27-2002 07:40 PM
Re: Why port number for oracle listener is not in /etc/services?
Here is what I was told about /etc/services. (thanks to Mr. James F. it did sink in)
/etc/services doesn't necessarily list the port number. "Official" services and their port numbers can be found in the services file, but there is no requirement to place a port number in /etc/services to be able to use it. Call like 'getservbyname()' and 'getservbyport()' can be used to obtain the name for a port number and the port number for a name if the pair are defined.
To see the port numbers on your system you can run:
# netstat -an
To see what is actually "listening"
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 07:41 PM
03-27-2002 07:41 PM
Re: Why port number for oracle listener is not in /etc/services?
Oracle listener configuration is controlled by the listener configuration parameters and the listener can be started or stopped as per oracle requirements. The port configured under /etc/services are controlled by the system and if configured the process will be listening on that port all the time the system is up. The case is not same with the oracle listener which can be started and stopped by oracle dba at his convenience or even by system startup script.
Have not heard of any security issues with the oracle listener till now.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 08:04 PM
03-27-2002 08:04 PM
Re: Why port number for oracle listener is not in /etc/services?
Another question, what's the relationship between /etc/services and /etc/inetd.conf? I saw finger is in service but is comment out in inetd.conf. So can it be used or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 08:13 PM
03-27-2002 08:13 PM
Re: Why port number for oracle listener is not in /etc/services?
The service (daemon) name and the executable associated with that daemon alongwith arguements (options) if any are mentioned in the /etc/inetd.conf file. The /etc/services files has got the mapping for the port number associated with the daemons.
If a service is commented in /etc/inetd.conf file the port no associated with that service (as mentioned in /etc/services) can be configured for use by another daemon. Only when the daemons is started using inetd the daemons listens on the port mentioned in /etc/services.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 09:23 PM
03-27-2002 09:23 PM
Re: Why port number for oracle listener is not in /etc/services?
if you use a name instead of a portnumber, then Oracle DOES use "/etc/servcies".
It is just tradition to use portnumbers within the "listener.ora" and the "tnsnames.ora", but you can use names, and I do this quite often.
But it is YOU to insert and maintain those lines in the "/etc/servcies", and the next DBA might nor care about it and use numbers again...
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 09:35 PM
03-27-2002 09:35 PM
Re: Why port number for oracle listener is not in /etc/services?
Oracle port listener might have appeared in your previous company's servers, as there might have been a realtive daemon configured at /etc/inetd.conf as well.
If "finger" is in service but is comment out in inetd.conf, It can't be used by finger service.
But the port is available to the local network and if not blocked by firewall to the network behind firewall.
"Telnet
; to see a port is accessible or not.
-Vijay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 01:13 PM
03-28-2002 01:13 PM
Re: Why port number for oracle listener is not in /etc/services?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 12:05 AM
04-01-2002 12:05 AM
Re: Why port number for oracle listener is not in /etc/services?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 05:02 AM
04-01-2002 05:02 AM
Re: Why port number for oracle listener is not in /etc/services?
Before Attempting to Answer Further, if you would take a little time for those who spent thier valuable time for you and assign the points whichever you feel as appropriate it would be better.
Brian.