cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
10,439 Views
Registered: ‎07-08-2014

Unable to view Activation Base License in VLM

Jump to solution

I have been running certificate based license successfully for years.  I'm now having a problem with getting activation based licensing working on Linux RHEL5 x86_64.

 

I followed the instructions here:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_1/ug973-vivado-release-notes-install-license.pdf
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_2/ug973-vivado-release-notes-install-license.pdf

 

Yes I was able to run install_fnp.sh and I was able to create the necessary request.xml and obtain the activation based response which was then loaded into the activation storage.  However VLM shows no activation based licenses (empty grey box) even though they do exist.

 

lmgrd log shows:

(xilinxd) Unable to initialize access to trusted storage: 2

 

Yes, I have followed another solution on this forum but it did not resolve the problem.  There are no DAEMON lines in the license file and xilinxd and xilinxd_libFNP.so are in my LD_LIBRARY_PATH and PATH.  I'm using the latest version of lmgrd and xilinxd:

14:27:22 (lmgrd) FlexNet Licensing (v11.11.0.0 build 106800 x64_lsb) started on machine (linux) (7/8/2014)
14:28:16 (xilinxd) FlexNet Licensing version v11.11.0.0 build 106800 x64_lsb

# xlicsrvrmgr -v
Viewing server trusted storage.

U if untrusted
. D if disabled
. . fulfillmentType
. . . Expiry   Count FulfillmentId                   ProductId

. . 6 permanent    1 211######                       20#######
. . 6 permanent    1 211######                       20#######

Viewed 2 of 2 fulfillment records.
# xlicsrvrmgr -v "format=long"
Viewing server trusted storage.
-------------------------------------------------------------------------------
        Fulfillment Id : 21#######
      Fulfillment Type : 6 Publisher Activation
           Trust Flags : 0x7 Fully Trusted
                Status : Enabled
        Entitlement Id : 21#######
            Product Id : 20#######
       Expiration Date : permanent
          Server chain : Server1
       Feature Line(s) :
INCREMENT Vivado_Design_Edition xilinxd 2015.07 permanent 1 \

#######
COMPONENTS="SDK Simulation Implementation Analyzer Synthesis" \
OPTIONS=SUITE


            Concurrent : 0
           Activatable : 0
                Hybrid : 1
  Concurrent overdraft : 0
 Activatable overdraft : 0
      Hybrid overdraft : 0
                Repair : 0
-------------------------------------------------------------------------------
        Fulfillment Id : 21#######
      Fulfillment Type : 6 Publisher Activation
           Trust Flags : 0x7 Fully Trusted
                Status : Enabled
        Entitlement Id :
            Product Id : 20#######
       Expiration Date : permanent
          Server chain : Server1
       Feature Line(s) :
INCREMENT Embedded_SDK xilinxd 2015.07 permanent 1 ####### \
#######
PACKAGE Embedded_SDK xilinxd 2015.07 ####### COMPONENTS=SDK \
OPTIONS=SUITE


            Concurrent : 0
           Activatable : 0
                Hybrid : 1
  Concurrent overdraft : 0
 Activatable overdraft : 0
      Hybrid overdraft : 0
                Repair : 0

Viewed 2 of 2 fulfillment records.

 

The root of the problem appears to be that xilinxd can not see the trusted storage.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
15,505 Views
Registered: ‎07-08-2014

Re: Unable to view Activation Base License in VLM

Jump to solution

I was able to resolve the problem by adding the following to my init script:

export LD_LIBRARY_PATH=/file/path

View solution in original post

0 Kudos
9 Replies
Highlighted
Xilinx Employee
Xilinx Employee
10,413 Views
Registered: ‎07-16-2008

Re: Unable to view Activation Base License in VLM

Jump to solution

I presume you've already taken a look at the following AR.

http://www.xilinx.com/support/answers/60650.html

 

How did you start lmgrd? Can you post the lmgrd log file?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
10,405 Views
Registered: ‎07-08-2014

Re: Unable to view Activation Base License in VLM

Jump to solution

That is correct I have reviewed AR 60650

 

I start it with a script as an unpriviledged user called flexlm.  You will find other debug info below:

 

flexlm   10375     1  0 15:06 ?        00:00:00 /usr/local/flexlm/serverD/lmgrd -c /usr/local/flexlm/licenses -l +/usr/local/flexlm/logs/flexlm_license.log
flexlm   10384 10375  0 15:07 ?        00:00:00 xilinxd -T machinename 11.11 23 -c /usr/local/flexlm/licenses -daemon_port 270e --lmgrd_start 5xxxxxx



