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.

inquiry about floating license installation on Ubuntu10.04.4LTS

Hi,

I have one question about CCS floating license. We try to install a floating license server on an Ubuntu Host.

                                Ubuntu 10.04.4LTS(64bit)

                                CPU : intel E5630

 

We're refering to the below site to install to the license server.

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

 

From below messages, we can see .lic file in /opt/license_server/licenses

When lmgrd is run, there is no error message.

By the way, when ‘./lmutil lmstat –a’ is run, error message is returned. it means that .lic file isn’t found.

 

What will be problem?

 

Thanks and BR,

Devin

------------------------------------------------

 

README-swidtag-lmgrd.txt

regid.2009-06.com.flexerasoftware_91063f6d-e831-49da-b84c-8ce748795eb4.swidtag

tidspssw

root@ericssonlg:/opt/license_server/bin# cd ..

root@ericssonlg:/opt/license_server# cd licenses

root@ericssonlg:/opt/license_server/licenses# ls

TMDSCCS-ALLF10-v5.lic

root@ericssonlg:/opt/license_server/licenses# cd ..

root@ericssonlg:/opt/license_server# cd bin

root@ericssonlg:/opt/license_server/bin# ./lmgrd -c /opt/license_server/licenses -l /opt/license_ser

ver/logs/tidspssw.log

root@ericssonlg:/opt/license_server/bin# ./lmutil lmstat -a

lmutil - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.

Flexible License Manager status on Mon 5/20/2013 19:09

 

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

root@ericssonlg:/opt/license_server/bin# cd ..

root@ericssonlg:/opt/license_server# cd licenses

root@ericssonlg:/opt/license_server/licenses# ls

TMDSCCS-ALLF10-v5.lic

root@ericssonlg:/opt/license_server/licenses# /opt/license_server/bin/lmutil lmstat -a

lmutil - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.

Flexible License Manager status on Mon 5/20/2013 19:10

 

License server status: @ericssonlg.com

    License file(s) on ericssonlg.com: /usr/local/flexlm/licenses/license.dat:@ericssonlg.com:TMDSCC

S-ALLF10-v5.lic:

 

lmgrd is not running: License server machine is down or not responding. (-96,7:2 "No such file or di

rectory"

  • Hi Devin,

    did you follow the steps in our wiki?   If the file is there but not being found by the server some things to try are restarting the server, chekcing antivirus and permissions issues.

    What steps did you take? 

    Best Regards,
    Lisa

  • Hi Lisa, Thanks for you concern.

    I followed below steps from the wiki site.  On step8, there is no return messge. Is it normal?

    BR,

    Devin

    UNIX: command line setup

    The license server can be installed in a host PC with UNIX operating systems. FlexNet supports several types of UNIX systems and platforms, including all Linux releases that are LSB-compliant. However, TI daemon servers are only available for Linux and Solaris® for SPARC™. The procedure below was tested in Ubuntu 10.4 LTS 32 and 64-bits.

    The command-line setup is convenient for license servers as it allows remote management via a simple telnet or SSH terminal.

    The procedure below creates a directory structure to help keep things organized and allow multiple licenses to be used by the server.

    /opt |--> license_server |--> bin |--> licenses |--> logs 


    1. Open a terminal or console and create the directory structure below to accomodate the license server files:

    host$cd /opt
    host$sudo mkdir license_server
    host$cd ./license_server
    host$sudo mkdir bin
    host$sudo mkdir licenses
    host$sudo mkdir logs
    host$ sudo chmod 777 *
    Note: the last step is required to allow user access to the license file and the utilities.


    2. Download the license server utilities <lmutil> and <lmgrd> and save them to the directory bin created above. Be sure to download the correct version: Linux 32-bit/64-bit (LSB Certified™) for x86/x64 platform or Solaris™ 32-bit/64-bit for SPARC® 32-bit/64-bit platform.

    http://www.globes.com/support/fnp_utilities_download.htm
    Note: Depending on your Linux distribution you might need to install the packages lsb-core and lsb-base to properly run the <lmgrd> utility. Refer to your linux distribution documentation to learn how to properly install these packages.


    3. Download the TI daemon server <tidspssw> and save it to the directory bin created above: Linux:

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_ccstudio/CCSv4/tidspssw/re3/tidspssw

    Solaris:

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_ccstudio/CCSv4/tidspssw/sun_u8/tidspssw.tar.gz


    4. Go to the directory bin and extract the command-line utilities:

      • Linux 32-bit:
    host$cd bin
    host$tar xvf lmgrd_i86_lsb.tar.gz
    host$ tar xvf lmutil_i86_lsb.tar.gz
      • Linux 64-bit:
    host$cd bin
    host$tar xvf lmgrd_x64_lsb.tar.gz
    host$ tar xvf lmutil_x64_lsb.tar.gz
      • Solaris™ 32-bit:
    host$cd bin
    host$tar xvf lmgrd_x64_lsb.tar.gz
    host$tar xvf lmutil_x64_lsb.tar.gz
    host$ tar xvf tidspssw.tar.gz
      • Solaris™ 64-bit:
    host$cd bin
    host$tar xvf lmgrd_x64_lsb.tar.gz
    host$tar xvf lmutil_x64_lsb.tar.gz
    host$ tar xvf tidspssw.tar.gz


    5. The command-line utilities and the TI daemon server are supplied as read-only, therefore it is necessary to change their permissions:

    host$chmod 555 lmgrd
    host$chmod 555 lmutil
    host$ chmod 555 tidspssw


    6. Save the TI license file (extension .lic) received from the e-mail to the directory licenses created above. If already saved in your host PC, copy the file to the directory licenses.

    host$ cp <location_of_license_file>/TMDSCCS-ALLF05-v4.0.lic /opt/license_server/licenses


    7. Create an empty file in the directory logs created above that will log all license server activity

    host$ touch /opt/license_server/logs/tidspssw.log


    8. Run the license server manager <lmgrd>. It will point to the license directory and the log file created before:

    host$cd /opt/license_server/bin
    host$ ./lmgrd -c /opt/license_server/licenses -l /opt/license_server/logs/tidspssw.log


    9. To test if the license server is running and properly loaded the TI daemon <tidspssw> simply type:

    host$ ./lmutil lmstat -a
  • Hi Devin,

    what exact error do you get?  Could you send the log file.   Is the license file there?

    Best Regards,
    Lisa

  • Hi Lisa,

    The issue is that './lmutil lmstat -a' returns an error message although .lic file is located in /opt/license_server/licenses

     

    Here is the log.

    Thanks and BR,

    Devin

    =======================================================

    root@ericssonlg:/opt/license_server# cd licenses
    root@ericssonlg:/opt/license_server/licenses# ls
    TMDSCCS-ALLF05-v4.0.lic
    root@ericssonlg:/opt/license_server/licenses# /opt/license_server/bin/lmutil lmstat -a
    lmutil - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
    Flexible License Manager status on Mon 5/20/2013 16:43

    License server status: @ericssonlg.com
        License file(s) on ericssonlg.com: /usr/local/flexlm/licenses/license.dat:@ericssonlg.com:TMDSCC
    S-ALLF05-v4.0.lic:

    lmgrd is not running: License server machine is down or not responding. (-96,7:2 "No such file or di
    rectory")

  • Hi Devin,

    hmm how did you start the service?  It seems the service might not be up ... ie the problem might be with the server not vendor daemon.

    Would a webex help?   I am not sure where you are based.  Can you confirm no antivirus or permissions issues?

    Best Regards,
    Lisa