Clear Filters
Clear Filters

Silent Activation on Linux Ubuntu with no GUI at the bash shell

19 views (last 30 days)
Trying to activate MatLab which has already been installed, but Activation has broken because hostid has changed, during the imaging rollout process.
Trying to use the (Mac/Linux) sudo ./activate_matlab.sh -propertiesFile <file_name> as documented in the activate.ini which we use successfully in Windows, to activate against our internal license server (that works correctly in Windows).
It has been adjusted for Linux, paths to the license file .
But it gives an error in the /tmp/aws_root.log that the license.dat file cannot be found
Any ideas ?
There is no GUI available, this is being conducted at the bash shell.

Answers (1)

Sivapriya Srinivasan
Sivapriya Srinivasan on 29 Aug 2023
  1. Ensure that the path to the license file is accurate and accessible by the user running the command. You may need to adjust the path or permissions accordingly.
  2. Ensure that the license file has the appropriate permissions to be accessed and read by the user running the activation script.
  3. Make sure that the license file name specified in the activation script matches the actual license file name. The script may be looking for a specific file name (e.g., license.dat), so ensure that the file name matches exactly.
  4. Double-check the contents of the properties file, including the license server details, license file path, and any other required information.
  5. Review the activate_matlab.sh script for any potential issues or errors. Make sure that the script is correctly written and compatible with your Linux environment.
Remember to always backup any important files or configurations before making changes, and exercise caution when using sudo or making system-level modifications.

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!