- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to release the port which is in use on HP-...
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-25-2011 07:05 AM
тАО01-25-2011 07:05 AM
d84b6100 stream 0 0 d6240280 0 0 0 /tmp/.sapicm25700
d862c1c0 dgram 0 0 d62401c0 0 0 0 /var/spool/sockets/pwgr/client11102
I want to release this port i.e. 6240. I also stopped the pwgrd daemon and also deleted the file /tmp/.sapicm25700 & /var/spool/sockets/pwgr/client11102. But still the port 6240 shows in use. I also killed the process id releaed to pwgr but still it creates with new process id automatically. But i have checked the pwgrd daemon and it is not running.
Please let me know how to release this port number.
Thanks,
Narendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 08:10 AM
тАО01-25-2011 08:10 AM
Re: How to release the port which is in use on HP-UX 11i V1
"netstat -na | grep 6240 | grep -e udp -e tcp"
What led you to believe the port was in use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 08:18 AM
тАО01-25-2011 08:18 AM
Re: How to release the port which is in use on HP-UX 11i V1
I would use lsof ( freeware ) to check openfiles ( which includes sockets ). I think lsof -i :6240 will print the pid of the process if at all that port is in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 08:51 AM
тАО01-25-2011 08:51 AM
Re: How to release the port which is in use on HP-UX 11i V1
I have run ├в netstat -na | grep 6240 | grep -e udp -e tcp├в but it doesn├в t show port in use but with ├в netstat -na | grep 6240├в it still shows same output as above. While installing EHP support pack of SAP on HP-UX the EHP log says port 6240 in use.
Kapil: Please can you let me know the url to download lsof (freeware). As I am not able to find the depot for HP-UX 11i V1.
Thanks,
Narendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 09:38 AM
тАО01-25-2011 09:38 AM
Solutionplease find the below link to download lsof package,
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.84/
Hope it will be helpful for you and also don't forget to assign points who have helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 09:52 AM
тАО01-25-2011 09:52 AM
Re: How to release the port which is in use on HP-UX 11i V1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 11:42 PM
тАО01-25-2011 11:42 PM
Re: How to release the port which is in use on HP-UX 11i V1
When i run the lsof for checking the port 6240 in use it doesn't show that port is in use. But still from netstat it is showing some sockets is using the port 6240.
test05:[/]# /usr/local/bin/lsof -i :6240
test05:[/]# netstat -an |grep 6240
d84b6100 stream 0 0 d6240280 0 0 0 /tmp/.sapicm25700
d862c1c0 dgram 0 0 d62401c0 0 0 0 /var/spool/sockets/pwgr/client11102
Please let me know how to kill or close this sockets for port 6240.
Thanks,
Narendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 06:18 AM
тАО01-26-2011 06:18 AM
Re: How to release the port which is in use on HP-UX 11i V1
Your output shows that port 6240 is not in use (the two lines show Inode numbers, not TCP/UDP port numbers).
Do you happen to have any logs from the installation process that show the error message?
Has the server been rebooted recently?
Is it patched to current levels?
Earl