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.

Fedora 18 floating license server ethernet ports not named eth0

In the post http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/207940/751289.aspx#751289 it discusses this problem but with Fedora 15.  The problem is the license server needs the port to be eth0 but with the new fedora port naming, ports are named em1 for example.   However I have Fedora 18 and I couldn't get this solution to work.  Is there any work around for Fedora 18?

  • Jeff,

    What do you see if you run ./lmutil lmhostid

    Regards,

    John

  • Hi John,

    I haven't installed the flex license stuff yet, I'm trying to change the ethernet ports from em1 to eth0.  Dave Baldwin mentioned that you may have set up a Fedora 18 version to see if it works.  Is this true?

    Thanks,
    Jeff

  • Jeff,

    Yes I have a Fedora 18 machine that I can get access to.  The command that i ran you can get by grabbing the flex tools.  I wanted to see what it reported for your machine vs mine.  We can go step by step through the process and can make sure we get the same setup.  I haven't setup many of these but I am the lucky one with a Fedora 18 image.

    I played with this stuff once before and I may have already setup that machine to have the ports changed.

    John

  • Hi John,

    Great -- if you can post or email a list of what to do that would be great.

    Thanks,
    Jeff

     

  • Ok lets walk through this together and see if we can get it going.

    Follow step 1 here and create the directories for the license server

    http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS#UNIX:_command_line_setup

    Install some dependencies

    sudo yum install redhat-lsb.i686

    That took a little while for me, as there were a bunch of other packages needed.

    Now lets get the license utilities

    Follow step 2 here: http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS#UNIX:_command_line_setup

    I downloaded lmadim, lmgrd and lmutil.

    I extracted lmutil and lmgrd into the /opt/license_server/bin directory

    open a terminal in /opt/license_server/bin

    run ./lmutil lmhostid

    What does it show?  i.e. for me I get something that says The FlexNet host ID of this machine is ""<id1> <id2>""  where id1 and id2 are host IDs of my network adapters.

  • Jeff,

    I just installed CCS 5.4 and the Flexara floating license server under F18 here and they worked fine - not one problem with the CCS GUI or license server.

    --Randy

  • I am thinking that maybe the latest version of the lm tools handles the naming ok since I get a valid host ID returned when I run lmutil

  • Hi John,

    When I run lmulti lmhostid I get:

    -bash: ./lmutil: /lib64/ld-lsb-x86-64.so.3: bad ELF interpreter: No such file or directory

    This seems like I don't have a package installed that I need.  Note that when I tried to install redhat-lsb.i686 it said that there was no such package.  FYI my Fedora version 18 is for 64-bit.

    Jeff

     

  • Hold on, I tried redhat-lsb and it seems to have found the package.  Installing now.

  • OK, now when I run lmutil lmhostid I get:

    lmutil - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
    The FlexNet host ID of this machine is ""24be05e23d5e 24be05e23d5f""
    Only use ONE from the list of hostids.

    These are indeed the 2 mac addresses of my ethernet cards.  The names are em1 and em2 so even though they're not eth0 and eth1 it's found them -- so maybe as you suggested the flex tools now don't need eth0?

     

  • I think you are good to go now.  Flexera must have finally gotten around to supporting the new naming.

  • Getting closer . . .

    I continued the instructions and ran:

    ./lmgrd -c /opt/license_server/licenses -l /opt/license_server/logs/tidspssw.log

    But when I run ./lmutil lmstat -a, I get:

    lmutil - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
    Flexible License Manager status on Thu 5/30/2013 15:57

    Error getting status: Cannot find license file. (-1,359:2 "No such file or directory")

    But my TMDSCCS-ALLF03-v5.lic is in the /opt/license_server/licenses directory.

    The log file says:

    5:57:30 (lmgrd) -----------------------------------------------
    15:57:30 (lmgrd)   Please Note:
    15:57:30 (lmgrd)
    15:57:30 (lmgrd)   This log is intended for debug purposes only.
    15:57:30 (lmgrd)   In order to capture accurate license
    15:57:30 (lmgrd)   usage data into an organized repository,
    15:57:30 (lmgrd)   please enable report logging. Use Flexera Software LLC's
    15:57:30 (lmgrd)   software license administration  solution,
    15:57:30 (lmgrd)   FlexNet Manager, to  readily gain visibility
    15:57:30 (lmgrd)   into license usage data and to create
    15:57:30 (lmgrd)   insightful reports on critical information like
    15:57:30 (lmgrd)   license availability and usage. FlexNet Manager
    15:57:30 (lmgrd)   can be fully automated to run these reports on
    15:57:30 (lmgrd)   schedule and can be used to track license
    15:57:30 (lmgrd)   servers and usage across a heterogeneous
    15:57:30 (lmgrd)   network of servers including Windows NT, Linux
    15:57:30 (lmgrd)   and UNIX. Contact Flexera Software LLC at
    15:57:30 (lmgrd)   www.flexerasoftware.com for more details on how to
    15:57:30 (lmgrd)   obtain an evaluation copy of FlexNet Manager
    15:57:30 (lmgrd)   for your enterprise.
    15:57:30 (lmgrd)
    15:57:30 (lmgrd) -----------------------------------------------
    15:57:30 (lmgrd)
    15:57:30 (lmgrd)
    15:57:30 (lmgrd) Unknown host: pittsburgh2
    15:57:30 (lmgrd) EXITING DUE TO SIGNAL 33 Exit reason 1

     

     

  • I didn't activate the license myself, a colleague did.  When the license is activated, do you have to put in the host name as well as the mac address?  I looked in the license file and it says:  However, the name of the server is actually pittsburgh2.  So I'm wondering if that's what the problem is?

    #Please Do not delete this comment line.
    SERVER this_host 24be05e23d5f
    VENDOR tidspssw
    USE_SERVER
    INCREMENT CCS_CONNECTION_ALL tidspssw 5.99 permanent 3 \
            VENDOR_STRING="Pittsburgh Linux" ISSUER="Texas Instruments \
            Inc." BORROW SN=CustomFID_ACF29DF0_AB79_11E2_B812_CDCC2408F32E \
            START=5-apr-2013 SIGN="004A 43E8 F4ED A1FE AE5F 229B B438 0B00 \
            B08E 054D 21D8 EC84 EFB6 B00E 85A9"
    INCREMENT CCS_DEBUGGER tidspssw 5.99 permanent 3 \
            VENDOR_STRING="Pittsburgh Linux" ISSUER="Texas Instruments \
            Inc." BORROW SN=CustomFID_ACF29DF0_AB79_11E2_B812_CDCC2408F32E \
            START=5-apr-2013 SIGN="00D7 FCDA EAA6 87F1 3578 0E57 F293 5D00 \
            D862 46B0 9D05 4C87 3AB9 839A 5DD1"
    INCREMENT CCS_LINKER_FULL tidspssw 5.99 permanent 3 \
            VENDOR_STRING="Pittsburgh Linux" ISSUER="Texas Instruments \
            Inc." BORROW SN=CustomFID_ACF29DF0_AB79_11E2_B812_CDCC2408F32E \
            START=5-apr-2013 SIGN="0046 C3F3 5C4A BE2D CED2 2FBD 6815 9400 \
            6763 E7C6 77DF D75E C147 FDDE 89CD"
    INCREMENT CCS_ISA_ALL tidspssw 5.99 permanent 3 \
            VENDOR_STRING="Pittsburgh Linux" ISSUER="Texas Instruments \
            Inc." BORROW SN=CustomFID_ACF29DF0_AB79_11E2_B812_CDCC2408F32E \
            START=5-apr-2013 SIGN="0032 FB7C 1598 3313 8201 3830 70DA F000 \
            BFC6 5A8A 3284 847B 85B3 C7CE A2FD"

  • Usually that SERVER line has the hostname and then the id beside it and then with in the content of the license it would have VENDOR_STRING=hostname

    If you can send me the license file, you can start a private conversation with me by clicking on my name, I can then update the file manually and sign it and send it back to you.

    John

  • Hi John,

    I think I sent you the file -- did you get it ok?

    Thanks,
    Jeff

     

  • We managed to resolve offline so I am going to close off this thread.