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

8 ビュー (過去 30 日間)
LinuxMan
LinuxMan 2022 年 10 月 27 日
回答済み: Sivapriya Srinivasan 2023 年 8 月 29 日
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.

回答 (1 件)

Sivapriya Srinivasan
Sivapriya Srinivasan 2023 年 8 月 29 日
  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.

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by