Maple License File Installation Guide

Waterloo Maple Inc.

This document explains how to replace your existing license file with your new Maple license file. Depending on your operating system, follow only one of these sets of instructions:

·        Windows Single User Installation

·        Windows Network Server Installation

·        UNIX and Linux Installation

 


Windows Installation

These instructions differ between a single user and a network version of Maple 6 for Windows.

Windows Single User Installation

Follow these instructions to rename the license file currently on your system and replace it with the permanent license file that you received in the e-mail from license@maplesoft.com. These instructions assume that Maple 6 is installed in the default location (C:\Program Files\Maple 6).

 

Step One – Rename the current license.dat file

  1. Go to the Maple license directory.  The default location is C:\Program Files\Maple 6\License. 
  2. Rename the license.dat file to oldlicense.dat.

Step Two – Copy the new license file to the appropriate directory

  1. Save the new license file included in the e-mail message from license@maplesoft.com to your hard drive.
  2. Go to the location of the new license.dat file.
  3. Copy and Paste this file to the Maple license directory. The default location is C:\Program Files\Maple 6\License.  Ensure the file is called license.dat since Maple will fail to start if it is not.

Once the new license file is located in the Maple license directory, start Maple. When Maple starts successfully, you can delete the old license file renamed to oldlicense.dat.  If you experience any difficulties, please contact Waterloo Maple Technical Support at support@maplesoft.com.

Windows Network Server Installation

These instructions are for systems with the license manager on a Windows server. It is possible to have the license manager on a UNIX or Linux server. In that case, please follow the UNIX and Linux Installation instructions.

Follow these instructions to rename the license file currently on your system and replace it with the permanent license file that you received in the e-mail from license@maplesoft.com. These instructions assume that Maple 6 is installed in the default location (C:\Program Files\Maple 6). These instructions also describe how to reconfigure the license manager and restart the license manager daemons.

Step One – Determine the version of Maple on your system

1.      Start Maple. From the Help menu, choose About Maple 6. The version of Maple that is currently installed on your system will be Maple 6, Maple 6.01, or Maple 6.02.

2.      Close Maple before proceeding.  Make sure that you know the hostname or IP address of the license server (it is the same name used when initially installing Maple).

Step Two – Stop the license manager

  1. For Maple 6, go to the C:\Program Files\Maple 6\FLEXlm directory. For Maple 6.01 and Maple 6.02, go to the C:\Program Files\Maple 6\Flexlm\Windows directory.
  2. To start the License Manager Configuration Tool, double-click Lmtools.exe.
  3. Under the Service/License tab, click Configuration using Services.
  4. Click the Start/Stop/Reread tab.
  5. Ensure that the correct Service Name is selected.
  6. Click Stop Server.

Step Three – Rename the current network.lic file

  1. Go to the current network.lic file.  The default location is C:\Program Files\Maple 6\FLEXlm. 
  2. Rename the network.lic file to oldnetwork.lic.

Step Four – Copy the new license file to the appropriate directory and configure the servername

  1. Save the new license file included in the e-mail message from license@maplesoft.com to your hard drive.

If you have Maple 6 installed:

a.       Go to the location of the new network.lic.

b.      Copy and Paste this file to the Maple FLEXlm directory. The default location is C:\Program Files\Maple 6\FLEXlm. 

c.       Open this file and look for a line beginning with the word SERVER.

d.      Change <servername> to the hostname or IP address of the license server, for example,

Replace SERVER <servername> ANY
with SERVER falcon ANY

where falcon is the hostname of the server.  The servername in the C:\Program Files\Maple 6\FLEXlm\network.lic file must match the server name in the C:\Program Files\Maple 6\License\license.dat file.

If you have Maple 6.01 or Maple 6.02 installed:

a.       Go to the C:\Program Files\Maple 6\FLEXlm\Windows directory and double-click Install Network License.exe.

b.      In the New License File field of the Maple Network License Installer dialog box, type or browse for the location of the new network.lic file.

c.       If you entered a Server Name on installation, this name will appear in the Name field.  You can use that, or type in a new server name.  Alternatively, you can select IP address and type the IP address of the license server.

d.      In the Destination and name of the license file field, type or browse for the destination and name to use for the license file.  The default destination and name are C:\Program File\Maple 6\FLEXlm\network.lic

e.       To install the license, click OK.

f.        When prompted that the file was successfully installed, click OK.

