- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to release a locked port number
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
тАО01-11-2010 01:05 AM
тАО01-11-2010 01:05 AM
How to release a locked port number
How do i release one locked port number in HPunix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 02:16 AM
тАО01-11-2010 02:16 AM
Re: How to release a locked port number
Try to locate the process with lsof keeping this port locked.
http://mirrors.develooper.com/hpux/lsof-4.80-11.00.sd.bz
# lsof -i tcp:28000
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 04:38 PM
тАО01-11-2010 04:38 PM
Re: How to release a locked port number
Unless the application sets SO_REUSEADDR() before calling bind() with the well-known port number, not only will any previous instance of the application with a socket bound to that port need to be closed, but also (IIRC) all the TCP endpoints in TIME_WAIT etc will have to clear-out.
And since you mention 11.0, "insert usual suggestion to upgrade to a supported OS revision here" :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2010 05:18 PM
тАО01-11-2010 05:18 PM
Re: How to release a locked port number
Probably you may stop the service and then try
lsof to find which process is using this port.
Kill that process and restart the process.
Should help.
Anyways 11.00 is out of support, you should upgrade you OS.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 08:44 PM
тАО01-12-2010 08:44 PM
Re: How to release a locked port number
I am able fix that problem.
Thanks lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 08:52 PM
тАО01-12-2010 08:52 PM
Re: How to release a locked port number
whats is that??? If you are now able to fix that problem then you should explain here what is the solution you got so in future it can help others if same problem occurs.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 09:01 PM
тАО01-12-2010 09:01 PM
Re: How to release a locked port number
First i made my application down and
In /vat/tmp/ one lock file will be there which ends with my application name that i have deleted
Then started my application and it started with out any issues
My application is UGS software.
Thanks
Sheejith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 01:17 AM
тАО01-13-2010 01:17 AM
Re: How to release a locked port number
Best regards
Horia.
Horia.