- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Socket Error !!
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
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-04-2001 03:06 AM
тАО09-04-2001 03:06 AM
Socket Error !!
==============================
Binding TCP Socket: Address already in use
cannot establish tcp listening socket: Address already in use
Trying to connect an existing tcp listening socket...
*WARNING* Unable to open -nograph X Window Display
==============================
I have checked for patch compares with similiar systems and found no difference.Can someone explain to me what these errors are and how to resolve ?
System details are as follows:
OS Revision: HP-UX 11.00
Main Memory: 8388 MB
Swap : 22970 MB
Model: 9000/785/J6000
No of CPUs : 2
CPU Speed (in MHz): 552
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 03:34 AM
тАО09-04-2001 03:34 AM
Re: Socket Error !!
You are giving a socket number already in use, so the bind process can not handle it.
You may choose another free socket number and rebind.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 06:45 AM
тАО09-04-2001 06:45 AM
Re: Socket Error !!
You can either reboot the box to get rid of the port or use "tcp_discon_by_addr" an unsupported parameter of ndd.
Check this thread out
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xb5815220af9bd5118ff10090279cd0f9,00.html
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 10:28 AM
тАО09-04-2001 10:28 AM
Re: Socket Error !!
If you use tusc with the verbose settings, you can see which port the command is trying to bind. Then you can use that information with lsof to see which process has the port bound and consider terminating that process. If there is no process, it could be that there are still old TCP connections in the TIME_WAIT state laying around with that local port number
If that is the case, the proper fix is to get the app fixed. It should be setting SO_REUSEADDR before calling bind(). Anything else is merely treating a symptom, perhaps in ways that will come back to bite you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 11:29 PM
тАО09-05-2001 11:29 PM