Why do I receive license not available error even when I do have license?
Question
Why do I receive license not available error even when I do have license?
Answer
SimWB uses the NightStar License Manager ('nslm') service to handle the licenses. The NSLM uses the unique system ID to validate the licenses. This system ID depends on MAC address among other things such as hard disk ID etc. When SimWB host (/usr/local/ccursim/bin/cfgsrv.sh) starts up it requests a license from the 'nslm' daemon and proceeds. You may get license errors when
- The nslm daemon is not running. You can restart it by running 'service nslm restart' as root.
- There is no license or the license does not correspond the host ID. This might happen if you have reinstalled the OS since the license was issued. In this case, you will need your license to be reissued by Concurrent. This could also happen if have removed network interfaces from your system of if you have activated a different one.
- There is no entry for localhost in /etc/hosts. It should always point to 127.0.0.1 and not the actual IP address of the machine (127.0.0.1 localhost).
- There is no entry for machine name in /etc/hosts. Suppose the IP address of the machine named 'ihawk' is 192.168.0.2, then /etc/hosts should contain '192.168.0.2 ihawk'.
- The machine is using another Ethernet card than it was configured. In other words, if the license id generated with say 'eth0' and if you are using 'eth1' with 'eth0' down, then licensing will fail. To workaround this, please assign a static IP address to 'eth0' and restart both network and nslm (service network restart; service nslm restart).