- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netstat command hangs on HP-UX 11.00
Operating System - HP-UX
1771005
Members
2807
Online
109003
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-04-2000 02:32 AM
тАО04-04-2000 02:32 AM
netstat command hangs on HP-UX 11.00
I am having a problem. One of our applications checks to see if a previous
incarnation is still using a port on the current machine using netstat. If it
is still in use, the program loops, checking for the port in netstat prior to
returning. Unfortunately, when we moved this application from HP-UX 10.20 to
11.00, the netstat command now hangs. Since it fails to return, our application
never starts. Can anyone either 1) tell me how to fix this, or at least if
they've experienced it as well, or 2) identify another command that will let me
check to see if a port is available?
Thanks in advance.
Ciao!
Don
incarnation is still using a port on the current machine using netstat. If it
is still in use, the program loops, checking for the port in netstat prior to
returning. Unfortunately, when we moved this application from HP-UX 10.20 to
11.00, the netstat command now hangs. Since it fails to return, our application
never starts. Can anyone either 1) tell me how to fix this, or at least if
they've experienced it as well, or 2) identify another command that will let me
check to see if a port is available?
Thanks in advance.
Ciao!
Don
- Tags:
- netstat
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 04:01 PM
тАО04-04-2000 04:01 PM
Re: netstat command hangs on HP-UX 11.00
I am having a problem with netstat -a hanging, but netstat -an doesn't.
Looking up names with nslookup works fine. The problem only occurs on our
HP-UX 11.0 boxes; it doesn't occur on our
10.20 boxes. Is this the problem ?
What is causing this problem?
Configuration Info
Operating System - HP-UX
Version - 11.0
Hardware System - HP9000
Series - K-series
Solution
rfc1122 defines the all-zeros-broadcast for 0.0.0.0 to be able to ping all
hosts within a subnet. 11.0 is compliant with the rfc.
Solve the problem by preventing the server from continuing to lookup 0.0.0.0 by
defining it in /etc/hosts or namespace in DNS.
Looking up names with nslookup works fine. The problem only occurs on our
HP-UX 11.0 boxes; it doesn't occur on our
10.20 boxes. Is this the problem ?
What is causing this problem?
Configuration Info
Operating System - HP-UX
Version - 11.0
Hardware System - HP9000
Series - K-series
Solution
rfc1122 defines the all-zeros-broadcast for 0.0.0.0 to be able to ping all
hosts within a subnet. 11.0 is compliant with the rfc.
Solve the problem by preventing the server from continuing to lookup 0.0.0.0 by
defining it in /etc/hosts or namespace in DNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 08:17 PM
тАО04-04-2000 08:17 PM
Re: netstat command hangs on HP-UX 11.00
rfc1122 defines the all-zeros-broadcast for 0.0.0.0 to be able to ping all
hosts within a subnet. 11.0 is compliant with the rfc.
Your other option is to turn OFF the broadcast of the address in the kernel.
You have to remember to do this everytime the kernel is rebuilt, but not
rebootrd.
/usr/bin/ndd -set /dev/ip ip_check_subnet_addr 0
You can also have this run as a startup script
hosts within a subnet. 11.0 is compliant with the rfc.
Your other option is to turn OFF the broadcast of the address in the kernel.
You have to remember to do this everytime the kernel is rebuilt, but not
rebootrd.
/usr/bin/ndd -set /dev/ip ip_check_subnet_addr 0
You can also have this run as a startup script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 11:46 PM
тАО04-04-2000 11:46 PM
Re: netstat command hangs on HP-UX 11.00
Add the following lines in your /etc/hosts file
0.0.0.0 anyhost
127.0.0.1 localhost
if both are not there.
regards
0.0.0.0 anyhost
127.0.0.1 localhost
if both are not there.
regards
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP