- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- flexlm license port cannot be released
Operating System - HP-UX
1823415
Members
2610
Online
109655
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-24-2008 07:16 AM
тАО09-24-2008 07:16 AM
flexlm license port cannot be released
Hi All,
Good day!
I am trying to restart one of the flexlm license on one of my hp-ux server, unfortunately to no avail.
Upon checking the log i suspected that the port might have to be cleared first in order for me to restart it. Can someone with experience help me? Thanks in advance.
The license log:-
10:53:08 (lmgrd) lmgrd running as root:
10:53:08 (lmgrd) This is a potential security problem
10:53:08 (lmgrd) And is not recommended
10:53:23 (lmgrd) The TCP port number in the license, 1802, is already in use.
10:53:23 (lmgrd) Possible causes:
10:53:23 (lmgrd) 1) lmgrd is already running for this license.
10:53:23 (lmgrd) 2) The OS has not "cleared" this port since lmgrd died.
10:53:23 (lmgrd) 3) Another process is using this port number (unlikely).
10:53:23 (lmgrd) Solutions:
10:53:23 (lmgrd) 1) Make sure lmgrd and all vendor daemons for this
10:53:23 (lmgrd) license are not running.
10:53:23 (lmgrd) 2) You may have to wait for the OS to clear this port.
10:53:23 (lmgrd) Retrying for about 5 more minutes
10:53:41 (lmgrd) Still trying...
10:53:59 (lmgrd) Still trying...
10:54:18 (lmgrd) Still trying...
10:54:36 (lmgrd) Still trying...
10:54:54 (lmgrd) Still trying...
10:55:12 (lmgrd) Still trying...
The license port is 1802.
kopa:/usr/local/flexlm/mentor/bin # netstat -an |grep 1802
tcp 0 0 144.250.2.31.1802 10.246.78.103.1313 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 10.246.76.49.4667 CLOSE_WAIT
tcp 0 0 144.250.2.31.57212 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 144.250.2.31.57185 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 144.250.2.31.57291 CLOSE_WAIT
tcp 0 0 144.250.2.31.57292 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 10.246.76.49.4697 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 144.250.63.143.1672 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 10.246.76.49.4630 CLOSE_WAIT
tcp 0 0 *.1802 *.* LISTEN
tcp 0 0 144.250.2.31.1802 10.224.173.5.2171 CLOSE_WAIT
tcp 0 0 144.250.2.31.57411 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 10.246.78.103.1316 CLOSE_WAIT
tcp 0 0 144.250.2.31.57211 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 10.246.76.49.4540 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 10.246.76.49.4604 CLOSE_WAIT
kopa:/usr/local/flexlm/saber/log # uname -a
HP-UX kopa B.11.11 U 9000/861 2001811563 unlimited-user license
kopa3:/usr/local/flexlm/saber/log #
Good day!
I am trying to restart one of the flexlm license on one of my hp-ux server, unfortunately to no avail.
Upon checking the log i suspected that the port might have to be cleared first in order for me to restart it. Can someone with experience help me? Thanks in advance.
The license log:-
10:53:08 (lmgrd) lmgrd running as root:
10:53:08 (lmgrd) This is a potential security problem
10:53:08 (lmgrd) And is not recommended
10:53:23 (lmgrd) The TCP port number in the license, 1802, is already in use.
10:53:23 (lmgrd) Possible causes:
10:53:23 (lmgrd) 1) lmgrd is already running for this license.
10:53:23 (lmgrd) 2) The OS has not "cleared" this port since lmgrd died.
10:53:23 (lmgrd) 3) Another process is using this port number (unlikely).
10:53:23 (lmgrd) Solutions:
10:53:23 (lmgrd) 1) Make sure lmgrd and all vendor daemons for this
10:53:23 (lmgrd) license are not running.
10:53:23 (lmgrd) 2) You may have to wait for the OS to clear this port.
10:53:23 (lmgrd) Retrying for about 5 more minutes
10:53:41 (lmgrd) Still trying...
10:53:59 (lmgrd) Still trying...
10:54:18 (lmgrd) Still trying...
10:54:36 (lmgrd) Still trying...
10:54:54 (lmgrd) Still trying...
10:55:12 (lmgrd) Still trying...
The license port is 1802.
kopa:/usr/local/flexlm/mentor/bin # netstat -an |grep 1802
tcp 0 0 144.250.2.31.1802 10.246.78.103.1313 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 10.246.76.49.4667 CLOSE_WAIT
tcp 0 0 144.250.2.31.57212 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 144.250.2.31.57185 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 144.250.2.31.57291 CLOSE_WAIT
tcp 0 0 144.250.2.31.57292 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 10.246.76.49.4697 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 144.250.63.143.1672 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 10.246.76.49.4630 CLOSE_WAIT
tcp 0 0 *.1802 *.* LISTEN
tcp 0 0 144.250.2.31.1802 10.224.173.5.2171 CLOSE_WAIT
tcp 0 0 144.250.2.31.57411 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 10.246.78.103.1316 CLOSE_WAIT
tcp 0 0 144.250.2.31.57211 144.250.2.31.1802 FIN_WAIT_2
tcp 0 0 144.250.2.31.1802 10.246.76.49.4540 CLOSE_WAIT
tcp 0 0 144.250.2.31.1802 10.246.76.49.4604 CLOSE_WAIT
kopa:/usr/local/flexlm/saber/log # uname -a
HP-UX kopa B.11.11 U 9000/861 2001811563 unlimited-user license
kopa3:/usr/local/flexlm/saber/log #
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:05 AM
тАО09-24-2008 08:05 AM
Re: flexlm license port cannot be released
Check with lsof which application is using the port and kill/stop it.
regards,
ivan
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:09 AM
тАО09-24-2008 08:09 AM
Re: flexlm license port cannot be released
Unfortunately no lsof installed and installing it is not an option. Is there any other way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 08:12 AM
тАО09-24-2008 08:12 AM
Re: flexlm license port cannot be released
Use ndd and close CLOSE_WAIT/FIN_WAIT sessions:
See solution from this thread - http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1000913
netstat -a|grep -i "Port"
tcp 0 0 localhost.1521 xxx.xx.xx.xx.2003 FIN_WAIT_2
this TCP connections is waiting for a "close" , until it gets no close command, it is still blocking the port 1521
you have to manually close this tcp connection
ndd -get /dev/tcp tcp_status |grep FIN_WAIT
0000000088085128 xxx.xx.xx.xx (IP Address) 6968ed0a 6968ed0a 00000000 0001825e 6959d525 6959d525 00008000 00500 04096 [e9da,e9e0] TCP_FIN_WAIT_2*
the 1st column is interesting ->
ndd -set /dev/tcp tcp_discon 0x88085128
ndd -get /dev/tcp tcp_status |grep FIN_WAIT -> the tcp connections should not appear any longer
regards,
ivan
See solution from this thread - http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1000913
netstat -a|grep -i "Port"
tcp 0 0 localhost.1521 xxx.xx.xx.xx.2003 FIN_WAIT_2
this TCP connections is waiting for a "close" , until it gets no close command, it is still blocking the port 1521
you have to manually close this tcp connection
ndd -get /dev/tcp tcp_status |grep FIN_WAIT
0000000088085128 xxx.xx.xx.xx (IP Address) 6968ed0a 6968ed0a 00000000 0001825e 6959d525 6959d525 00008000 00500 04096 [e9da,e9e0] TCP_FIN_WAIT_2*
the 1st column is interesting ->
ndd -set /dev/tcp tcp_discon 0x88085128
ndd -get /dev/tcp tcp_status |grep FIN_WAIT -> the tcp connections should not appear any longer
regards,
ivan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP