To start the license manager manually, make the license/$arch directory the current directory and enterThe server is now ready to distribute licenses over the network. It writes any debug information to the log file /var/tmp/comsol52a.log.
For Linux distributions that use systemd, use the lmcomsol.service file, located in the comsol52a/license/glnxa64 directory, to start the license manager. To use lmcomsol.service, do the following steps:
1 Update the path to lmgrd, license.dat, and comsol.log in case you have different locations for these files.
2 Optionally, replace username with an actual username. Preferably do not use root; instead, use the account used to install COMSOL or another account with access to both the lmgrd executable and the log file location above.
3 Create a /usr/tmp directory if it does not exist and set its permissions to 1777 with the chmod 1777 /usr/tmp command.
4 Copy the lmcomsol.service file to /usr/lib/systemd/system/ and run the systemctl enable lmcomsol and systemctl start lmcomsol commands to activate the license manager.For older Linux distributions, without systemd, the procedure for editing boot scripts on each supported Linux distribution appears in the following table:
In the comsol52a/multiphysics/license/glnxa64 directory, enter the commandsEdit /etc/init.d/comsol52alm, replacing dir with the full path to the glnxa64 directory, and replace username with an actual username. Edit /etc/init.d/lm_comsol. Update the FP and MYUSER variables as indicated in the file. Use the utility update-rc.d to automatically update the system's init script links: Copy the file comsol52a/multiphysics/license/glnxa64/rc.lm and paste it at the end ofReplace dir in the code fragment with the full path to the glnxa64 platform directory, and replace username with an actual username.