Матлаб ошибка лицензии

MATLAB®
Online Server™
requires you to have valid licenses for both MATLAB
Online Server
and MATLAB before you install either. After you have completed installation with valid
licenses, your users can sign in successfully to MATLAB
Online™
.

License Service Pod State is Running but Users Cannot Connect to MATLAB Online

When the services are running successfully and can connect with the network license
manager license server, then the status of pods is Running.

However, if the services are having issues connecting with network license manager, the
status of the pods is still shown as Running. This is expected, and it means that the
MATLAB
Online Server
is running successfully but is not authorized because it is unable to connect to
the network license
manager.

NAME                                                     READY   STATUS    RESTARTS   AGE
your-namespace-authnz-7994c9866d-675fb                   1/1     Running   0          10m
your-namespace-core-ui-cfdcccc4c-5bhrc                   1/1     Running   0          10m
your-namespace-gateway-88ffd446d-mbf2l                   1/1     Running   0          10m
your-namespace-gateway-proxy-6f85db9cbb-8ftbr            1/1     Running   0          10m
your-namespace-gateway-proxy-6f85db9cbb-mdhr7            1/1     Running   0          10m
your-namespace-ingress-nginx-controller-7fdcd49d74-bnbls 1/1     Running   0          10m
your-namespace-license-5cc85b97cd-zg4vd                  1/1     Running   0          10m
your-namespace-matlab-pool-9cc6b6465-9rdz8               2/2     Running   0          10m
your-namespace-matlab-pool-9cc6b6465-t7wp2               2/2     Running   0          10m
your-namespace-matlab-pool-helpsearch-8479fbdc88-4r6sd   1/1     Running   0          10m
your-namespace-matlab-pool-ui-8484bbbd4d-t6777           1/1     Running   0          10m
your-namespace-resource-78f9b97745-fzwlq                 1/1     Running   0          10m

If the license service is not operational, other services also do not work as expected.
This is because the license service checks out the MATLAB
Online Server
license, which in turn allows all other services to run successfully.

Get More Information

Run the following command to get more information, replacing
license-pod-name with the name of your license pod and
your-namespace with the namespace you used for MATLAB
Online Server
:

kubectl logs license-pod-name --namespace your-namespace

If you get output similar to the following display, then it is likely that the license
service is unable to check out the MATLAB
Online Server

license.

00000006 YYYY-Mmm-DD 21:10:55.104617 0x00007fa8d8fd5700 mos::license I 
Checking out license
00000007 YYYY-Mmm-DD 21:10:55.104626 0x00007fa8d8fd5700 mos::license I 
Server: 27000@flexlm
00000008 YYYY-Mmm-DD 21:11:15.237586 0x00007fa8d8fd5700 
startup::license_manager I enter checkout for feature: MATLAB_Online_Server
The server is running.
Error while trying to check out the license: , will retry in 30 seconds.
00000009 YYYY-Mmm-DD 21:11:28.314607 0x00007fa8d8fd5700 mos::license I 
Registered service
00000010 YYYY-Mmm-DD 21:11:56.040342 0x00007fa8d203c700 mos::license I Check 
license request mathworks-gateway-669dd7865f-t6l74
00000011 YYYY-Mmm-DD 21:11:58.430979 0x00007fa8c71fa700 mos::license I 
Checking out license
00000012 YYYY-Mmm-DD 21:11:58.431050 0x00007fa8c71fa700 mos::license I 
Server: 27000@flexlm
00000013 YYYY-Mmm-DD 21:12:03.866191 0x00007fa8d303e700 mos::license I Check 
license request from mathworks-authnz-authnz-7c7999589c-x74d9
00000014 YYYY-Mmm-DD 21:12:04.565262 0x00007fa8c71fa700 
startup::license_manager I enter checkout for feature: MATLAB_Online_Server
00000015 YYYY-Mmm-DD 21:12:04.869012 0x00007fa8d283d700 mos::license I Check 
license request from mathworks-resource-resource-894447df7-r9ngb
Error while trying to check out the license: ^^, will retry in 30 seconds.

Possible Issues

  • MATLAB
    Online Server
    is unable access license server when both servers are on the same
    machine

    If you installed MATLAB
    Online Server
    and the network license manager server on the same machine, license
    checkouts from MATLAB or MATLAB
    Online Server
    cluster might be blocked because the firewall prevents access to the
    license server ports.

    One workaround is to modify the firewall to enable access to the network license
    manager ports. By default, the network license manager listens on ports 27000 and 27001.
    For example, to enable these ports in Ubuntu®, use this command:

    sudo ufw allow 27000 && sudo ufw allow 27001
  • Network license manager server listening on ports other than 27000/27001

    Network policy is enabled by default for the license service, which allows
    communicating with network license manager only on port 27000 and with the MLM daemon on
    27001. The default policy assumes that the license file has the following SERVER lines:

    SERVER <HOSTID> ID=0 27000
    DAEMON MLM "<FLEXLM_INSTALL_LOCATION>/etc/MLM" port=27001
    

    If your network license manager server is listening on ports other than 27000 and
    the MLM daemon on other than 27001, update the license service override file and then
    restart the pod:

    networkPolicy:
      enabled: true
      egress:
         ports:
         - port: <flexlm_port_here>
           protocol: "TCP"
    
  • The network license manager server is using an incorrect or an expired license file
    or the network license manager server is misconfigured

    Check the network license manager server logs to see details about the reason for
    failure. Try to connect to the network license manager server from a local machine using
    the following
    commands:

    nc -vz <FelxLM_DNS_NAME> 27000
    nc -vz <FelxLM_DNS_NAME> 27001
    

    In cases where the network license manager server is using an expired license
    file:

    • Update the license file. See Update Network License in the Help
      Center.

    • Set up both a listener on the network license manager log file and an alert, so
      that you are notified when the license is about to expire.

    • If the license service pod is not in the Running state, see Resolve License Service Issues.

    • See Resolve MATLAB Pod Issues.

License Checkout Fails Due to Missed Heartbeats

If you are running MATLAB
Online Server
on a cloud-managed Kubernetes® cluster, such as through Azure®
AKS, the license service might unexpectedly exceed the license checkout count.
Exceeding the license count results in failed license checkouts.

When this issue occurs, the logs for the license service contain several "missed
heartbeat"
warnings. A heartbeat is when the license
service periodically pings the Kubernetes cluster to confirm that the licenses for the MATLAB
Online Server
or MATLAB instances running inside it are still checked out. If the license service misses
a heartbeat, meaning it is unable to connect, the service checks out a new license. After too
many missed heartbeats and license checkouts, the service exceeds the checkout count.

To see if the failed checkouts are due to missed heartbeats, run this command to check the
log for the license service:

kubectl logs license-pod-name --namespace namespace

where:

  • namespace is the MATLAB
    Online Server
    namespace as listed in the install.config file (default =
    "mathworks").

  • license-pod-name is the name of the pod
    running the license service. To get the license pod name, run kubectl get pods
    --namespace namespace
    .

If the log contains repeated missed heartbeat warnings, such as the ones shown here, then
the issue is caused by Kubernetes closing its connection to the license service after a period of
inactivity.

