Share

tcp_s is bad!!! Exiting - Arnold User Guide

One reason for this error is that some other process is using port 2080

In the lmgrd debug log file, you'll see this:

20:50:07 (adskflex) Server started on REMFDXQFB2 for:        
20:50:07 (adskflex) 86985ARNOL_F (consisting of:                86985ARNOL_2018_0F)
20:50:07 (adskflex) EXTERNAL FILTERS are OFF
20:50:07 (lmgrd) adskflex using TCP-port 0
20:50:07 (adskflex) SLOG: Statistics Log Frequency is 240 minute(s).
20:50:07 (adskflex) tcp_s is bad!!! Exiting
20:50:07 (adskflex) EXITING DUE TO SIGNAL 28 Exit reason 5 

In LMTOOLS, Perform Status Enquiry gives you this after a Start Server:

--------
Status
--------
Flexible License Manager status on Wed 2/7/2018 20:49

[Detecting lmgrd processes...]
License server status: 27000@REMFDXQFB2
    License file(s) on REMFDXQFB2: D:\\Autodesk\\Network License Manager\\MAYA_2017_0_F.lic:D:\\Autodesk\\Network License Manager\\REMFDXQFB21866da020992.lic:

REMFDXQFB2: license server UP (MASTER) v11.13.1

Vendor daemon status (on REMFDXQFB2):

 adskflex: 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.
Server name:   10.39.249.225
License path:  27000@REMFDXQFB2;
FlexNet Licensing error:-15,578.  System Error: 10049 "WinSock: Invalid address"
For further information, refer to the FlexNet Licensing documentation,
available at "www.flexerasoftware.com".

From the License Administration Guide, the -15 error:

Cannot connect to license server system.

The server (lmadmin or lmgrd) has not been started yet, or the wrong port@host or license file is

being used, or the TCP/IP port or host name in the license file has been changed.

Windows XP SP2 platforms have a limit on the number of TCP/IP connection attempts per second

that can be made, which your application may have exceeded. Refer to the manufacturer's

documentation on how to change this limit.

On Windows, you can use netstat and tasklist to find out who is using port 2080:

 C:\\Users\\blairs>netstat -ano | findstr 2080


  TCP   0.0.0.0:2080          0.0.0.0:0             LISTENING       18612
  TCP   [::]:2080              [::]:0               LISTENING       18612


C:\\Users\\blairs>tasklist  /SVC | findstr 18612

rlm.exe                      18612 RLM-SolidAngle 

In the example above, you can see that the user tried to use an Autodesk license with the RLM license server.

The RLM and Autodesk (flexlm) license file formats are very similar. In particular, the Autodesk license has this VENDOR line:

 VENDOR adskflex port=2080 

RLM reads that line and tries to start the adskflex ISV on port 2080. That fails, but RLM ends up listening on port 2080.

Was this information helpful?