This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Winsock error from tidspssw

I am trying to install my floating license for CCS v5 on a server that I have been successfully using for other FlexLM licenses, but when I check the staus of the server, there is a Winsock error that is preventing the tidspssw daemon from working. The results of a status enquiry from lmtools is copied below. from a Can anyone help?

--------
Status
--------
Flexible License Manager status on Fri 8/3/2012 16:14

[Detecting lmgrd processes...]
License server status: 27000@uspl-print2
    License file(s) on uspl-print2: C:\Altera_License_Server\TMDSCCS-ALLF05-v5.lic:

uspl-print2: license server UP (MASTER) v11.10

Vendor daemon status (on uspl-print2):

  tidspssw: 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:   192.62.143.144
License path:  27000@uspl-print2;
FLEXnet Licensing error:-15,10.  System Error: 10049 "WinSock: Invalid address"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".

  • Hi George,

    Have you allowed the port through the firewall?  Have you tried using the fully resolved MAC rather than name (uspl-print2)?   Could you send the vendor daemon log?

    Did you follow the instructions from this wiki

    http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS

    Best Regards,
    Lisa

  • I have an Altera license daemon that is already running through this port, so I don't think it is a firewall problem.

    Concerning the MAC address, this is the Server line from the license file as received
    SERVER this_host 000103DEF49D
    and this is the modified version in use
    SERVER uspl-print2 000103DEF49D 1700
    I believe this is correct from the Flexera documentation.

    Where do I find or generate the daemon log? I don't see any file that appears to be it in the installation folder.

    I followed the wiki directions as much as possible, but lmadmin would not install on the Windows 2000 server we're using, so I am using lmtools.

  • Hi George,

    based on this post and the error message in your initial post, I am wonder whether the problem is that the license file has been modified.  Normally this is detected and not allowed with a couple very limited exceptions.  It is particularly no allowed to change the host yourself.  When I mentioned full MAC I meant when setting up in CCS itself and directing CCS to the server.

    Please let us know what was modified in the license file and if possible try the original file and keep us informed.

    Best Regards,
    Lisa

  • Hi, Lisa.

    The only things modified in the license file that I received was what I noted in my last post: this_host replaced by our server's name uspl-print2, and adding the port number 1700. I also tried not adding the port number, but I received the same error but with port 27000. (That is actually the error data that I had in my original post, but adding the 1700 to the SERVER line did not change the error.)

    Before I changed the this_host to uspl-print2, that produced an additional error, and this does match the setup instructions in the license administration documentation.

    Because the daemon does not seem to be running properly, I have not even tried to set up CCS itself.

    Is there a daemon log on the server that would help to diagnose this problem? Could the problem be related to usings Windows 2000?

    Best regards,
    George

  • Hi George,

    even that might be an "illegal" change since the file goes through an encryption ... hence why you can not modifiy the intended dates in the file or MAC address etc.  Are you migrating to a new/different server?  Did you need to correct or modify the MAC associated with your license?

    Best Regards,
    Lisa

  • Hi George,

    would you be willing to send the license file offline?  I could then look at it with a collegue who also things the server name change is likely the issue.  Also I don't think you can use port 1700.

    Best Regards,
    Lisa

  • I am just trying to integrate this license with other FlexNet licenses that currently use the same server, and have been for a long time.

    According to the FlexNet Publisher Licensing Toolkit License Administration Guide 11.10, the modifications should be ok - to quote from the guide:

    License files usually begin with a SERVER line (or three lines for three-server redundant servers) followed by one or more VENDOR lines, followed by one or more FEATURE or INCREMENT lines. In some cases, the license file requires no SERVER line and no VENDOR line.

    You can modify these elements in the license file:

    • Host names on the SERVER lines
    • TCP/IP port numbers on the SERVER lines (useful for firewall support)
    • Three-server redundant configuration for a set of SERVER lines
    • Paths on the VENDOR lines
    • Options file paths on the VENDOR lines
    • Optional TCP/IP port numbers on the VENDOR lines (useful for firewall support)
    • USE_SERVER line
    • Values in keyword=value pairs on FEATURE lines, if keyword  is specified in lowercase

     

  • Hi George,

    would it be possible for you to send us the file to look at?  According to our own wiki (see part below) the primary master is actually signed/encoded ... only the back up servers are not.  It would be interesting to double check.

    Best Regards,
    Lisa

    Q: How do I setup a 3 server redundant configuration?

    When you activate your license specify the name and MAC address of the primary master server. After receiving your license file open it up in a text editor.

    Edit your license file so that the top of the file looks like this

    #Please Do not delete this comment line.

    SERVER <name of primary server> <MAC address of primary Server> PRIMARY_IS_MASTER

    SERVER <name of 2nd server> <MAC address of 2nd server>

    SERVER <name of 3rd server> <MAC address of 3rd server>

    VENDOR tidspssw USE_SERVER

    Here is an example:

    #Please Do not delete this comment line.

    SERVER server1 0000ffee1111 PRIMARY_MASTER

    SERVER server2 0000ddee1111

    SERVER server3 0000ccee1111

    VENDOR tidspssw USE_SERVER

    The server names other than the primary server are outside of the signed region of the license file so you can edit this file directly without needing TI to sign the file. It is also possible to change the MAC address associated with each server this way.

  • Lisa,

    This may be my problem as the host name in my license file is this_host, and the name of my server is uspl_print2. I tried the re-host procedure and below are the contents of the license file I received. I did not see how I would specify my host name in the re-host procedure.

    BTW: I switched the license server to use only this license file in order to eliminate interaction with the other licenses we use, but this error was still received:

    [Detecting lmgrd processes...]
    License server status: 27000@uspl-print2
        License file(s) on uspl-print2: C:\Altera_License_Server\TMDSCCS-ALLF05-v5.lic:

    uspl-print2: license server UP (MASTER) v11.10

    Vendor daemon status (on uspl-print2):

      tidspssw: 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:   192.62.143.144
    License path:  27000@uspl-print2;
    FLEXnet Licensing error:-15,10.  System Error: 10049 "WinSock: Invalid address"
    For further information, refer to the FLEXnet Licensing documentation,
    available at "www.flexerasoftware.com".

     

    Best regards,
    George

    #Please Do not delete this comment line.
    SERVER this_host 000103DEF49D
    VENDOR tidspssw
    USE_SERVER
    INCREMENT CCS_CONNECTION_ALL tidspssw 5.99 permanent 5 \
     VENDOR_STRING=USPL-PRINT2 ISSUER="Texas Instruments Inc." \
     BORROW SN=CustomFID_59679970_FB51_11E1_923E_9CE69610F9F4 \
     START=3-aug-2012 SIGN="008D A869 B720 F45E 1076 90C6 4E55 6000 \
     62D7 905F C9AD C2BC 9756 123A 660E"
    INCREMENT CCS_DEBUGGER tidspssw 5.99 permanent 5 \
     VENDOR_STRING=USPL-PRINT2 ISSUER="Texas Instruments Inc." \
     BORROW SN=CustomFID_59679970_FB51_11E1_923E_9CE69610F9F4 \
     START=3-aug-2012 SIGN="0029 8A4F 18BB 44B9 35AC FD41 41B7 EC00 \
     ABF9 641D 5D68 23E5 AD4F 891F 556C"
    INCREMENT CCS_LINKER_FULL tidspssw 5.99 permanent 5 \
     VENDOR_STRING=USPL-PRINT2 ISSUER="Texas Instruments Inc." \
     BORROW SN=CustomFID_59679970_FB51_11E1_923E_9CE69610F9F4 \
     START=3-aug-2012 SIGN="00AE 64CF 1F34 0DB4 BAB3 95CD 1835 AD00 \
     80D6 51A8 A1C9 C602 C1AD 827C 8E0B"
    INCREMENT CCS_ISA_ALL tidspssw 5.99 permanent 5 \
     VENDOR_STRING=USPL-PRINT2 ISSUER="Texas Instruments Inc." \
     BORROW SN=CustomFID_59679970_FB51_11E1_923E_9CE69610F9F4 \
     START=3-aug-2012 SIGN="0037 AE5F AB55 E25E DA0D 655E C588 9400 \
     A44B 8EF1 C2D4 6997 633A 901D 918E"

  • Hi George,

    how did you try rehosting?  DId you update CCS?  Would you be willing to send the original license file (I assume it works?) for us to look at to perhaps help continue add a redundant system?

    Best Regards,
    Lisa

  • Hi, Lisa.

    First to answer your questions:

    • How did you try rehosting? 
    • DId you update CCS? 
    • The lmtools utility was showing the license was not available, so I did not ever try with to access the license with CCS.
    • Would you be willing to send the original license file (I assume it works?) for us to look at to perhaps help continue add a redundant system?
    • That was the original license file that was in my previous post, and no, it did not work.

    However, I was able to solve my problem. It turns out that the problem was that the Microsoft® C Runtime Library (MSVCR80.DLL) was not installed on the server. the tidspssw daemon has a dependency on it, but it is not part of tidspssw.zip. Reexamining the Windows graphical license setup, the Microsoft® C Runtime Library is installed when lmadmin is installed, but when trying to install lmadmin on our server, which is running Windows 2000, the installation fails before this occurs because the lmadmin installer can't find a valid Java virtual machine to load.

    I would suggest that it be made clear that the Visual C++ SP1 Redistributable Package must be installed even if lmadmin is not installed. Perhaps it could be made a separate step before "4. Run the <lmadmin-i86_n3-11_9_0_0.exe> installer and follow the on-screen instructions: ".

    Regards,
    George

  • Hi George,

    glad to hear you found a solution.  All the best with development.

    Best Regards,
    Lisa