LICENSE MANAGER PROBLEM: Invalid host

jtull
Posts: 1103
Joined: Jun 30 2004

Post by jtull » Fri Aug 07, 2015 9:32 am

If you run
% /sbin/ifconfig

one of the network devices should have an inet4 address that is the
same as

% ping meta

and that is the best hostid to use - the MAC of the device tied to
the IPaddress mapped to the name 'meta'

Bridges and Tunnels on network devices can confuse the license service.
You might try the license service when they are down, if you have them,
and see if the service works.

dave

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

Post by W.Z. » Fri Aug 14, 2015 10:11 am

I obtained a new license data file with the hostid (b083fed58562) matching MAC # of the network port em3 that has the IP address (163.234.112.172) associated with the host name (meta); but it still doesn't work - same error message: "The hostid of this system does not match the hostid specified in the license file."

Here is the output of "ip add":

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether b0:83:fe:d5:85:5e brd ff:ff:ff:ff:ff:ff
3: em2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether b0:83:fe:d5:85:60 brd ff:ff:ff:ff:ff:ff
4: em3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether b0:83:fe:d5:85:62 brd ff:ff:ff:ff:ff:ff
inet 163.234.112.172/22 brd 163.234.115.255 scope global em3
inet6 fe80::b283:feff:fed5:8562/64 scope link
valid_lft forever preferred_lft forever
5: em4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether b0:83:fe:d5:85:64 brd ff:ff:ff:ff:ff:ff
inet 192.168.191.252/24 brd 192.168.191.255 scope global em4
inet6 fe80::b283:feff:fed5:8564/64 scope link
valid_lft forever preferred_lft forever
6: ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2044 qdisc pfifo_fast state UP qlen 256
link/infiniband 80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:4a:f5:43 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
inet 192.168.192.252/24 brd 192.168.192.255 scope global ib0
inet6 fe80::202:c903:4a:f543/64 scope link
valid_lft forever preferred_lft forever

jtull
Posts: 1103
Joined: Jun 30 2004

Post by jtull » Fri Aug 14, 2015 1:00 pm

I have just sent mail to the address associated with W.Z.
and it contains a temp license and a permanent license.

The temp license will verify the hostid you use will work
in the permanent license.

If the hostid works, then try the attached permanent license.

Tunnels, Bridges, and disconnected network cards can cause the
hostid to not be found at runtime. If it is not found by

% lmutil lmhostid

then it will never work. If it is detected, the license service should
run, and will fail if you are not pointing to the right license file
(% lmutil lmdiag will reveal which is read) or have
a bridged/tunneled/disconnected network card.




dave

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

Post by W.Z. » Mon Aug 17, 2015 9:20 am

The problem is fixed. As I suspected at the beginning. The problem is caused by the network port names set as em1, em2 etc instead of eth0, eth1 ... I renamed port name back to eth0, etc without changing anything regarding the PGI license. The license works OK now.

To boot the server to the default ethX network port names, add biosdevname=0 to the boot command line in grub.conf, rename ifcfg-emX to ifcfg-ethY in /etc/sysconfig/network-script, e.g. ifcfg-em3 ifcfg-eth2, and change DEVICE="em3" to DEVICE="eth2".

Post Reply