00000034 YYYY-Mmm-DD 09:26:32.863576 0x00007f2c08c8v400 mos::license I Missed heartbeat: 2
00000035 YYYY-Mmm-DD 09:26:32.863640 0x00007f2c08c8v400 mos::license I Current state is: 1
00000036 YYYY-Mmm-DD 09:27:32.643434 0x00007f2c08c8v400 mos::license I Missed heartbeat: 3
00000037 YYYY-Mmm-DD 09:27:32.643488 0x00007f2c08c8v400 mos::license I Current state is: 1
00000038 YYYY-Mmm-DD 09:28:32.700154 0x00007f2c08c8v400 mos::license I Missed heartbeat: 4
00000039 YYYY-Mmm-DD 09:28:32.700234 0x00007f2c08c8v400 mos::license I Current state is: 1
00000040 YYYY-Mmm-DD 09:29:32.739331 0x00007f2c08c8v400 mos::license I Missed heartbeat: 5
00000041 YYYY-Mmm-DD 09:29:32.739374 0x00007f2c08c8v400 mos::license I Current state is: 1
00000042 YYYY-Mmm-DD 09:30:32.702587 0x00007f2c08c8v400 mos::license I Missed heartbeat: 6
00000043 YYYY-Mmm-DD 09:30:32.702636 0x00007f2c08c8v400 mos::license I Current state is: 1
00000044 YYYY-Mmm-DD 09:31:32.670748 0x00007f2c08c8v400 mos::license I Missed heartbeat: 7
00000045 YYYY-Mmm-DD 09:31:32.670799 0x00007f2c08c8v400 mos::license I Current state is: 1
00000046 YYYY-Mmm-DD 09:32:32.709340 0x00007f2c08c8v400 mos::license I Missed heartbeat: 8
00000047 YYYY-Mmm-DD 09:32:32.709388 0x00007f2c08c8v400 mos::license I Current state is: 1
00000048 YYYY-Mmm-DD 09:33:32.776049 0x00007f2c08c8v400 mos::license I Missed heartbeat: 9
00000049 YYYY-Mmm-DD 09:33:32.776103 0x00007f2c08c8v400 mos::license I Current state is: 1
00000050 YYYY-Mmm-DD 09:34:32.676145 0x00007f2c08c8v400 mos::license I Missed heartbeat: 10
00000051 YYYY-Mmm-DD 09:34:32.676193 0x00007f2c08c8v400 mos::license I Current state is: 1
00000052 YYYY-Mmm-DD 09:35:32.897212 0x00007f2c08c8v400 mos::license I Missed heartbeat: 11
00000053 YYYY-Mmm-DD 09:35:32.897262 0x00007f2c08c8v400 mos::license I Current state is: 1

To resolve this issue, specify a shorter interval between heartbeat checks.

In the license.yaml and matlab-pool.yaml override
files, set the heartbeatIntervalInSeconds field. If left unspecified, the
default interval is 600 seconds (10 minutes). Setting the interval to 120 seconds is
sufficient to resolve the issue. The minimum interval is 60 seconds, but more frequent
interval consume additional server resources.

The tables show the location of the YAML override files and the values to set.

matlab-online-server-root/overrides/cluster/namespace/license.yaml
flexlm:
  servers: "27000@flexlm.company.com"
  heartbeatIntervalInSeconds: 120
matlab-online-server-root/overrides/cluster/namespace/matlab-pool.yaml
flexlm:
  servers: "27000@flexlm.company.com"
  heartbeatIntervalInSeconds: 120

After making these changes, you must redeploy the license and MATLAB pool services. For example:

./mosadm undeploy license
./mosadm deploy license

./mosadm undeploy matlab-pool
./mosadm deploy matlab-pool

Get Help

If you are unable to resolve the issue with these resources, do the following:

  1. Have ready the output from the following kubectl
    commands:

    kubectl describe pod <license-pod-name> --namespace <namespace>
    kubectl logs <license-pod-name> --namespace <namespace>
  2. Contact MathWorks
    Support.

Related Topics

  • Contact Technical Support About MATLAB Online Server Issues

License Manager Error Messages

It can also be helpful to view the FLEXlm log file, lmlog.txt, in the $MATLAB\flexlm directory. To get more information about a FLEXlm license manager problem, see the FLEXlm End User Manual, available in PDF format in $MATLAB\flexlm\enduser.pdf or go to the GLOBEtrotter Software, Inc. Web site, www.globetrotter.com.

    Note   
    You can also go to the support page on the MathWorks Web site, www.mathworks.com, and find information about a particular license manager error by searching the solution database by error number. For example, to find information about License Manager Error -15, enter «License Manager Error -15» in the search engine.

License Manager Error -2: Invalid License File Syntax

This error message typically indicates that there is a problem in your License File. On client systems, make sure your License File ($MATLAB\bin\win32\license.dat) has the following format.

  • SERVER host hostID port_num 
    USE_SERVER
    

Note that there should be a carriage return immediately following the USE_SERVER line.

License Manager Error -3: Cannot Connect to a License Server

This error can occur if the SERVER line in your License File is incorrect or missing.

To remedy this error, try the following:

  • Make sure that the SERVER line in your License File matches the SERVER line in the License File on your license server. On client systems, the License File is $MATLAB\bin\win32\license.dat; on your license server, the License File is $MATLAB\flexlm\license.dat, where $MATLAB is the root MATLAB installation directory.

    Note   
    You must restart the license manager after making any changes to the License File on the license server.

  • Make sure the TCP port number at the end of the SERVER line in your License File is not already being used by another application. On NT systems, run the netstat -p tcp command from C:\WINNT\system32. If the local system appears on the Foreign Address list, then the port number listed is being used. Change the port number on the SERVER line to a port that is not being used. FLEXlm has reserved ports in the range 27000 to 27009. Restart the license manager after making this change.
  • Make sure that you do not have multiple vendor daemons (mlm.exe) running. Check your FLEXlm log file ($MATLAB\flexlm\lmlog.txt) for the error «Multiple MLM Servers Running».

License Manager Error -5: License Checkout Failed. No Such Feature Exists.

This message usually indicates that you are trying to use a product for which you are not licensed. Check your License File to see if you are licensed to use this product.

If you are licensed for this product, this error may be the result of having extra carriage returns in your License File. To avoid this, make sure that each line begins with either #, SERVER, DAEMON, or INCREMENT.

    Note   
    You must restart the license manager after making any changes to the License File on the license server.

This error can also be caused by tab characters in the License File. Remove these tabs and replace with them spaces.

This error may also be the result of an incorrect system date. If your system date is set before the date that your license was made, you will get this error. See License Manager Error -10: Feature Has Expired to learn how to reset the system date.

License Manager Error -8: Invalid (Inconsistent) License Key

This error message typically indicates that your License File, $MATLAB\flexlm\license.dat, has been corrupted. This can happen if the License File was edited or if an e-mail program inserted extraneous tabs or carriage returns in the INCREMENT lines.

One way to check for extraneous tabs and carriage returns is to open your License File in a text editor and view all nonprinting characters. Remove all the tab characters and all carriage returns that are not at the end of a line.

Check that the contents of your License File matches the license data sent you by The MathWorks.

License Manager Error -9: Invalid Host. License Checkout Failed.

If you get this error on a system running an individually licensed MATLAB, make sure you are running MATLAB on the same system it was installed on. The MathWorks locks a license to a particular system.

You can also get this error if you replaced your hard drive or changed the partition on an existing hard drive. To remedy this situation, rerun the installer. At Step 5: Select the Products You Want to Install, click on the More Options... button on the Product List dialog box and select the Update license option. This option updates your license without requiring that you reinstall MATLAB.

You can also get this error if you try to clone a Release 13 installation from one system to another.

License Manager Error -10: Feature Has Expired

This error indicates that one or more of your license keys has expired.

Check the expiration date on each of the INCREMENT lines in your License File. If the dates in the license file have already passed, contact the Customer Service department at The MathWorks (through the Web or through e-mail at service@mathworks.com). When contacting The Mathworks, include your License Number and the Host ID of your license server.

If none of your product licenses has expired, check that your system date and time are correct:

  1. Click on the Start menu.
  2. Choose Settings.
  3. Click on Control Panel.
  4. Choose Date/Time.

License Manager Error -11: License Checkout Failed. Invalid Date Format in License File.

This error indicates that the start date or the expiration date in the License File is invalid. This can happen if the expiration dates in the License File have been changed.

You can also get this error if the space character between the number of users field and the 20 digit encryption code in the INCREMENT line is missing. Compare the INCREMENT lines in your license file with the INCREMENT lines in your original license e-mail. They must be exactly the same.

This error can also occur if the SERVER and DAEMON lines are missing from the license.dat file. The installer adds these lines to the License File as part of the installation process.

License Manager Error -12: License Checkout Failed. Invalid Return Data from License Server.

This error can be caused by your network setup. When the license manager tries to connect to the server, the DNS Server does not find it because it does not add the domain name suffix into the search.

If all of your client systems are having this problem, change the name of the server in the SERVER line to the fully qualified name:

  1. Change the SERVER line in all license.dat files on your network, which are located in $MATLAB\bin\win32, to have the fully qualified name of the server.
  2. Restart the license manager on the server. (See Starting and Stopping the License Manager.)

If only some of the clients in your network installation are having this problem, edit the TCP/IP Hosts file on your client systems:

  1. Open the file, C:\WinNT\system32\drivers\etc\hosts
  2. Add the hostname of your license server to this file. You can find your license server information in the SERVER line of your license.dat file.
  1. For example, if your SERVER line looks like this,
    • SERVER hostname INTERNET=128.36.2.12 27000 
      

    Add the following line to your TCP/IP Hosts file.

    • 128.36.2.12 hostname 
      
  1. Save the changes to the TCP/IP Hosts file.

License Manager Error -13: No SERVER Line in License File

This indicates that there is no SERVER line in the License File. This line should be added by the installer during the installation process.

To remedy this problem, run the installer again or manually edit the License File, $MATLAB\flexlm\license.dat, adding the SERVER line. See License File for information about the format and contents of the SERVER line.

License Manager Error -14: Cannot Find SERVER Hostname in Network Database

If this error occurs on a client system, check to make sure that the hostname on the SERVER line in the license.dat file on your client system matches the hostname on the SERVER line in your license.dat file on your license server. Edit the SERVER line in the client license.dat file, if necessary.

Also, make sure that the server’s hostname, included in the SERVER line, is listed in the C:\WINNT\system32\drivers\etc\hosts file for Windows NT.

License Manager Error -15: Cannot Connect to License Server

This error message can have several causes but the most common cause is that the license manager isn’t running on your license server.

Verify that both the license manager daemon and the vendor daemon processes, lmgrd and mlm, are running. You can check this via the Task Manager, which can be accessed by pressing the Ctrl+Alt+Delete key sequence. Run these commands on the system on which your license manager is running.

If the license manager isn’t running, see Starting and Stopping the License Manager for information about starting it.

License Manager Error -16

This error indicates that the path to the MATLAB vendor daemon, mlm.exe, is incorrect in your License File DAEMON line. See License File for an example of a DAEMON line.

License Manager Error -18: License Checkout Failed. License Server Does Not Support This Feature.

The most common cause of this error is updating your License File without restarting your license manager. Restart your license manager and then try to start MATLAB. See Starting and Stopping the License Manager.

If you get this error on a client system, but not your license server, the License File on the client probably needs to be updated. Copy the License File from the server onto the your client system ($MATLAB\bin\win32).

Here are some other possible solutions to this error:

  • Make sure the INCREMENT lines in your license.dat file are exactly as they appeared in the original license e-mail you received from The MathWorks.
  • Make sure the DAEMON line in your license.dat file identifies the correct license manager daemons, especially if you have multiple MATLAB installations on your system.
  • Make sure the TCP port number at the end of the SERVER line in your license.dat file is not already being used by another application. Use the command netstat to show the status of all ports that are in use.
  • On NT systems, run the netstat -p tcp command from C:\WINNT\system32. If the local system appears on the Foreign Address list, then the port number listed is being used. Change the port number on the SERVER line to a port that is not being used. FLEXlm has reserved ports in the range 27000 to 27009. Restart the license manager after making this change.
  • Make sure the Host ID or IP Address listed in the commented section in the license.dat file matches the Host ID or IP Address in the SERVER line. If you are trying to run the license manager on a different system than the one that the license was generated for, you will need to get a new License File from The MathWorks.

License Manager Error -21: License File Does Not Support This Version

If you are getting this error on your license server, make sure you have installed the version of FLEXlm included with Release 13. Release 13 License Files will not work with the older FLEXlm versions.

If you have updated an existing license.dat file with new Release 13 passcodes, you still need to install FLEXlm 8.0d from the MATLAB CD.

If you are getting this error on one of your client systems and not on the server, make sure the License File on the client is in the following format.

  • SERVER host hostname port_num 
    USE_SERVER 
    

The SERVER line in the client system License File should be the same as the SERVER line found in the License File on the license server.

Also, make sure you are using your Release 13 license and not a license from a previous release.

License Manager Error -25: License Server Does Not Support This Version of This Feature

This error indicates that you are trying to run MATLAB 6.5 with an old license. You must update your license.dat file with your new license passcodes.

If you do not have your MATLAB Release 13 license, contact Customer Service at The MathWorks.

License Manager Error -39: No License for Feature

You may encounter the following license manager error:

  • License Manager Error -39
    User/host not on INCLUDE list for feature
    Feature: MATLAB
    

This table lists a typical cause of this error with possible solutions.

Possible Problem Resolution
You are not listed as a user in your options file. Check your options file and make sure your username is on the INCLUDE line for the product you are trying to use.
On UNIX computers, the installer creates the options file, named $MATLAB\flexlm\MLM.opt.

License Manager Error -83: FLEXlm Version of Client Newer Than Server

This error message usually indicates that the version of the license manager on the client system is newer than the license manager on the server system. When MATLAB starts, the license file is pointing to the wrong version of the license manager.

To correct the problem, change the path of the DAEMON line in your license.dat file. For a UNIX server, the DAEMON line for all license files should resemble this sample (the pathname of your daemon will be different).

  • DAEMON MLM $MATLAB/etc/lm_matlab
    

For a PC server, the DAEMON line for all license files should read

  • DAEMON MLM $MATLAB\flexlm\mlm.exe
    

where $MATLAB is your MATLAB installation directory. After changing your License File, be sure to restart the license manager.

License Manager Error -84: Missing Options File

License manager cannot find your options file.

Possible resolutions:

  • Make sure the installer created an options file during the installation procedure. The full path of the options file is $MATLAB\flexlm\MLM.opt, where $MATLAB is your MATLAB installation directory. See Setting Up Network Named User Licensing for more information.
  • Make sure that the DAEMON line in your License File includes the full pathname of your options file. Check the processed License File, $MATLAB\flexlm\license.dat. If the DAEMON line wraps onto a second line, make sure there is a line continuation character (\) at the end of the first line.
  • Make sure you are listed as a valid user of the product you are trying to use.

License Manager Error -88: License Checkout Failed

This error indicates that your system clock has been set incorrectly. Check that your system date and time are correct. To learn how to change the system date, see License Manager Error -10: Feature Has Expired.

License Manager Error -96: Server Node is Down or Not Responding

This error can occur if you are running DHCP (to obtain a dynamically assigned IP address) on your license server. MATLAB cannot connect with the License Manager because it uses TCP/IP protocols for communication and your IP address is changing.

To fix this problem, follow this procedure.

  1. Obtain the current IP address for your server. If you are on UNIX or Linux, use the ifconfig command. On a PC running Windows, you can use the ipconfig command at a DOS prompt.
  2. Edit your hosts file and change the IP address for your server’s entry to be the correct IP address. On UNIX or Linux systems, edit the /etc/hosts file. On Windows NT and Windows 2000 systems, edit the C:\Winnt\system32\drivers\etc\hosts file.

License Manager Error -97: License Checkout Failed