Step Five – Restart the License Manager Daemons

1.      For Maple 6, go to the C:\Program Files\Maple 6\FLEXlm directory. For Maple 6.01 and Maple 6.02, go to the C:\Program Files\Maple 6\Flexlm\Windows directory.

2.      To start the License Manager Configuration Tool, double-click Lmtools.exe.

3.      Under the Service/License tab, click Configuration using Services.

4.      Click the Configure Services tab.

5.      Ensure that the correct Service Name is selected.

6.      Verify that the path to the license manager daemon (lmgrd) and the path to the network.lic file are correct. 

7.      Click Save Service and then click Yes to accept the new service settings.

8.      Click the Start/Stop/Reread tab.

9.      Click Start Server.

Once the daemons have been restarted, start Maple. When Maple starts successfully, you can delete the old license file renamed to oldnetwork.lic. If you experience any difficulties, please contact Waterloo Maple Technical Support at support@maplesoft.com.

 


UNIX and Linux Installation

Follow these instructions to rename the license file currently on your system and replace it with the permanent license file that you received in the e-mail from license@maplesoft.com. These instructions assume that Maple 6 is installed in the default location (/usr/local/maple). These instructions also describe how to reconfigure the license manager and restart the license manager daemons.

Step One – Determine the version of Maple on your system

1.      Start Maple. From the Help menu, choose About Maple 6. The version of Maple that is currently installed on your system will be Maple 6, Maple 6.01, or Maple 6.02.

2.      Close Maple before proceeding.  Make sure that you know the hostname or IP address of the license server (it is the same name used when initially installing Maple).

Step Two – Stop the license manager

1.      Go to the FLEXlm directory.  For Maple 6, the default location is /usr/local/maple/FLEXlm.  For Maple 6.01 or Maple 6.02, the default location is /usr/local/maple/FLEXlm/UNIX. The UNIX directory will contain sub-folders for each respective UNIX operating system.  Select the directory in which the license manager daemons are running.

2.        Stop the license manager with the following command:

./lmdown –c /path_to_network.lic

Assuming Maple is installed in the default directory, the command is

./lmdown –c /usr/local/maple/FLEXlm/network.lic

Step Three – Rename the current file

1.      Go to the current network.lic file. The default location is /usr/local/maple/FLEXlm.

2.      Rename the network.lic file to oldnetwork.lic.

Step Four – Copy the new license file to the appropriate directory and configure the servername

  1. Save the new license file included in the e-mail message from license@maplesoft.com to your system.

If you have Maple 6 installed:

a. Copy the network.lic to /usr/local/maple/FLEXlm.

b.Open this file and look for a line beginning with the word SERVER.

c. Change <servername> to the hostname or IP address of the license server, for example,

Replace SERVER <servername> ANY
with SERVER falcon ANY

where falcon is the hostname of the server.  The hostname in the network.lic file must match the hostname in the license.dat located in Maple’s license directory. The default location is /usr/local/maple/license.

If you have Maple 6.01 or Maple 6.02 installed:

a.       Go to the UNIX directory located at /usr/local/maple/FLEXlm/UNIX and run INSTALL_LIC.

b.      When prompted, enter the directory of the new network.lic.

c.       When prompted, enter the directory in which Maple 6 is currently installed.

d.      When prompted, enter the directory in which to save the network.lic file. The default is /usr/local/maple/FLEXlm/network.lic. Press Enter to accept.

e.       When prompted, enter the name or IP address of the license server.

f.        When prompted, enter Y to verify the entries.

Step Five – Restart the License Manager Daemons

3.      Go to the FLEXlm directory.  For Maple 6, the default location is /usr/local/maple/FLEXlm.  For Maple 6.01 or Maple 6.02, the default location is /usr/local/maple/FLEXlm/UNIX. The UNIX directory will contain sub-folders for each respective UNIX operating system.  Select the directory in which the license manager daemons are running.

./lmgrd –c /path_to_network.lic -l /path_to_debug_log

Assuming Maple is installed in the default directory, the command is

./lmgrd –c /usr/local/maple/FLEXlm/UNIX/network.lic –l /usr/local/maple/FLEXlm/logfile

Once the daemons have been restarted, start Maple. When Maple starts successfully, you can delete the old license file renamed to oldnetwork.lic. If you experience any difficulties, please contact Waterloo Maple Technical Support at support@maplesoft.com.