[License] Failed to startup IQ because of invalid hostid(NULL).
I encountered IQ startup issue because of invalid hostid.
When I checked hostid using cpuinfo utility, I realized that hostid is a null like below.
2014/10/15 13:35:39 Sybase Licensing API/18.104.22.168/2209/64bit/2/P/x86_64/Enterprise Linux/OPT/Thu May 3 09:00:42 2012
2014/10/15 13:35:39 FLEXnet Licensing API/v22.214.171.124 build 56285 amd64_re3
2014/10/15 13:35:39 Hostid [0x22230d0]:
2014/10/15 13:35:39 cpuinfo: Hostid = (null)
Detected 2 logical processor(s), 2 core(s), in 1 chip(s)
If ifconfig has no entry for eth0, license only looks for etho,
lmutil hostid reports: NIC card must be on eth0 for Linux, otherwise SySAM will see the hostid as null and not work.
After moving the NIC card to eth0 the license can now check out fine as the hostid is visible to SySAM.
Here are two workaround.
– Change eth2 to eth0 in /etc/sysconfig/hwconf (make sure there’s no other eth0 defined)
– Rename eth2 scripts to eth0 in /etc/sysconfig/network-scripts
– Edit references to eth2 and change them to eth0
It should be possible to use the ‘sysamcap’ host-ids with products using SyLAPI 126.96.36.199, such as ASE 15.7 ESD#2 and upcoming releases for other products. (CR 693195 provides a workaround in sysamcap and is delivered in SySAM/SyLAPI 188.8.131.52)