This error is often caused by trying to run both MATLAB 5.3 and MATLAB 6.5 on the same system with different license managers. If this is the case, run both copies of MATLAB with the same License File. See Performing Common License Management Tasks for more information.

If you are not trying to run MATLAB 5.3 but only want to run MATLAB 6.5, make sure you have installed FLEXlm version 8.0d from the Release 13 CD. MATLAB 6.5 will not run with an older version of the license manager.

   Problems During Installation   Troubleshooting an Installation That Uses Dongles 

This issue generally indicates that the license file is served from the Network License Manager and that there is a problem with the license.dat file on the machine running the Network License Manager. The cause of this error may be due to one of the following:

  • The Host ID for which the license.dat file was generated is not the Host ID of the machine hosting the Network License Manager.
  • Missing, corrupt, or incorrect characters in the license.dat file itself.
  • The system time and date are not set properly. Check to make sure that the date and time are set correctly on the machine before proceeding below.

It is also possible for this error to occur if a network license is attempting to be used in place of an Individual or Designated Computer license. If you are trying to activate MATLAB for a network license, you need either a license.dat or network.lic from the person who maintains the Network License Manager. If a Network License Manager has not already been setup, then it needs to be in order to use the license. Read more information from the link below about the differences between license files types:

What are the differences between the license.lic, license.dat, network.lic, and license_info.xml license files?

The first step is to locate the license file (license.dat) for the Network License Manager. The license.dat file on the server machine is located in:

Where are the license files for MATLAB located?

(where $MATLAB is the MATLAB installation directory)

Please check for the following:

1) Make sure that the Host ID specified in the license file matches the Host ID on the «SERVER» line of the license file. The SERVER and DAEMON lines are added automatically when installing the Network License Manager with the MathWorks Product Installer. They can be added manually if you did not use the MathWorks Product Installer to install the Network License Manager.

Additionally, if the Host ID is not proceeded by «ID=», it must match the Host ID of the machine hosting the Network License Manager. For more information on obtaining your Host ID, see the related solution listed below.

The Host ID of the license file will be in a comment line in the license file. For example:

# BEGIN——cut here——CUT HERE——BEGIN

# MATLAB license passcode file.

# LicenseNo: 123456 HostID: 001122334455

In this example, the Host ID is the MAC address 001122334455. This same MAC address should be in the SERVER line of the license file. For example:

SERVER my-license-host 001122334455 27000

If the wrong Host ID is used in the SERVER line, or if the license file was generated for a different Host ID, this error will occur. Individual licenses use a Host ID that is ID= and the license number. If you have an individual license, this should be the Host ID in the SERVER line. For example:

SERVER my-license-host ID=123465 27000

NOTE: Changing the Host ID listed in the commented section of the license file will not resolve the error. If your Host ID is incorrect, you will need to obtain a new license file generated for the correct Host ID.

2) This error may be the result of having extra carriage returns in your license file. In order to avoid this, ensure that the following strings all begin on a left justified line: #, SERVER, DAEMON, or INCREMENT. Sometimes an INCREMENT line can get wrapped on the end of the preceding INCREMENT line causing it to be omitted.

3) If you are located in Turkey, or the default language of your computer is Turkish, please refer to the article below:

Why do I see license manager error -8 when launching MATLAB on Linux when my locale is set to Turkey?

Диагностируйте типичные проблемы

В этом разделе приведены совет при решении задач, с которыми вы можете столкнуться с MATLAB® Программное обеспечение Parallel Server™.

Ошибки лицензии

При запуске работника MATLAB проблема лицензирования может привести к сообщению

License checkout failed. No such FEATURE exists. 
License Manager Error -5

Существует много причин, почему вы можете получить эту ошибку:

  • Это сообщение обычно указывает, что вы пытаетесь использовать продукт, для которого вам не лицензируют. Посмотрите на свой license.dat файл расположился в рамках вашей установки MATLAB, чтобы видеть, разрешают ли вам использовать этот продукт.

  • Если вам лицензируют для этого продукта, эта ошибка может быть результатом наличия дополнительных возвратов каретки или вкладок в вашем файле лицензии. Чтобы избежать этого, гарантируйте, что каждая линия начинается с любого #, SERVER, DAEMON, или INCREMENT.

    После фиксации вашего license.dat файл, перезапустите сетевой менеджер лицензий, и MATLAB должен работать правильно.

  • Эта ошибка может также быть результатом неправильной системной даты. Если ваша системная дата будет то перед датой, которой была сделана ваша лицензия, вы получите эту ошибку.

  • Если вы получаете эту ошибку при запуске рабочего с программного обеспечения MATLAB Parallel Server:

    • Можно вызывать startworker команда от установки, которая не имеет доступа к лицензии рабочего. Например, запуск рабочего от клиентской установки продукта Parallel Computing Toolbox™ вызывает следующую ошибку:

      The mjs service on the host hostname 
      returned the following error:
      
      Problem starting the MATLAB worker.
      
      The cause of this problem is:
      
      ==============================================================
         Most likely, the MATLAB worker failed to start due to a
         licensing problem, or MATLAB crashed during startup.  Check 
         the worker log file
         /tmp/mjs_user/node_node_worker_05-11-01_16-52-03_953.log
         for more detailed information.  The mjs log file
         /tmp/mjs_user/mjs-service.log
         may also contain some additional information.
      ===============================================================
      

      В файлах журнала рабочего вы видите следующую информацию:

      License checkout failed.
      License Manager Error -15
      MATLAB is unable to connect to the license server. 
      Check that the license manager has been started, and that the 
      MATLAB client machine can communicate with the license server.
      
      Troubleshoot this issue by visiting: 
      https://www.mathworks.com/support/lme/R2009a/15
      
      Diagnostic Information:
      Feature: MATLAB_Distrib_Comp_Engine 
      License path: /apps/matlab/etc/license.dat 
      FLEXnet Licensing error: -15,570. System Error: 115
      
    • Если вы установили только продукт Parallel Computing Toolbox, и вы пытаетесь запустить рабочего на той же машине, вы получите эту ошибку, потому что продукт MATLAB Parallel Server не установлен, и поэтому рабочий не может получить лицензию.

Ошибки памяти на операционных системах UNIX

Если количество процессов, созданных серверными службами на машине, запускающей UNIX® операционная система (Linux® или Macintosh), превышает пределы операционной системы, сервисы приводят к сбою и генерируют ошибку из памяти. Рекомендуется, чтобы вы настроили свои системные пределы. Для получения дополнительной информации смотрите Рекомендуемые Системные Пределы для Macintosh и Linux (Parallel Computing Toolbox).

Запустите серверные процессы на Windows Network Installation

Много сетей сконфигурированы, чтобы не позволить LocalSystem иметь доступ к UNC или сопоставленным сетевым ресурсам. В этом случае запустите mjs процесс при различном пользователе с правами войти в систему как сервис. Смотрите Набор Пользователь.

Требуемые порты

С менеджером по заданию

BASE_PORT.  mjs_def файл задает и описывает порты, требуемые менеджером по заданию и всеми рабочими. Смотрите следующий файл в установке MATLAB, используемой для каждого кластерного процесса:

  • matlabroot/toolbox/parallel/bin/mjs_def.sh (на операционных системах UNIX)

  • matlabroot\toolbox\parallel\bin\mjs_def.bat (на Windows® операционные системы)

Передача Заданий.  На машинах рабочего, запускающих операционную систему UNIX, количество портов, требуемых MPICH для выполнения связывающихся заданий, лежит в диапазоне от BASE_PORT + 1000 к BASE_PORT + 2000.

Со сторонним планировщиком

Прежде чем рабочие процессы запускаются, можно управлять областью значений портов, используемых рабочими для передачи заданий путем определения переменной окружения MPICH_PORT_RANGE со значением minport:maxport.

Клиентские порты

