Wolfram Computation Meets Knowledge

How do I update MathLM license information on macOS and Linux?

The MathLM license manager is used to distribute licenses for network installations of Mathematica.

After updating Mathematica to a newer major version, you also need to upgrade to the equivalent or later version of MathLM. Instructions for this process are available for Windows, and for macOS and Linux.

To have your MathLM start using the new license information, you need to collect all necessary information, stop the current MathLM instance, update the license information and restart the application.

  1. Get your activation key from the User Portal.
  2. In a terminal, navigate to the installation folder of MathLM. (The default is /Usr/local/Wolfram/MathLM on macOS and /usr/local/Wolfram/MathLM on Linux.)
  3. Execute the following command to obtain your MathID:
     ./mathlm -mathid 
  4. To generate a password, go to the Password Generator form in the User Portal and enter the activation key and MathID obtained in the steps above. Click the Generate Password button to generate your new password.

    You are now ready to update your MathLM license information.

  5. To stop the currently running process of MathLM, find the process ID by executing the following command:
     ps -A | grep mathlm 
  6. Using the MathLM process ID, terminate it with the following command:
     kill -9 <processid> 
  7. In the MathLM installation directory, make a copy of the mathpass file and name it “mathpass.old”.
  8. Using a plain text editor such as vim or Emacs, open the original mathpass file in the installation directory of MathLM.
  9. Verify that the MathID found in the second column of the file is the same as the one you identified previously.
  10. Verify that the activation key in the third column is the same as the one identified previously, or update the column entry to the new key otherwise.
  11. Locate the old password in the last column of the mathpass file and replace it with the password generated in step 3.
  12. Save the mathpass file.
  13. Restart MathLM by executing the following command:
     ./mathlm 

 

Is this article helpful?
Yes
No

Any comments?

Thank you for your feedback.

Submit

Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

Monday–Friday
8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

Monday–Thursday
8am–7pm US Central Time

Friday
8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support