LICENSE MANAGER PROBLEM: Invalid host

W.Z.
Posts: 5
Joined: Jul 27 2004

LICENSE MANAGER PROBLEM: Invalid host

Post by W.Z. » Mon Aug 03, 2015 7:52 am

I installed PGI on our new server (RHEL 6.6) and successfully started the license manager; hut when I run a PGI compiler, I got this error message:

pgi-f95-lin32: LICENSE MANAGER PROBLEM: Failed to checkout license
pgi-f95-lin32: LICENSE MANAGER PROBLEM: Invalid host.
The hostid of this system does not match the hostid
specified in the license file.
Feature: pgi-f95-lin32
Hostid: b083fed5855e
License path: /usr/local/pgi/license.dat:
FLEXnet Licensing error:-9,57


The "lmutil hostid" commnad shows the above hostid is the correct one:

The FlexNet host ID of this machine is ""b083fed5855e b083fed58560 b083fed58562 b083fed58564 80000048fe80""

The internet search indicates that this may be caused by our new server network ports named as em1, em2, etc instead of eth0, eth1 ...

How to get the PGI's license manager works with "em" port names?

jtull
Posts: 1103
Joined: Jun 30 2004

Post by jtull » Mon Aug 03, 2015 9:56 am

Hello,

If you are using the lmgrd and pgroupd that came with the same release
that you ran
% lmutil lmhostid
and it returns b083fed5855e as one of the values, the license should work.

Older lmgrd versions may not find your newer hostids.

also if
% lmutil lmhostid -hostname
returns "HOSTNAME=meta"
then meta is a good hostname to use.
==================
Your current license
==================

SERVER meta b083fed5855e 27000
DAEMON pgroupd
PACKAGE PGI2015-507267 pgroupd 2015.1231 F4B26871B7CD \
COMPONENTS="pgi-hpf-lin64 pgi-f95-lin64 pgi-f77-lin64 \

------------------------------------------------------

But if you have a laptop, you will sometimes be on Ethernet,
sometimes wifi, and sometimes no network.

Run "lmutil lmhostid" and "lmutil lmhostid -hostname" in all
three environments and see what comes out. Some hostids may vanish,
and sometimes

% ping meta

is not defined (which could be a problem).

Suggest you add 'localhost' to /etc/hosts, and give it IPadrress 127.0.0.1.

Then edit the license manually and change meta to localhost.

localhost should work everywhere as a hostname, and using a hostid
that persists everywhere should be okay.

jtull
Posts: 1103
Joined: Jun 30 2004

Post by jtull » Mon Aug 03, 2015 9:58 am

If you still have problems, send the outputs of

% lmutil lmhostid
% lmutil lmhostid -hostname
% lmutil lmhostid -internet
% ping meta
% /sbin/ifconfig

to license@pgroup.com , and we can go from there.


dave

W.Z.
Posts: 5
Joined: Jul 27 2004

Post by W.Z. » Mon Aug 03, 2015 3:46 pm

This server doesn't have WiFi port. It has four Ethernet ports and one InfiniBand port. I double checked hostid, hostname, etc. Everything looks correct. I'll send those outputs to license@pgroup.com. Thanks.

W.Z.
Posts: 5
Joined: Jul 27 2004

Post by W.Z. » Fri Aug 07, 2015 7:46 am

Out of the four Ethernet ports, only em3 and em4 are connected. The IP address associated with the hostname meta is on em3. The PGI license was obtained with hostid of the em1 port. Could this cause the problem of mismatching hostid?

Post Reply