С pctconfig (Parallel Computing Toolbox) функционирует, вы задаете порты, используемые клиентом. Если порты по умолчанию не могут использоваться, эта функция позволяет вам конфигурировать порты отдельно для связи с планировщиком задания и связи с параллельным пулом.

Эфемерные порты TCP с менеджером по заданию

Если вы используете менеджера по заданию в кластере узлов рабочие операционные системы Windows, необходимо убедиться, что большое количество эфемерных портов TCP доступно на менеджере по заданию машина. По умолчанию максимальный допустимый эфемерный номер порта TCP на операционной системе Windows 5000, но передачи больших наборов данных могут перестать работать, если эта установка не увеличена. В частности, если ваш кластер имеет 32 или больше рабочих, необходимо увеличить максимальный допустимый эфемерный номер порта TCP с помощью следующей процедуры:

  1. Запустите редактор реестра.

  2. Найдите следующий подключ в реестре и нажмите :

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  3. На окне Registry Editor выберите > > .

  4. В списке записей справа, поменяйте новое имя значения на MaxUserPort и нажмите Enter.

  5. Щелкните правой кнопкой по MaxUserPort имя записи и выбирает .

  6. В Редактировании диалоговое окно Значения DWORD введите 65534 в поле Value data. Выберите Decimal для значения Base. Нажмите OK.

    Этот параметр управляет максимальным номером порта, который используется, когда программа запрашивает любой доступный порт пользователя от системы. Как правило, эфемерные (недолгие) порты выделяются между значениями 1 024 и 5000 включительно. Это действие позволяет выделение для номеров портов до 65 534.

  7. Выйдите из редактора реестра.

  8. Перезагрузите свою машину.

Разместите коммуникационные проблемы

Если рабочий не может установить связь с ее Планировщиком Задания MATLAB, или если клиентский сеанс не может подтвердить профиль, который использует тот планировщик, эта сила указывают на коммуникационные проблемы между узлами.

С интерфейсом командной строки

Во-первых, убедитесь, что рассматриваемые машины уславливаются о своих разрешениях IP. IP-адрес для конкретного хоста должен быть тем же самым для себя, как это с точки зрения другого хоста. Например, если процесс на hostB не может соединиться с одним на hostA, узнайте hostA IP-адрес для себя, затем смотрите что IP-адрес для hostA от hostB. Они должны быть тем же самым.

Если машины могут идентифицировать друг друга, nodestatus команда может быть полезна для диагностирования проблем между их процессами. Используйте функцию, чтобы определить, какие процессы MATLAB Parallel Server работают на локальном хосте, и которые доступны от удаленных хостов. Если рабочий на hostA не может указать с его менеджером по заданию на hostB, запустите nodestatus на обоих хостах, чтобы видеть то, что каждый видит на hostB.

На hostBВыполнение:

nodestatus -remotehost hostB

Затем на hostA, запустите точно ту же команду:

nodestatus -remotehost hostB

Результатами должно быть то же самое, показав тот же список менеджеров по заданию и рабочих.

Если выход указывает на проблемы, запустите команду снова с более высоким информационным уровнем, чтобы получить более подробную информацию:

nodestatus -remotehost hostB -infolevel 3

С графический интерфейсом пользователя центра администратора

Можно диагностировать некоторые коммуникационные проблемы с помощью Центра Администратора.

Если вы не можете успешно добавить хосты листинга путем определения имени хоста, можно использовать их IP-адреса вместо этого (см., Добавляют Хосты). Если вы подозреваете, что любые коммуникационные проблемы, в графический интерфейсе пользователя Центра Администратора нажимают Test Connectivity (см. Тестовую Возможность соединения). Это тестирование проверяет, что узлы могут идентифицировать друг друга и позволить их процессам связываться друг с другом.

Проверьте сетевые коммуникации для кластерного открытия

Если вы хотите использовать обнаружить кластерные возможности в Parallel Computing Toolbox, ваша сеть должна быть сконфигурирована с по крайней мере одним из следующего:

  • DNS запись SRV

  • Многоадресная передача

DNS запись SRV

Когда вы используете DNS для кластерного открытия, вы требуете DNS запись SRV для каждой области. У вас могут быть несколько DNS записи SRV для нескольких Планировщиков Задания MATLAB. Используйте следующую общую форму для каждого DNS запись SRV.

_mdcs._tcp.<domain> <TTL> IN SRV <priority> <weight> <port> <hostname>.

Создайте DNS запись SRV для сервера Планировщика Задания MATLAB с помощью следующих частей.

  • <domain> доменное имя (как company.com или university.edu) то, что клиентская машина ищет.

  • <TTL> указывает, сколько времени (в секундах) запись DNS может кэшироваться. 3600 рекомендуется.

  • IN SRV требуется как показано, указывая, что это — служебная книжка.

  • <priority> и <weight> укажите на приоритет и значения веса. Если вы создаете несколько DNS записи SRV, можно задать их приоритет с этими полями. Значение 0 рекомендуется для каждого. Более низкий <priority> более высокий приоритет, который имеет хост. Когда две записи имеют тот же <priority>, запись с самым высоким <weight> используется сначала. Используйте <weight> значение, чтобы задать настройку сервера.

  • <port> порт, на котором вы связываете с сервером Планировщика Задания MATLAB. Портом по умолчанию является 27350. Если вы изменяете порт для сервера Планировщика Задания MATLAB, изменяете <port> соответственно.

  • <hostname> полностью определенное доменное имя для хоста, служащего Планировщику Задания MATLAB. Машина mjs-1 на доменном company.com имеет полностью определенное доменное имя mjs-1.company.com.

Допустимый DNS SRV записывает для company.com сеть, запускающая Планировщик Задания MATLAB на машине mjs-1 может выглядеть так:

_mdcs._tcp.company.com 3600 IN SRV 0 0 27350 mjs-1.company.com.

Примечание

Если несколько областей требуются, чтобы определять местоположение кластера, используйте DNS запись SRV для каждой области. Если сеть, к которой получают доступ пользователи через VPN, имеет различный DNS записи SRV на вашу внутреннюю сеть, гарантируйте, что DNS запись SRV существует для каждой области.

Используйте стандартную процедуру для своей системы DNS, чтобы создать соответствующий DNS записи SRV. Можно использовать стандартные утилиты, такие как nslookup команда, чтобы проверить, что ваша сеть сконфигурирована с необходимым DNS записи SRV. Чтобы исследовать DNS Планировщика Задания MATLAB, SRV записывает для company.com область, используйте следующую команду.

nslookup -type=SRV _mdcs._tcp.company.com 

Многоадресная передача

Чтобы использовать многоадресную передачу, это требуется на главном узле, запускающем Планировщик Задания MATLAB и в клиентской системе.

Многоадресно передайте, в отличие от TCP/IP или UDP, основанный на подписке протокол, где много машин в сети указывают к сети на свой интерес к конкретным пакетам, происходящим где-нибудь в той сети. В отличие от этого, и UDP и пакеты TCP всегда направляются в одну машину, обычно обозначаемую ее IP-адресом.

Основные инструменты для исследования этого типа пакета:

  • tcpdump для операционных систем UNIX

  • winpcap и ethereal для Microsoft® Операционные системы Windows

  • Java® класс включен с продуктами параллельных вычислений.

Класс Java называется com.mathworks.toolbox.distcomp.mjs.test.MulticastTester. И его статический основной метод и его конструктор берут два входных параметра: многоадресная группа, чтобы присоединиться и номер порта, чтобы использовать.

Этот класс Java имеет много простых методов попытаться соединить заданную многоадресную группу. Если класс успешно соединил группу, он имеет методы, чтобы отправить сообщения группе, прислушаться к сообщениям от группы и отобразить то, что он получает. Можно использовать этот класс и от вызова командной строки до программного обеспечения Java и в MATLAB.

