- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Port always in LISTEN
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
09-08-2006 03:33 AM
09-08-2006 03:33 AM
Port always in LISTEN
we are using HP-UX 11.23 Itanium machine for porting our application from solaris to HP-UX.
when we stop all the processes running on the user-id from which the application is started , one of the port is still in LISTEN state. No other process is bound to it. So, we are not able to connect to the same port again. We have to reboot the server to release that port.
netstat -an | grep < port> is showing the output that port is in LISTEN state. But, lsof is not showing any output , for grep on that port.
-> netstat -an | grep 53280
tcp 0 0 *.53280 *.* LISTEN
-> /tempdata/lsof | grep 53280
-> /tempdata/lsof -i:53280
->
When no other process is bound to the port, prot is supposed to get released right!
Is there any system parameter, we have to set for port to get relased or is it is bug in HP 11.23 Itanium release?
Thanks,
Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:12 AM
09-08-2006 04:12 AM
Re: Port always in LISTEN
Its important to understand that it might not be a user process that is using this port.
it may be a server daemon type process.
The port number is in a range that might be used by portmap as in NFS. NFS maps ports at random for NFS client sessions.
This would make it not a bug.
if you can:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
See if the process goes away.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 06:23 AM
09-08-2006 06:23 AM
Re: Port always in LISTEN
We ran lsof as root user, but still lsof shows that it is not used by any process.
And with root user, we ran teh below 3 commands..
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
But netstat shows that that port (53280) is in LISTEN state.
As no other process is attached to that port, Is it a bug in HP 11.23 Itanium?\
Thanks,
Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 05:23 PM
09-08-2006 05:23 PM
Re: Port always in LISTEN
Did you try to telnet from another machine to this port? (%telnet
what is the output?
Also there are ways for programs to listen without any output from netstat or lsof.
Try tcpdump utility to monitor the network,could help.
Cheers
flg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2006 12:52 PM
09-09-2006 12:52 PM
Re: Port always in LISTEN
Sorry.. I didnot understand the below message:
Also there are ways for programs to listen without any output from netstat or lsof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 06:14 AM
09-11-2006 06:14 AM
Re: Port always in LISTEN
As telnet servername port is connecting to the port, PORT is clearly in LISTEN mode, as netstat is showing the output. But, as no other processes are attached to the PORT, what the port is going to do in LISTEN mode!!!
please help me with this.
Also , Please let me know, if there is any way to connect/bind to the port, even though it is in LISTEN state!!
-Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 06:50 AM
09-11-2006 06:50 AM
Re: Port always in LISTEN
Regards,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 09:03 AM
09-11-2006 09:03 AM
Re: Port always in LISTEN
53280 is defined in our /etc/services and we did grep on the service name instead of 53280. But still, we didn't get any response from lsof.
We tried with both our own compiled version of lsof (lsof lsof-4.77) and downloaded lsof (version lsof-4.77 from http://hpux.connect.org.uk/ -- 32 bit . 64 bit not available), both of them are not returning any output.
Few more things I forgot to mention in my previous mails:
1) We are using weblogic in our application. Weblogic server will send data to 53280 (problematic port).
2) When the application is running fine, lsof is showing 2 output's , when I grep on that port(53280).
MWBusHttp 17724 apr03 6u IPv4 0xe00000018b634900 0t0 TCP *:53280 (LISTEN)
MWBusHttp 17725 apr03 6u IPv4 0xe00000018b634900 0t0 TCP *:53280 (LISTEN)
Thanks,
Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 03:23 AM
09-20-2006 03:23 AM
Re: Port always in LISTEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 03:26 AM
09-20-2006 03:26 AM
Re: Port always in LISTEN
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 09:06 AM
09-20-2006 09:06 AM
Re: Port always in LISTEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2006 06:33 AM
09-27-2006 06:33 AM
Re: Port always in LISTEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 03:58 AM
10-03-2006 03:58 AM
Re: Port always in LISTEN
Thanks to everyone.
Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2006 03:59 AM
10-03-2006 03:59 AM