- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ports in use
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
02-20-2007 12:00 PM
02-20-2007 12:00 PM
Ports in use
How can I check my system to see if port 5000 is being used?
I am attaching a file with the error.
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 12:11 PM
02-20-2007 12:11 PM
Re: Ports in use
Use lsof utility to find out whats happening with the ports ,
Use it with swinstall and use the command from /usr/local/bin
- To check manpage # man lsof
Here it is :
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=lsof
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 02:06 PM
02-20-2007 02:06 PM
Re: Ports in use
If you refer to this link, you will see that your application isn't playing by the rules as it is using an already registered port for some other nefarious use.
http://www.iana.org/assignments/port-numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 04:44 AM
02-21-2007 04:44 AM
Re: Ports in use
When I tried netstat I was given a lot of information but nothing that shows that port 5000 is in use.
Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 04:50 AM
02-21-2007 04:50 AM
Re: Ports in use
I am to the point of removing the patches to see if that corrects the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 04:51 AM
02-21-2007 04:51 AM
Re: Ports in use
http://hpux.its.tudelft.nl/hppd/hpux/Sysadmin/lsof-4.77/
It's an easy build.
In any event:
netstat -an | grep '.5000'
should get you there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 04:52 AM
02-21-2007 04:52 AM
Re: Ports in use
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 04:31 AM
02-22-2007 04:31 AM
Re: Ports in use
The entries in /etc/services are there simply to provide a mapping between a port number and a service name. It does not represent any sort of "hard reservation" mechanism.
Netstat -an | grep 5000 will tell you what sort of endpoints exist on the system bound to port 5000, but alas it will not tell you which processes have them. For that you will indeed need to get a version of lsof onto your system. You could try the porting archive at http://hpux.connect.org.uk/ (or one of its mirrors) or you could use a web search to find the "home" of the lsof source code and then compile it on your system. It is conceivable that the lsof source could compile with the "bundled" compiler rather than an add-on compiler, if you don't already have an add-on compiler on the system.
And given that 11.0 is now past its EOL date (IIRC) you may want to start looking into an upgrade to a newer version of HP-UX.