Borrar filtros
Borrar filtros

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

19 visualizaciones (últimos 30 días)
LinuxMan
LinuxMan el 27 de Oct. de 2022
Respondida: Sivapriya Srinivasan el 29 de Ag. de 2023
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.

Respuestas (1)

Sivapriya Srinivasan
Sivapriya Srinivasan el 29 de Ag. de 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.

Categorías

Más información sobre Install Products en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by