22:13:32 (lmgrd) -----------------------------------------------
22:13:32 (lmgrd)   Please Note:
22:13:32 (lmgrd)
22:13:32 (lmgrd)   This log is intended for debug purposes only.
22:13:32 (lmgrd)   In order to capture accurate license
22:13:32 (lmgrd)   usage data into an organized repository,
22:13:32 (lmgrd)   please enable report logging. Use Flexera Software LLC's
22:13:32 (lmgrd)   software license administration  solution,
22:13:32 (lmgrd)   FlexNet Manager, to  readily gain visibility
22:13:32 (lmgrd)   into license usage data and to create
22:13:32 (lmgrd)   insightful reports on critical information like
22:13:32 (lmgrd)   license availability and usage. FlexNet Manager
22:13:32 (lmgrd)   can be fully automated to run these reports on
22:13:32 (lmgrd)   schedule and can be used to track license
22:13:32 (lmgrd)   servers and usage across a heterogeneous
22:13:32 (lmgrd)   network of servers including Windows NT, Linux
22:13:32 (lmgrd)   and UNIX. Contact Flexera Software LLC at
22:13:32 (lmgrd)   www.flexerasoftware.com for more details on how to
22:13:32 (lmgrd)   obtain an evaluation copy of FlexNet Manager
22:13:32 (lmgrd)   for your enterprise.
22:13:32 (lmgrd)
22:13:32 (lmgrd) -----------------------------------------------
22:13:32 (lmgrd)
22:13:32 (lmgrd)
22:13:32 (lmgrd) FlexNet Licensing (v11.11.0.0 build 106800 x64_lsb) started on machinename (linux) (7/8/2014)
22:13:32 (lmgrd) Copyright (c) 1988-2012 Flexera Software LLC. All Rights Reserved.
22:13:32 (lmgrd) World Wide Web:  http://www.flexerasoftware.com
22:13:32 (lmgrd) License file(s): /usr/local/flexlm/licenses/Xilinx.lic
22:13:32 (lmgrd) lmgrd tcp-port 9999
22:13:32 (lmgrd) Starting vendor daemons ...
22:13:32 (lmgrd) Using vendor daemon port 9998 specified in license file
22:13:32 (lmgrd) Started xilinxd (internet tcp_port 9998 pid 11298)
22:13:32 (xilinxd) Unable to initialize access to trusted storage: 2
22:13:32 (xilinxd) FlexNet Licensing version v11.11.0.0 build 106800 x64_lsb
22:13:32 (xilinxd) Server started on galaxy4 for:
22:13:32 (xilinxd) ISE_Embedded_Edition (consisting of:         ChipscopePro
22:13:32 (xilinxd) ChipScopePro_SIOTK ISE               ISIM
22:13:32 (xilinxd) PlanAhead    SDK             XPS)
22:13:32 (xilinxd) Embedded_Edition (consisting of:             ChipscopePro
22:13:32 (xilinxd) ChipScopePro_SIOTK ISE               ISIM
22:13:32 (xilinxd) PlanAhead    Simulation      Implementation
22:13:32 (xilinxd) Analyzer     Synthesis       SDK
22:13:32 (xilinxd) XPS)
22:13:32 (xilinxd) Embedded_Edition (consisting of:             ChipscopePro
22:13:32 (xilinxd) ChipScopePro_SIOTK ISE               ISIM
22:13:32 (xilinxd) PlanAhead    Simulation      Implementation
22:13:32 (xilinxd) Analyzer     Synthesis       SDK
22:13:32 (xilinxd) XPS)
22:13:32 (xilinxd) Logic_Edition (consisting of:                ChipscopePro
22:13:32 (xilinxd) ChipScopePro_SIOTK ISE               ISIM
22:13:32 (xilinxd) PlanAhead    XC7Z010         XC7Z020
22:13:32 (xilinxd) XC7Z030              XC7Z045         Simulation
22:13:32 (xilinxd) Implementation       Analyzer        Synthesis
22:13:32 (xilinxd) xps_tdp)
22:13:32 (xilinxd) ISE_Foundation (consisting of:               ISE
22:13:32 (xilinxd) PlanAhead)   aurora_8b10b    aurora_8b10b
22:13:32 (xilinxd) aurora_8b10b_v4 aurora               aurora
22:13:32 (xilinxd) aurora_v3    aurora_v2       ChipscopePro
22:13:32 (xilinxd) IPIntegrator_EA
22:13:32 (xilinxd) EXTERNAL FILTERS are OFF
22:13:32 (lmgrd) xilinxd using TCP-port 9998
22:19:37 (xilinxd) UNSUPPORTED: "vlm_check" (PORT_AT_HOST_PLUS   ) root@machinename  (License server sy
stem does not support this feature. (-18,327))
22:20:33 (xilinxd) UNSUPPORTED: "vlm_check" (PORT_AT_HOST_PLUS   ) root@machinename  (License server sy
stem does not support this feature. (-18,327))

 

 

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

 

[root@machinename lnx64.o]# ./install_fnp.sh
Installing anchor service from ./FNPLicensingService to /usr/local/share/FNP/service64/11.11.0

Checking system for trusted storage area...
Configuring for Linux, Trusted Storage path /usr/local/share/macrovision/storage...
/usr/local/share/macrovision/storage already exists...
Setting permissions on /usr/local/share/macrovision/storage...
Permissions set...


Checking system for Replicated Anchor area...
Configuring Replicated Anchor area...
Creating Replicated Anchor area...
Setting permissions on Replicated Anchor area...
Replicated Anchor area permissions set...
Configuring Temporary area...
Temporary area already exists...
Setting permissions on Temporary area...
Temporary area permissions set...
Configuration completed successfully.

 

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

 

