cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
snsbsd
Level 3

License Manager Problem, Failed to Checkout License, FLEXnet Licensing Error -9, 57

Jump to solution

I have an older PGI FORTRAN version 12.4. I am trying to get the FORTRAN compiler to work on a new machine and I am getting an error when trying to compile . The errors are:
"LICENSE MANAGER PROBLEM: Failed to checkout license.
"LICENSE MANAGER PROBLEM: Invalid host.
The hostid of this system does not match the hostid specified in the license file.

FLEXnet Licensing error: -9, 57

 

BUT…The host ID listed from the license manager does match what the lmhostid command gives.

license manager version is v11.16.2
pgroupd is UP v11.16.2

I do believe we are using a node locked license and not a dongle. I do not understand what the -9, 57 error message is telling me or how to proceed.

Do you have any ideas or suggestions?

0 Kudos
(4) Solutions
mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @snsbsd The license file should have any one host ID of the lmhostid output. As you said the hostID does not match the lmhostid output then the server will not validate the hostID as a valid ID to run the server. 

Run lmhostid, get the ID into the license file and sign the file. This will fix the issue. 

Best Regards,

View solution in original post

mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @snsbsd lmhostID output is used to get the valid HostID of the system as well as verify the HostID when the license server starts (if the license is node-locked with HostID) in the license file. 

So if the hostID used in the license file was not matching the lmhostID output then we will get the error.  Both should match to start the license server. 

Best Regards,

View solution in original post

mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @snsbsd Can you please share the ifconfig and lmhostID output? It would be good to raise a support case and share the details so that support will help to find the issue and fix it. 

Best Regards,

View solution in original post

I figured out the problem.  I renamed my Ethernet port to eth0 and the license manager accepted this.  The older version of pgf90 might only work with this.  The original name was enp0s31f6.

View solution in original post

(8) Replies
snsbsd
Level 3

operating system is RHEL 8.4.

0 Kudos
mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @snsbsd The license file should have any one host ID of the lmhostid output. As you said the hostID does not match the lmhostid output then the server will not validate the hostID as a valid ID to run the server. 

Run lmhostid, get the ID into the license file and sign the file. This will fix the issue. 

Best Regards,

Thank you for the comment.  It is a little confusing .  This comment "The hostid of this system does not match the hostid specified in the license file." is computer output as a result of trying to obtain a license.

The lmhostid result is used in the license file so I do not believe it is a hostid or lmhostid mixup.  I am only using the lmhostid 

 

Do you know what the licensing error -9, 57 actually means?  

 

Again, thanks

0 Kudos
mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @snsbsd lmhostID output is used to get the valid HostID of the system as well as verify the HostID when the license server starts (if the license is node-locked with HostID) in the license file. 

So if the hostID used in the license file was not matching the lmhostID output then we will get the error.  Both should match to start the license server. 

Best Regards,

They match.  Do you know if my Ethernet name has to be something like eth0 or eth1?  For the RHEL 8.4 workstation, the Ethernet is called something like "enp0531f6".  Do you think that for the older version of pgf90 (v12.5) there is confusion with the Ethernet name?

0 Kudos
mrathinam
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @snsbsd Can you please share the ifconfig and lmhostID output? It would be good to raise a support case and share the details so that support will help to find the issue and fix it. 

Best Regards,

ifconfig:

enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet xxx.xxx.5.51 netmask 255.255.255.0 broadcast xxx.xxx.5.255
inet6 fe80::2be:43ff:fe8e:f0d prefixlen 64 scopeid 0x20<link>
ether 00:be:43:8e:0f:0d txqueuelen 1000 (Ethernet)
RX packets 103734 bytes 6793338 (6.4 MiB)
RX errors 0 dropped 72674 overruns 0 frame 0
TX packets 528 bytes 50646 (49.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0x72300000-72320000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3815 bytes 557306 (544.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3815 bytes 557306 (544.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet xxx.xxx.122.1 netmask 255.255.255.0 broadcast xxx.xxx.122.255
ether 52:54:00:a3:a0:9d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

hostname:

yyyyy.yy.yyyyy.com


lmhostid:

lmhostid - Copyright (c) 1989-2018 Flexera. All Rights Reserved.
The FlexNet host ID of this machine is "00be438e0f0d"


cat license.dat:

SERVER yyyyy.yy.yyyyy.com 00be438e0f0d 27000
DAEMON pgroupd
PACKAGE PGI2020-526683 pgroupd 2021.0113 COMPONENTS="pgi-hpf-lin64 \
pgi-f95-lin64 pgi-f77-lin64 pgi-cc-lin64 pgi-cpp-lin64 \
pgi-gpp-lin64 pgi-hpf-lin32 pgi-f95-lin32 pgi-f77-lin32 \
pgi-cc-lin32 pgi-cpp-lin32 pgi-gpp-lin32 pgi-prof-lin64 \
pgi-prof-lin32 pgi-dbg-lin64 pgi-dbg-lin32 pghpf pgfortran \
pgcc pgc++ pgprof pgdbg" OPTIONS=SUITE SIGN="1229 24D4 975F \
A4C5 7AB8 6872 ECA5 188A D8B0 0254 0440 EE0F 9D92 4000 A2A0 \
0C2C AABF 90EA 1ED6 E03B F87C 8C06 E896 5F30 42BB 4DF2 72C6 \
C857 CC53 803A"
INCREMENT PGI2020-526683 pgroupd 2021.0113 permanent 1 \
VENDOR_STRING=526683:16:ws HOSTID=00be438e0f0d PLATFORMS="lin \
x64_lsb x64_re x64_se i86_lsb i86_re i86_se" DUP_GROUP=UH \
SUITE_DUP_GROUP=UH SIGN="17B7 6294 99CB 0D69 2B67 124B 84D0 \
D082 6924 8094 5071 B1F9 071E 42B4 EE13 0896 7CC1 1C6A 3C6A \
C584 1BB5 7E71 C79F EF49 2564 4844 3060 37CD 9B11 F7DE"
PACKAGE PGI-legacy-tools pgroupd 2014.1231 COMPONENTS="pgi-prof \
pgi-dbg pgi-dbg-gui" OPTIONS=SUITE SIGN="0276 876F 019B 036C \
65AA 6CCB BA45 1F6E 31F1 F594 EE95 022E 13B1 662E 4B8E 06F4 \
6CE8 D20F 2FBB F21B FB92 2E28 7463 2FF1 FC22 E90E 6B29 6164 \
4F33 47DC"
INCREMENT PGI-legacy-tools pgroupd 2014.1231 permanent 1 \
VENDOR_STRING=526683:16:ws HOSTID=00be438e0f0d DUP_GROUP=UH \
SUITE_DUP_GROUP=UH SIGN="1C10 D4DE 8A2A 2CFE 17E0 9747 A5C7 \
C519 5CCD FD01 28BC 9C93 6BD4 5158 E6A5 0C9B 79A0 F8CC 0513 \
80FC 2053 CB71 C6A5 AA2C E107 3AAA D114 A0FE F067 DBD8"


I masked the iP address but the xxx.xxx are the same for each instance
the hostname output matches the hostname provided on the first line of the license.dat file.

Here are the error messages when I try to compile:

pgf90 tsink_no_env_qs.f

pgf90-Warning-Malformed $expr(), extra text: ....
pgf90-Warning-Malformed $expr(), extra text: ....
pgf90-Warning-Malformed $expr(), extra text: ....
pgi-f95-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
pgi-f95-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
pgi-f95-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
pgi-f95-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
pgi-f95-lin64: LICENSE MANAGER PROBLEM: Invalid host.
The hostid of this system does not match the hostid
specified in the license file.
Feature: pgi-f95-lin64
Hostid: 00be438e0f0d
License path: /app/pgi/linux86-64/12.5/etc/license/license.dat:
FLEXnet Licensing error:-9,57
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".


I have always gotten the "pgf90-Warning-Malformed $expr(), extra text: ...." warning but if has never seemed to have any impact on license checkout or compilation.

0 Kudos

I figured out the problem.  I renamed my Ethernet port to eth0 and the license manager accepted this.  The older version of pgf90 might only work with this.  The original name was enp0s31f6.