От приглашения оболочки (принимающий тот java находится на вашем пути), ввести

java -cp distcomp.jar com.mathworks.toolbox.distcomp.mjs.test.MulticastTester

Необходимо видеть выход что-то вроде этого:

0 : host1name : 0
1 : host2name : 0

Следующий пример показывает, как использовать класс Java в MATLAB.

Запустите MATLAB на двух машинах (например, host1name и host2name) на который вы хотите протестировать многоадресную передачу. В каждом сеансе работы с MATLAB введите следующие команды:

m = com.mathworks.toolbox.distcomp.mjs.test.MulticastTester('239.1.1.1', 9999);
m.startSendingThread;
m.startListeningThread;

Эти инструкции заставляют каждый сеанс работы с MATLAB выпускать поток многоадресных тестовых пакетов и прислушиваться к тестовым пакетам. Если многоадресно переданный работает между машинами, вы видите поток линий как следующее:

 0 : host1name : 0
 1 : host2name : 0
 2 : host2name : 1
 3 : host2name : 2

Номер слева в каждом векторе символов является номером строки для полученного пакета. Текст в центре является хостом, из которого получен пакет. Номер справа является пакетным номером, отправленным передающим хостом. Нормально для хоста сообщить о тестовом пакете от себя.

Если или машина не получает поток тестовых пакетов, или если удаленный хост не включен ни в один поток, то многоадресно переданная коммуникация не действует правильно.

Чтобы отключить тестовый поток, выполните следующее в обоих сеансах работы с MATLAB:

m.stopSendingThread;
m.stopListeningThread;

This issue generally indicates that the license file is served from a network license manager and that there is a problem with the license.dat file on the machine running the license manager. The cause of this error may be due to one of the following:

  • The Host ID for which the license.dat file was generated is not the Host ID of the license server machine
  • Missing, corrupt, or incorrect characters in the license.dat file itself
  • The system time and date are not set properly. Check to make sure that the date and time are set correctly on the machine before proceeding below.

It is also possible for this error to occur if a network license is attempting to be used in place of an Individual or Designated Computer license. If you are trying to activate MATLAB for a network license, you need either a license.dat or network.lic from the person who maintains the Network License Manager. Read more information from the link below about the differences between license files types:

What are the differences between the license.lic, license.dat, network.lic, and license_info.xml license files?

This issue may also occur if you are using MATLAB R2007b or below with a standalone license file generated for R2008a or higher.In this case, generating a license file for the correct release of MATLAB will resolve this issue.

If the time and date are set correctly, and you are not using R2007b or below with a standalone license file for R2008a or higher, see the steps below for troubleshooting the license file:

The first step is to locate the license file (license.dat) for the license manager. The license.dat file on the server machine is located in:

Where are the license files for MATLAB located?

(where $MATLAB is the MATLAB installation directory)

Please check for the following:

1) Make sure that the Host ID specified in the license file matches the Host ID on the «SERVER» line of the license file. Also if the Host ID is not proceeded by «ID=», it must match the Host ID of the license server. For more information on obtaining your Host ID, see the related solution listed below.

The Host ID of the license file will be in a comment line in the license file. For example:

# BEGIN——cut here——CUT HERE——BEGIN

# MATLAB license passcode file.

# LicenseNo: 123456 HostID: 001122334455

In this example, the Host ID is the MAC address 001122334455. This same MAC address should be in the SERVER line of the license file. For example:

SERVER my-license-host 001122334455 27000

If the wrong Host ID is used in the SERVER line, or if the license file was generated for a different Host ID, this error will occur. Individual licenses use a Host ID that is ID= and the license number. If you have an individual license, this should be the Host ID in the SERVER line. For example:

SERVER my-license-host ID=123465 27000

NOTE: Changing the Host ID listed in the commented section of the license file will not resolve the error. If your Host ID is incorrect, you will need to obtain a new license file generated for the correct Host ID.

2) This error may be the result of having extra carriage returns in your license file. In order to avoid this, ensure that the following strings all begin on a left justified line: #, SERVER, DAEMON, or INCREMENT. Sometimes an INCREMENT line can get wrapped on the end of the preceding INCREMENT line causing it to be omitted.

3) If you are located in Turkey, or the default language of your computer is Turkish, please refer to the article below:

Why do I see license manager error -8 when launching MATLAB on Linux when my locale is set to Turkey?

Содержание

  1. Русские Блоги
  2. Что мне делать, если я обнаруживаю «Ошибка диспетчера лицензий -8?» Во время работы с Matlab
  3. Интеллектуальная рекомендация
  4. IView CDN Загрузка значка шрифта нормальная, а значок шрифта не может быть загружен при локальной загрузке JS и CSS
  5. Критическое: ошибка настройки прослушивателя приложения класса org.springframework.web.context.ContextLoaderLis
  6. 1086 Не скажу (15 баллов)
  7. Pandas применяют параллельный процесс приложения, многоядерная скорость очистки данных
  8. PureMVC Learning (Tucao) Примечания
  9. Ошибка активации Matlab: ошибка проверки лицензии. Ошибка диспетчера лицензий -9
  10. With FlexNet 10.8, why am I getting a license manager error -8 when running redundant servers?
  11. Direct link to this question
  12. Direct link to this question
  13. Accepted Answer
  14. Direct link to this answer
  15. Direct link to this answer
  16. More Answers (0)
  17. See Also
  18. Categories
  19. Products
  20. Release
  21. Community Treasure Hunt
  22. How to Get Best Site Performance
  23. Americas
  24. Europe
  25. Asia Pacific
  26. Matlab license manager error 8 2020

Русские Блоги

Автор установил систему 2016a — это 64-битная операционная система. После активации возникают следующие проблемы:

Я попробовал несколько онлайн-методов, и этот, наконец, преуспел:

Вместо копирования корзины для крэка и набора инструментов. Две папки копируются в каталог установки, но четыре файла в корзине копируются в win 64 в корзине каталога установки!

Скопируйте 4 файла win64 под взломанной версией в установленный bin win64

Интеллектуальная рекомендация

IView CDN Загрузка значка шрифта нормальная, а значок шрифта не может быть загружен при локальной загрузке JS и CSS

Используйте iview, чтобы сделать небольшой инструмент. Чтобы не затронуть другие платформы, загрузите JS и CSS CDN на локальные ссылки. В результате значок шрифта не может быть загружен. Просмо.

Критическое: ошибка настройки прослушивателя приложения класса org.springframework.web.context.ContextLoaderLis

1 Обзор Серверная программа, которая обычно запускалась раньше, открылась сегодня, и неожиданно появилась эта ошибка. Интуитивно понятно, что не хватает связанных с Spring пакетов, но после удаления п.

1086 Не скажу (15 баллов)

При выполнении домашнего задания друг, сидящий рядом с ним, спросил вас: «Сколько будет пять умножить на семь?» Вы должны вежливо улыбнуться и сказать ему: «Пятьдесят три». Это.

Pandas применяют параллельный процесс приложения, многоядерная скорость очистки данных

В конкурсе Algorith Algorith Algorith Algorith Algorith 2019 года используется многофункциональная уборка номера ускорения. Будет использовать панды. Но сама панда, кажется, не имеет механизма для мно.

PureMVC Learning (Tucao) Примечания

Справочная статья:Введение подробного PrueMVC Использованная литература:Дело UnityPureMvc Основная цель этой статьи состоит в том, чтобы организовать соответствующие ресурсы о PureMVC. Что касается Pu.

Источник

Ошибка активации Matlab: ошибка проверки лицензии. Ошибка диспетчера лицензий -9

Я использую Linux Manjaro. Я перепробовал все, что пришло мне в голову, но все равно получаю эту ошибку:

Я запустил ./activate_matlab.sh и активировал его через файл license И зашел в MathWorks онлайн. Я удалил установку .lic в R2020a/license/ и создал новую. Я попытался создать файл лицензии с каждым найденным MAC-адресом. Ничего не работает. Я все время получаю эту ошибку. Только один раз мне удалось использовать Matlab, сразу после его установки. Затем, после первого закрытия, я застрял на этой ошибке в течение 2 дней. Помогите, пожалуйста.

Но в случае, если ссылка здесь умирает, это из сообщения MathWorks: лучший способ устранить ошибку диспетчера лицензий -9 — повторно активировать MATLAB с помощью клиента активации.

Клиент активации находится здесь:

  • Откройте Finder.
  • Зайдите в «Приложения».
  • Щелкните правой кнопкой мыши или щелкните значок приложения MATLAB, удерживая нажатой клавишу Control. (например, MATLAB_R2015b.app)
  • Щелкните «Показать содержимое пакета».
  • Откройте «Activate.app».

Клиент активации находится здесь:

После запуска клиента активации MATLAB:

  • Выберите «Активировать автоматически через Интернет».
  • Войдите в свою учетную запись MathWorks.
  • Выберите правильную лицензию.
  • Поле имени пользователя должно автоматически заполняться правильным именем пользователя. Оставьте как есть.
  • Подтвердите информацию об активации.
  • Нажмите «Готово», чтобы завершить процесс активации.
  • Перезапустите MATLAB.

По-прежнему отображается ошибка диспетчера лицензий -9?

  • Имя пользователя в файле лицензии не совпадает
  • Идентификатор хоста в файле лицензии не совпадает
  • У вас есть лицензия MATLAB для назначенного компьютера, и MATLAB уже работает под другой учетной записью пользователя на этом компьютере.

Подтвердите свое имя пользователя и идентификатор хоста с помощью клиента активации:

Запустите клиент активации и выберите «Активировать вручную без использования Интернета».

Выберите «У меня нет файла лицензии. Помогите мне со следующими шагами ».

Скопируйте свой идентификатор хоста и имя для входа на компьютер.

Щелкните стрелку назад 2 раза и выберите «Активировать автоматически через Интернет», затем введите соответствующее имя пользователя.

Запустите MATLAB, используя соответствующую учетную запись пользователя.

Для запуска клиента активации требуются повышенные привилегии? Ошибка подключения при автоматической активации? По-прежнему отображается ошибка диспетчера лицензий — 9?

Как мне активировать MATLAB без подключения к Интернету?

Источник

With FlexNet 10.8, why am I getting a license manager error -8 when running redundant servers?

Direct link to this question

Direct link to this question

Accepted Answer

Direct link to this answer

Direct link to this answer

0 Comments

More Answers (0)

See Also

Categories

No tags entered yet.

Products

Release

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

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Matlab license manager error 8 2020

License Manager Error Messages

This section provides information about some of the more common license manager errors, listed in this table by error number.

License Manager Error
License Manager Error -2: Invalid License File Syntax
License Manager Error -3: Cannot Connect to a License Server.
License Manager Error -5: License Checkout Failed. No Such Feature Exists.
License Manager Error -8: Encryption Code in License File Is Inconsistent
License Manager Error -9: Invalid Host
License Manager Error -10: Feature Has Expired
License Manager Error -11: Invalid Date Format in License File
License Manager Error -12: Invalid Returned Data from License Server
License Manager Error -13: No SERVER Line in License File
License Manager Error -14: Cannot find SERVER Hostname in Network Database
License Manager Error -15: Cannot Connect to License Server
License Manager Error -16: Cannot Read Data from License Server
License Manager Error -18: License Server Does Not Support This Feature
License Manager Error -21: License File Does Not Support This Version
License Manager Error -25: License Server Does Not Support This Version of This Feature
License Manager Error -31: Feature Not Yet Available
License Manager Error -39: No License for Feature
License Manager Error -83: FLEXlm Version of Client Newer Than Server
License Manager Error -84: Missing Options File
License Manager Error -88: License Checkout Failed
License Manager Error -96: Server Node is Down or Not Responding
License Manager Error -97: License Checkout Failed

To get more information about a FLEXlm license manager problem, see the FLEXlm End User Manual, available in PDF format in $MATLAB/etc/enduser.pdf or go to the GLOBEtrotter Software, Inc. Web site, www.globetrotter.com . You can also go to the support page on the MathWorks Web site, www.mathworks.com , and find additional information about a particular license manager error.

License Manager Error -2: Invalid License File Syntax

This error typically indicates that there is a problem in your License File.

On client systems, make sure your License File has the following format.

Note that there should be a carriage return immediately following the USE_SERVER line.

License Manager Error -3: Cannot Connect to a License Server.

This error can occur if the SERVER line in your License File is incorrect or missing.

  • Make sure that the SERVER line in your License File matches the SERVER line in the License File on your license server. On Windows systems, the license.dat file on the client can be found in $MATLABbinwin32 . On UNIX systems, it is located in $MATLAB/etc on UNIX/Linux machines.

Note You must restart the license manager after making any changes to the License File on the license server.

  • Make sure the TCP port number at the end of the SERVER line in your License File is not already being used by another application. Change the port number on the SERVER line to a port that is not being used. FLEXlm has reserved ports in the range 27000 to 27009 . Restart the license manager after making this change.
  • Make sure that you do not have multiple MathWorks vendor daemons ( mlm ) running. Check your FLEXlm log file for the error «Multiple MLM Servers Running.»

License Manager Error -5: License Checkout Failed. No Such Feature Exists.

This error usually indicates that you are trying to use a product for which you are not licensed.

  • Check your License File to see if you are licensed to use this product.
  • Make sure that your License File does not contain extra carriage returns or tabs. To avoid this, make sure that each line begins with either # , SERVER , DAEMON , or INCREMENT and replace any tab characters in INCREMENT lines with spaces.

    Note You must restart the license manager after making any changes to the License File on the license server.

  • Make sure that your system date is correct. If your system date is set before the date that your license was made, you will get this error.

License Manager Error -6: No TCP «License» Server Exists

This error can occur if a SERVER line does not specify a TCP port number, and the TCP license service does not exist in /etc/services .

  • Make sure that the SERVER line in your License File contains a TCP port number, typically 27000.
  • Make sure your /etc/services file is configured correctly.
  • Ensure that the TCP/IP network software is running on your computer. The license manager requires TCP/IP even for stand-alone computers. Use the UNIX telnet hostname command where hostname is the name of the computer running the license server. If the telnet command does not connect to the specified hostname computer, there is a problem with your network configuration. You must resolve this problem before you can run MATLAB.

License Manager Error -8: Encryption Code in License File Is Inconsistent

The passcode in an INCREMENT line does not match the other data in the license file. The log file, usually named /var/tmp/lm_TMW.log, should indicate the specific INCREMENT line where it found bad codes in your License File, $MATLAB/etc/license.dat.

  • Check the license passcode closely for typographical errors. Make sure that zeros are not the letter O. Make sure that Bs are not 8s, and so on.
  • Check the date format in your License File may be incorrect; e.g., 01-mar-99 instead of 01-mar-2002 . The date format should always match the passcodes that were sent by e-mail or faxed to you.

License Manager Error -9: Invalid Host

The host ID specified in the License File does not match the node on which the software is running.

  • Make sure the host ID in the license e-mail or fax you received from The MathWorks matches the host ID on the SERVER line in your License File.
  • Make sure that the host ID given to The MathWorks is correct. Execute the $MATLAB/etc/ lmhostid command on the node. If the host ID returned is different from the host ID in the License File, contact The MathWorks for new passcodes. See Obtaining or Changing Your License File for more information.

License Manager Error -10: Feature Has Expired

This error indicates that one or more of your license keys has expired.

  • Check the expiration date on each of the INCREMENT lines in your License File. If the dates in the license file have already passed, contact the Customer Service department at The MathWorks (through the Web or through e-mail at service@mathworks.com ). When contacting The Mathworks, include your License Number and the host ID of your license server.
  • If none of your product licenses has expired, check that your system date and time are correct.

License Manager Error -11: Invalid Date Format in License File

This error indicates that the start date or the expiration date in the License File is invalid. This can happen if the expiration dates in the License File have been changed.

You can also get this error if the space character between the number of users field and the 20 digit encryption code in the INCREMENT line is missing. Compare the INCREMENT lines in your license file with the INCREMENT lines in your original license e-mail. They must be exactly the same.

This error can also occur if the SERVER and DAEMON lines are missing from the license.dat file. The installer adds these lines to the License File as part of the installation process.

License Manager Error -12: Invalid Returned Data from License Server

This error occurs when incompatible daemons are running. Most often this error is caused by doing an upgrade installation of MATLAB in the same directory as the previous version where the daemons were not shut down before the update was installed. If the daemons are not shut down, then an update of MATLAB will not replace the daemon files.

  • Execute $MATLAB/etc/lmstart to start the license manager and vendor daemons corresponding to the current version of MATLAB.
  • Shut down the currently running daemons and reinstall the license manager files.

License Manager Error -13: No SERVER Line in License File

This indicates that there is no SERVER line in the License File. This line should be added by the installer during the installation process.

To remedy this problem, run the installer again or manually edit the License File, $MATLABflexlmlicense.dat , adding the SERVER line. See License File for information about the format and contents of the SERVER line.

License Manager Error -14: Cannot find SERVER Hostname in Network Database

The gethostbyname() system call failed for the SERVER name in the License File. The license server and the client running MATLAB are in different domains. The local hostname listed in the License File cannot be resolved on the remote domain.

To fix this problem, perform this procedure:

  1. Place an alias in the license server’s local host table for the fully qualified name, since all domains (including the license server) must be able to resolve the fully qualified name for the license server through the host table, DNS, or Yellow Pages.
  2. Verify that the server name can be resolved by using telnet to log in remotely to the server computer (using the fully qualified name) from itself and from a client. If the telnet connection succeeds, then the fully qualified name is resolvable.
  3. Insert the fully qualified name for the server on the SERVER line of the License File.
  4. Invoke $MATLAB/etc/lmstart to force the license manager to reread the License File.

License Manager Error -15: Cannot Connect to License Server

The license manager could not connect to the vendor daemon on the SERVER node. This error is displayed when starting MATLAB.

  • Make sure the license manager daemons are running on the license server by running $MATLAB/etc/lmstat on the license server. If the license daemons are not running, execute $MATLAB/etc/lmstart. If the license manager does not start, check the log file, usually /var/tmp/lm_TMW.log , for diagnostic messages.
  • If the license manager is running on the license server, make sure that the TCP/IP network software is running on the computer. Even for stand-alone computers, the license manager requires TCP/IP. Enter the UNIX telnet hostname command where hostname is the name of the license server. If telnet does not return a successful session on hostname , there is a problem with your network configuration. You must resolve this problem before you can run MATLAB. Contact your local system administrator for help

License Manager Error -16: Cannot Read Data from License Server

This error indicates that the path to the MATLAB vendor daemon, mlm.exe , is incorrect in your License File DAEMON line. See License File for an example of a DAEMON line.

License Manager Error -18: License Server Does Not Support This Feature

The feature has expired (on the server), has not yet started, or the version is greater than the highest supported version.

  • Make sure that the INCREMENT line in your License File exactly matches the INCREMENT line in the license information you received from The MathWorks. Check for typographical errors.
  • Check that the license manager was restarted after making changes to your License File.

License Manager Error -21: License File Does Not Support This Version

If you are getting this error on your license server, make sure you have installed the version of FLEXlm included with Release 13. Release 13 License Files will not work with the older FLEXlm versions.

If you have updated an existing license.dat file with new Release 13 passcodes, you still need to install FLEXlm 8.0d from the MATLAB CD.

If you are getting this error on one of your client systems and not on the server, make sure the License File on the client is in the following format.

The SERVER line in the client system License File should be the same as the SERVER line found in the License File on the license server.

Also, make sure you are using your Release 13 license and not a license from a previous release.

License Manager Error -25: License Server Does Not Support This Version of This Feature

This error indicates that you are trying to run MATLAB 6.5 with an old license. You must update your license.dat file with your new license passcodes.

If you do not have your Release 13 license, contact Customer Service at The MathWorks.

License Manager Error -31: Feature Not Yet Available

The current date is before the feature start date. Check the log file for the name of the feature.

  • Make sure that the license passcode of the INCREMENT line in your License File exactly matches the passcode in the license information you received from The MathWorks. Check for typographical errors.
  • Make sure that the date on your system is correct. To check the date, use the UNIX date command at the UNIX prompt.

License Manager Error -39: No License for Feature

You are not listed as a user in your options file.

  • Check your options file and make sure your username is on the INCLUDE line for the product you are trying to use. The installer creates the options file, named $MATLAB/etc/MLM.opt .

License Manager Error -83: FLEXlm Version of Client Newer Than Server

This error message usually indicates that the version of the license manager on the client system is newer than the license manager on the server system. When MATLAB starts, the license file is pointing to the wrong version of the license manager.

To correct the problem, change the path of the DAEMON line in your license.dat file. For a UNIX server, the DAEMON line for all license files should resemble this sample (the path of your daemon will be different).

For a PC server, the DAEMON line for all license files should read

where $MATLAB is your MATLAB installation directory. After changing your License File, be sure to restart the license manager.

License Manager Error -84: Missing Options File

This error typically indicates one of these conditions:

  • You do not have an options file
  • The DAEMON line in you License File does not include the path to the options file
  • You are not listed in the options file as a valid user of this product
  • Make sure the installer created an options file during the installation procedure. The full path of the options file is $MATLABflexlmMLM.opt , where $MATLAB is your MATLAB installation directory.
  • Add the full path of your options file to the DAEMON line in your License File.
  • Make sure your username appears in the correct INCLUDE lines in your options file.

License Manager Error -88: License Checkout Failed

This error indicates that your system clock has been set incorrectly. Check that your system date and time are correct.

License Manager Error -96: Server Node is Down or Not Responding

This error can occur if you are running DHCP (to obtain a dynamically assigned IP address) on your license server. MATLAB cannot connect with the License Manager because it uses TCP/IP protocols for communication and your IP address is changing.

To fix this problem, follow this procedure.

  1. Obtain the current IP address for your server. If you are on UNIX or Linux, use the ifconfig command. On a PC running Windows, you can use the ipconfig command at a DOS prompt.
  2. Edit your hosts file and change the IP address for your server’s entry to be the correct IP address. On UNIX or Linux systems, edit the /etc/hosts file. On Windows NT and Windows 2000 systems, edit the C:Winntsystem32driversetchosts file.

License Manager Error -97: License Checkout Failed

This error is often caused by trying to run both MATLAB 5.3 and MATLAB 6.5 on the same system with different license managers. If this is the case, run both copies of MATLAB with the same License File. See Running Multiple Versions of MATLAB for more information.

If you are not trying to run MATLAB 5.3 but only want to run MATLAB 6.5, make sure you have installed FLEXlm version 8.0d from the Release 13 CD. MATLAB 6.5 will not run with an older version of the license manager.

Источник

Понравилась статья? Поделить с друзьями:

Интересное по теме:

  • Маунт энд блейд варбанд ошибка
  • Мать не признает свои ошибки
  • Мать тревожилась о ребенке исправить ошибки
  • Маткад ошибка это значение должно быть скаляром
  • Маткад произошла внутренняя ошибка

  • Добавить комментарий

    ;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: