Configure your network license server

Create a debug log file, configure your network license server, start it, and confirm that it's running.

Create a debug log file

Debug log files contain Network License Manager (NLM) history information you can review to troubleshoot problems with your license servers.

  1. Create a subfolder named Logs under the folder in which you installed NLM.
  2. Use a text editor to create a text file within the Logs subfolder.
  3. Give the text file any name you like, but be sure to change the extension from .txt to .log.

Configure the license server

To configure a Windows server, you can use the LMTOOLS utility provided with NLM.

  1. Open the LMTOOLS utility.
    • In Windows 7, click Start ➤ All Programs ➤ Autodesk ➤ Network License Manager ➤ LMTOOLS Utility.
    • In Windows 10, click Start ➤ Autodesk ➤ LMTOOLS Utility.
  2. From the Service/License File tab, verify that the Configuration Using Services option is selected.
  3. Select the checkbox LMTOOLS Ignores License File Path Environment Variables.
  4. From the Config Services tab, use the Service Name drop-down menu to specify a name.
  5. Specify paths for the following three files:
    • Path to the lmgrd.exe file: Browse to select the file in your NLM folder.
    • Path to the license file: Browse to select the license file you obtained from Autodesk.
    • Path to the debug log file: Browse to select the debug log file you created earlier.
    • Note: Be sure that users and services have write access to the debug log file or folder.
  6. Select Use Services. Then select Start Server At Power Up. This setting ensures that the license server starts automatically if the server rebooted after maintenance or a power outage.
  7. Click Save Service and confirm.

To configure a macOS or Linux server, proceed as follows:

  1. Rename your license file to adsk_server.lic and save it on the desktop.
  2. Move the adsk_server.lic file from the desktop into this hidden folder:
    • For macOS: /usr/local/flexnetserver
    • For Linux: /opt/flexnetserver
Note: For more information about setting up NLM for macOS, see How to set up the Autodesk Network License Manager on a Mac. For Linux, see How to set up the Autodesk Network License Manager on Linux.

Start the license server

To start your Windows license server with the LMTOOLS utility:

  1. From the Start/Stop/Reread tab, verify that the correct server name is highlighted and click Start Server.
  2. Verify that the license server has started (within 30 seconds). You should see the message, "Server Start Successful" at the bottom of the dialog.

To start your license server on macOS or Linux, use Terminal.

  1. To get to the directory, enter the following commands:
    • For macOS:
      sudo chmod -R 777 /usr/local/flexnetserver
      cd /usr/local/flexnetserver
    • For Linux:
      sudo chmod -R 777 /opt/flexnetserver
      cd /opt/flexnetserver
  2. To list the directory contents, enter this command:
    ls
  3. To start the license server, enter this command:
    • For macOS:
      sudo ./lmgrd  -c /usr/local/flexnetserver/adsk_server.lic -l/usr/local/flexnetserver/adsk_serverLog.log
    • For Linux:
      sudo ./lmgrd  -c /opt/flexnetserver/adsk_server.lic -l/opt/adsk_serverLog.log

Confirm that the license server is running

To confirm in Windows:

  1. From the Server Status tab of the LMTOOLS utility, click Perform Status Enquiry.
  2. When information is displayed in the status window, scroll down and verify the following:
    • Verify that the license server is running the latest version. Check the line that reads something like:
      YourServerName : license server UP (MASTER) v 11.14.1
      .
    • Verify that the license server has successfully read the license file and found no errors. You should see a line that reads something like:
      Adskflex: UP v11.14.1
      .

    If you do not see these two lines, the license server did not start correctly. Recheck your work to obtain and configure the license file.

To confirm in macOS:

To confirm in Linux:

Note: If you receive an error message that the server has not started, use the Activity Monitor to find and quit the lmgrd process. Only then can you restart the license server.