- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: inetd issue
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
07-14-2003 03:57 AM
07-14-2003 03:57 AM
I have two servers in cluster and two programs that run one on each server and listening to port 94. Well, each program (package) has it's own IP, so there is no problem when both of them are running on the same server because the binding to the port is done by IP, and if they have differnt IPs so there is no problem that they will listen to the same port number, but I need entry in the inetd.conf, and it's the problem because then I'll have two different entries for the same port, how can I solve this issue and tell OS that even it's the same port it's for the different IPs?
thanx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 04:42 AM
07-14-2003 04:42 AM
SolutionIt will be unnecessary to make duplicate entries in either /etc/inetd.conf or /etc/services.
I thinking that you're thinking too far down in the OSI 7 layer stack since sockets begin at layer four and above making them unique identifiers through the merging of IP and PORT numbers.
Here is a link to 'lsof'. Use the command 'lsof -i tcp:21' to get a better picture of what open files and processes are using each port.
http://hpux.cict.fr/hppd/hpux/Sysadmin/lsof-4.64/
I'm a huge believer in 'lsof' being apart of every sys admin's tool box for its an extremely useful tool.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 04:44 AM
07-14-2003 04:44 AM
Re: inetd issue
I don't completly understand you question. But I think you want to create a restriction in you inetd.sec file for you server. I think when you invoke a restriction in inetd.sec it will automaticly be used for both ip's because the inetd will work for both ip's and will use the same restrictions for them.
Regards,
D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 10:37 PM
07-14-2003 10:37 PM
Re: inetd issue
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:00 PM
07-14-2003 11:00 PM
Re: inetd issue
i think of this problem like a problem with oracle listener (of which i have experience).
Sorry, but in this case there is no solution as far as i know. When you plan such configuration, you should also check that there is no overlay in the configurations.
In oracle listener we can use a single program, listening to both port and with different parameters, or we can use a single port with multiple parameters.
Is it also possible for your program ?
May bet there are someadvanced settigns, try asking to the software house.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 02:53 AM
07-15-2003 02:53 AM
Re: inetd issue
thanx anyway!