cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tcurbishley
Level 3

lc_flexinit failed: 2

I have installed FlexNet Publisher under openSUSE 11.2 and am running through the demos as per "Getting Started with File-based Licensing". I can start the license server administrator and connect to the web interface just fine. Yet when i try to run lmflex, it fails with:

lc_flexinit failed: 2

I've hunted around the web and around this forum, but I haven't located a similar problem. I did find out that err 2 means "Unable to load activation library". What might be wrong?
Labels (1)
0 Kudos
(2) Replies
tcurbishley
Level 3

I deleted my FlexNet Publisher installation and started from scratch, so all I have now are the files from the distribution.

lmflex produces the error "lc_flexinit failed: 2" even for the unserved case.

My DEMO_LICENSE_FILE variable is set to the platform directory, and lmdiag sees it okay. To be clear, I am *not* running the license server right now.

Below is the output from lmdiag. Has anyone seen this before?


FNP_11.11.0.0/x64_lsb> ./lmflex
lc_flexinit failed: 2
FNP_11.11.0.0/x64_lsb> ./lmdiag
lmdiag - Copyright (c) 1989-2012 Flexera Software LLC. All Rights Reserved.
FLEXnet diagnostics on Fri 12/7/2012 11:32

-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic
-----------------------------------------------------
"f4" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-199 0, expires: 01-jan-2001

This license cannot be checked out because:
Feature has expired.
Feature: f4
Expire date: 01-jan-2001
License path: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic:/opt/flexera/FNP_1 1.11.0.0/x64_lsb/expired.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic
-----------------------------------------------------
"f2" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-199 0, no expiration date


This is the correct node for this node-locked license
-----------------------------------------------------
FNP_11.11.0.0/x64_lsb> lmdiag
lmdiag: Command not found.
FNP_11.11.0.0/x64_lsb> ./lmdiag
lmdiag - Copyright (c) 1989-2012 Flexera Software LLC. All Rights Reserved.
FLEXnet diagnostics on Fri 12/7/2012 11:32

-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic
-----------------------------------------------------
"f4" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-1990, expires: 01-jan-2001

This license cannot be checked out because:
Feature has expired.
Feature: f4
Expire date: 01-jan-2001
License path: /opt/flexera/FNP_11.11.0.0/x64_lsb/counted.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/expired.lic:/opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic:
FLEXnet Licensing error:-10,32
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
-----------------------------------------------------
-----------------------------------------------------
License file: /opt/flexera/FNP_11.11.0.0/x64_lsb/uncounted.lic
-----------------------------------------------------
"f2" v1.000, vendor: demo
uncounted nodelocked license locked to NOTHING (hostid=ANY) starts: 1-jan-1990, no expiration date


This is the correct node for this node-locked license
-----------------------------------------------------
FNP_11.11.0.0/x64_lsb> ls *.lic
counted.lic expired.lic uncounted.lic
0 Kudos
tcurbishley
Level 3

The fix is to set the environment variable LD_LIBRARY_PATH to your platform directory.

See KB
Q112640: INFO: Error: lc_flexinit failed: 131072
and
Q200786: Setting up Trusted Storage on Linux and Unix

csh: setenv LD_LIBRARY_PATH /my/platform/dir

sh, bash: export LD_LIBRARY_PATH=/my/platform/dir
0 Kudos