ll /usr/local/share/FNP/service64/11.11.0
total 592
-rwsr-xr-x 1 root root 594872 Jul  8 22:27 FNPLicensingService

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

 

ll /usr/local/share/macrovision/storage/FLEXnet/
total 88
-rw-rw-rw- 1 root root 10277 Jul  8 13:51 xilinxd_00992300_tsf.data
-rw-rw-rw- 1 root root 10277 Jul  8 13:51 xilinxd_00992300_tsf.data_backup.001
-rw-rw-rw- 1 root root 21357 Jul  8 12:17 xilinxd_80992300_tsf.data
-rw-rw-rw- 1 root root 21357 Jul  8 12:17 xilinxd_80992300_tsf.data_backup.001

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

 

head /usr/local/flexlm/licenses/Xilinx.lic
#
SERVER machinename MACREMOVED 9999
#
USE_SERVER
#
VENDOR xilinxd /usr/local/flexlm/serverD/xilinxd PORT=9998
#

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

 

[root@machinename serverD]# su - flexlm
[flexlm@machinename ~]$ env
HOSTNAME=machinename
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
USER=flexlm
LD_LIBRARY_PATH=/usr/local/flexlm/serverD
XILINXD_LICENSE_FILE=9999@machinename
MAIL=/var/spool/mail/flexlm
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/flexlm:/usr/local/flexlm/serverD:/home/flexlm/bin
LM_LICENSE_FILE=9999@machinename

[flexlm@machinename ~]$ ls -la /usr/local/flexlm/serverD
total 49156
drwxr-xr-x 3 root root     4096 Jul  8 11:26 .
drwxr-xr-x 7 root root     4096 Jul  8 11:17 ..
-rwxr-xr-x 1 root root   594872 Jul  8 11:26 FNPLicensingService
-rwxr-xr-x 1 root root     4697 Jul  8 11:26 install_fnp.sh
-rwxr-xr-x 1 root root  2145976 Jul  8 11:26 librdi_curl.so
-rwxr-xr-x 1 root root 10807172 Jul  8 11:26 libXLicClientMgrFNP.so
-rwxr-xr-x 1 root root 10809140 Jul  8 11:26 libXLicSrvrMgrFNP.so
-rwxr-xr-x 1 root root  1419368 Jul  8 11:26 lmgrd
-rwxr-xr-x 1 root root  1497416 Jul  8 11:26 lmutil
drwxr-xr-x 4 root root     4096 Jul  7 15:02 xilinx
-rwxr-xr-x 1 root root  1949008 Jul  8 09:55 xilinxd
-rwxr-xr-x 1 root root 10805552 Jul  8 11:26 xilinxd_libFNP.so
-rwxr-xr-x 1 root root  1671219 Jul  8 11:26 xlicclientmgr
-rwxr-xr-x 1 root root  1671219 Jul  8 11:26 xlicsrvrmgr

 

Let me know if there is anything else you'd like me to try.

0 Kudos
Highlighted
Moderator
Moderator
10,401 Views
Registered: ‎03-27-2012

Re: Unable to view Activation Base License in VLM

Jump to solution

Hi,

 

From the lmgrd log it seems the server has been started.

 

Sean

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
10,397 Views
Registered: ‎07-08-2014

Re: Unable to view Activation Base License in VLM

Jump to solution

Yes the server has been started but is only serving certificate based licenses not activation based certificates.

 

The problem appears to be related to my startup script after further review.  Possibly something related to needing a login shell for the daemon when invoking the command.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
10,395 Views
Registered: ‎04-16-2012

Re: Unable to view Activation Base License in VLM

Jump to solution

Hi,

 

Check this answer record for possible causes of not serving activation based licenses: http://www.xilinx.com/support/answers/60650.html

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Highlighted
Moderator
Moderator
10,385 Views
Registered: ‎03-27-2012

Re: Unable to view Activation Base License in VLM

Jump to solution

Please try run the lmgrd command with root privilege.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
15,506 Views
Registered: ‎07-08-2014

Re: Unable to view Activation Base License in VLM

Jump to solution

I was able to resolve the problem by adding the following to my init script:

export LD_LIBRARY_PATH=/file/path

View solution in original post

0 Kudos
Highlighted
Participant
Participant
10,209 Views
Registered: ‎12-13-2009

Re: Unable to view Activation Base License in VLM

Jump to solution

@holtgrefe wrote:

I was able to resolve the problem by adding the following to my init script:

export LD_LIBRARY_PATH=/file/path


Hi, holtgrefe,

 

Right now it seems I has the same issue as you. Can you specify your exact solution about this issue? Which "/file/path" exactly you used for export?

 

Thanks, I appreciate it.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
10,203 Views
Registered: ‎04-16-2012

Re: Unable to view Activation Base License in VLM

Jump to solution
Hi,

"/file/path" indicates location of xilinxd. i.e.,
if "xilinxd" was present in the location "/home/jimaandd/xilinx" then you have to export LD_LIBRARY_PATH=/home/jimaandd/xlinx

Thanks,
Vinay
--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos