Flexnet licensing error 15 570
- Request Demonstration
- Contact
- Product Information
- Products
- Specification Chart
- License Options
- System Requirements
- Release History
- Use Cases
- Model and Application Files
- Product Demo Videos
- User Stories
- Papers and Research
- Books
- Learn
- Learning Center
- Instructor-Led Training
- Discussion Forum
- Application Exchange
- COMSOL Blog
- Multiphysics Cyclopedia
- Events
- Webinars
- COMSOL Days
- Events Calendar
- COMSOL Conference
- Support and Services
- Support Center
- My Support Cases
- Knowledge Base
- Partners and Consultants
- Documentation
- Product Download
FlexNet Publisher: Solution for error «Cannot connect to license server system. (-15,570:115 ‘Operation now in progress’)»
When the lmstat or lmdiag utility attempts to access the license server, the connection fails with the error message «Cannot connect to license server system. (-15,570:115 ‘Operation now in progress’)».
Diagnosis:
When a user attempts to run the lmdiag or lmstat utility against the license server, the following error can occur:
Support@Revenear1:~$ ./lmutil lmstat -a -c @10.10.10.Xlmutil - Copyright (c) 1989-2019 Flexera. All Rights Reserved.Flexible License Manager status on Fri 6/24/2022 18:15Error getting status: Cannot connect to license server system. (-15,570:115 "Operation now in progress")Support@Revenear1:~$ ./lmutil lmdiag -n -c @10.10.10.Xlmutil - Copyright (c) 1989-2019 Flexera. All Rights Reserved.FlexNet diagnostics on Fri 6/24/2022 18:16Can't fetch the requested Information!!Kindly re-check the license file path and server details.
Solution:
The following solution works only if the Palo Alto firewall is involved in the network.
The Palo Alto firewall uses the application profile to allow TCP traffic. In the case described in this article, rules exist that enable connections to be established for specified applications without a value defined for tcp/ports (such as ssh , HTTP , and HTTPS ) . Because Ncat does not traffic any data until data is sent, the open connection with these applications will succeed. However, if a user attempts to send data (for example, an SMTP test) to an application not included in such rules, the connection fails.
To ensure that a connection with the FlexNet Publisher license server is allowed, users must create an application rule for flexnet-publisher .
Cannot connect to license server system (-15,xxx)
Error message: Cannot connect to license server system. The license server manager (lmgrd) has not been started yet, the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Error message
Cannot connect to license server system. The license server manager (lmgrd) has not been started yet, the wrong port@host or license file is being used, or the port or hostname in the license file has been changed. Feature: SeeSAR Server name: abc-107751 License path: @abc-107751:/usr/local/seesar-10.2-Linux-x64/*.lic: FlexNet Licensing error:-15,570. System Error: 115 "Operation now in progress"
Solution
Most probably there is a communication problem between the client computer (where you run the tool) and the license server machine.
But first, just to double check: is the license server up and running? Please send us all available logs (lmadmin.log or lmgrd.log, BIOSOLVE.log), and the effective license file that is used by the license server.
The customer (you) is allowed to alter the used port; by default this is a port automatically chosen from the range 27000-27009. If you are using a different port, you have to specify this in the license source. So, if e.g. you chose 23456 as the lmgrd/lmadmin port, you would have to use 23456@my_license_server as the license source. Also, the customer is allowed to alter the name of the server, please ask your system administrator, which is the correct name to reach the license server.
Oftentimes, firewall settings lead to problems in network communication. Please ask your administrator, whether the license server is reachable from your machine by that name via the concerning ports. Maybe you have to use a fully qualified name or the IP instead.
Make sure that you can connect to the license server machine from the execution machine. Ask your system administrator whether the license server machine is accessible on the SERVER port and on the VENDOR port. For further details see ports used by the license server and checking ports.
Both ports have to be freely accessible through a firewall.
Why do I receive «FLEXlm error: -15,570. System Error: 10038 Winsock: Specified socket is invalid» when I try to start MATLAB?
A variation on this error is: ERROR: License Manager Error -15 Cannot connect to license server The server (lmgrd) has not been started yet, or the wrong port@host or license file is being used, or the port or hostname in the license file has been changed. Feature: MATLAB Server Name: Server1 License path: C:\MATLAB6p5\bin\win32\license.dat;C:\MATLAB6p5\bin\win32\*.lic FLEXlm error: -15,570. System Error: 10061 «Winsock: Specified socket is invalid»
Accepted Answer
MathWorks Support Team on 27 Feb 2019
Direct link to this answer
Cancel Copy to Clipboard
Direct link to this answer
Cancel Copy to Clipboard
Edited: MathWorks Support Team on 27 Feb 2019
If the following error is displayed:
FLEXlm error: -15,570. System Error: 10038 «Winsock: Specified socket is invalid»
FLEXlm error: -15,570. System Error: 10038 «Winsock: Connection refused»
To resolve this issue, please try the following workarounds:
— Ensure that the same port numbers are listing in the SERVER line of the license.dat file on both the license server and client.
— Disable security software (e.g. antivirus)
— Uninstall wireless networking software
— Uninstall software/drivers for on-board infrared devices
— Reinstall the TCP/IP network stack
— If the network license manager is on Windows Vista, move the license manager files from the «C:\Program Files» folder to another folder (e.g. C:\flexlm).
If the error includes this line: ERROR: FLEXlm error: -15,570. System Error: 10061 «Winsock: Specified socket is invalid»
There is a port number conflict.
The network license manager operates using two TCP ports.
In order to use a firewall with FLEXnet, you will need to configure your license to use static ports and then open these in any network security that you have.
To do so, follow the steps below:
The first port the license manager uses is specified as the last argument of the SERVER line in the license file. This port is used for the initial connection to the license server. For example, this line below:
SERVER license-server-1 0011aabbcc22 27000
shows that the license manager is using port 27000. If you do not have a port number on the end of this line, you will need to specify a port. By default MathWorks uses port 27000 upon installation, however you can specify any open port on the machine.
To verify which ports are in use on your system, you can use the «netstat» utility. This utility is called from the DOS prompt for Windows, or through a terminal window on Linux/Unix/Mac. To use the utility, execute the following command:
netstat -a -p tcp
The other license manager port is specified in DAEMON line of the license file. By default, the vendor DAEMON (MLM) uses a random open port. In order for the license manager to work with network security software and firewalls, you must specify an open port on your system for MLM. This specification is done in the license file by adding the flag ‘port=’ to the end of the DAEMON line. For example:
DAEMON MLM «C:\flexlm\mlm.exe» port=1711
In this example, MLM is tied to port 1711. Again, this must be a free port on the machine. If a port number which is already in use is chosen, a «port in use» error message will be generated when the license manager is restarted.
If you changed the ports, you will need to restart the license manager for the changes to take effect. Once the license manager is started successfully with the changes, you will need to open the ports any firewalls. Once open, you should be able to check out a license through a firewall.
NOTE: If client machines have a firewall, you will need to open the two ports on the client firewall as well.