Changing the License
If you have received a new license file — for example, when adding COMSOL products to an existing license — replace the current license file with the new one and then restart the license manager or reread the license file. Double-check the contents of the new file to make sure it lists all the products included in the license.
When the license file has changed, you must restart the license manager or reread the license file; otherwise, it continues to use the old license file still in memory.
restarting the license manager
To restart the license manager:
1
Change the directory to
license/macarm64
or
license/maci64
:
cd /Applications/COMSOL64/Multiphysics/license/macarm64
or
cd /Applications/COMSOL64/Multiphysics/license/maci64
depending on your CPU architecture.
2
Stop the license manager:
./lmdown -c ../license.dat
3
Restart the license manager:
./lmgrd -c ../license.dat -l /var/tmp/comsol64.log
obtaining a hostid
If you need to verify the hostid of the license server, you can follow the steps in
Obtaining the Hostid
. Alternatively, if COMSOL is already installed on the license server, you can determine the hostid by running the
lmhostid
command:
COMSOL
64/Multiphysics/license/macarm64/lmhostid
or
COMSOL
64/Multiphysics/license/maci64/lmhostid
depending on your CPU architecture.
The hostid is typically the Ethernet address (also called a MAC address) of the network card of your computer. An Ethernet address has six bytes, each with two hexadecimal digits. Thus, the full hostid has twelve hexadecimal digits.