• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » Winsock error from tidspssw
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Winsock error from tidspssw

    Winsock error from tidspssw

    This question is answered
    George Reasoner
    Posted by George Reasoner
    on Aug 03 2012 16:14 PM
    Prodigy60 points

    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".

    CCS licensing
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Aug 04 2012 08:08 AM
      Guru99985 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • George Reasoner
      Posted by George Reasoner
      on Aug 06 2012 09:03 AM
      Prodigy60 points

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 07 2012 09:35 AM
      Guru99985 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • George Reasoner
      Posted by George Reasoner
      on Aug 07 2012 12:23 PM
      Prodigy60 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 07 2012 12:52 PM
      Guru99985 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 07 2012 14:33 PM
      Guru99985 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • George Reasoner
      Posted by George Reasoner
      on Aug 07 2012 15:35 PM
      Prodigy60 points

      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

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 07 2012 15:50 PM
      Guru99985 points

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • George Reasoner
      Posted by George Reasoner
      on Sep 10 2012 09:23 AM
      Prodigy60 points

      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"

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Sep 11 2012 08:37 AM
      Guru99985 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • George Reasoner
      Posted by George Reasoner
      on Sep 11 2012 11:58 AM
      Verified Answer
      Verified by Lisa TI
      Prodigy60 points

      Hi, Lisa.

      First to answer your questions:

      • How did you try rehosting? 
      • I followed the instructions on http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS for Re-hosting the floating license.
      • 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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Sep 12 2012 09:22 AM
      Guru99985 points

      Hi George,

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

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use